All Projects → scriptex → github-pages-vuepress

scriptex / github-pages-vuepress

Licence: MIT license
Build a static website using VuePress and deploy to Github Pages

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to github-pages-vuepress

Actions Gh Pages
GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
Stars: ✭ 2,576 (+12780%)
Mutual labels:  static-site-generator, github-pages, vuepress
startbootstrap-stylish-portfolio-jekyll
Jekyll theme based on Stylish Portfolio Bootstrap theme
Stars: ✭ 20 (+0%)
Mutual labels:  static-site-generator, github-pages
Beautiful Jekyll
✨ Build a beautiful and simple website in literally minutes. Demo at https://beautifuljekyll.com
Stars: ✭ 3,778 (+18790%)
Mutual labels:  static-site-generator, github-pages
Wowchemy Hugo Modules
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, build with widgets! 创建在线课程,学术简历或初创网站。
Stars: ✭ 6,093 (+30365%)
Mutual labels:  static-site-generator, github-pages
Jekyll Rtd Theme
Just another documentation theme compatible with GitHub Pages
Stars: ✭ 92 (+360%)
Mutual labels:  static-site-generator, github-pages
acblog
An open source extensible static & dynamic blog system. (an alternative tool with same features at StardustDL/paperead)
Stars: ✭ 60 (+200%)
Mutual labels:  static-site-generator, github-pages
Vuepress
📝 Minimalistic Vue-powered static site generator
Stars: ✭ 19,730 (+98550%)
Mutual labels:  static-site-generator, vuepress
eryajf.github.io
📝 大千世界,何其茫茫。谨此笔记,记录过往。凭君阅览,小站洛荒。如能收益,莫大奢望
Stars: ✭ 159 (+695%)
Mutual labels:  github-pages, vuepress
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+1075%)
Mutual labels:  static-site-generator, github-pages
wowchemy-hugo-themes
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, easily build with blocks! 创建在线课程,学术简历或初创网站。#OpenScience
Stars: ✭ 6,891 (+34355%)
Mutual labels:  static-site-generator, github-pages
md-site-reader
a very lightweight markdown docs site reader
Stars: ✭ 16 (-20%)
Mutual labels:  static-site-generator, github-pages
wasp
A Static Site Generator written in Crystal.
Stars: ✭ 20 (+0%)
Mutual labels:  static-site-generator
godot-ci
Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
Stars: ✭ 316 (+1480%)
Mutual labels:  github-pages
jekyll-rdf
📃 A Jekyll plugin to include RDF data in your static site or build a complete site for your RDF graph
Stars: ✭ 46 (+130%)
Mutual labels:  static-site-generator
vuepress-theme-canvas
✏️ Vuepress custom theme for blogging.
Stars: ✭ 24 (+20%)
Mutual labels:  vuepress
rocket
The modern web setup for static sites with a sprinkle of JavaScript
Stars: ✭ 169 (+745%)
Mutual labels:  static-site-generator
kerouac
Poetic static site generator for Node.js.
Stars: ✭ 80 (+300%)
Mutual labels:  static-site-generator
jigsaw-docs-template
Starter template for a documentation site, using Jigsaw by Tighten
Stars: ✭ 39 (+95%)
Mutual labels:  static-site-generator
oliverbenns.com
oliverbenns.com
Stars: ✭ 51 (+155%)
Mutual labels:  static-site-generator
kblog
⚡ My Blog · 3 KB · Single Page · Material Design
Stars: ✭ 79 (+295%)
Mutual labels:  github-pages

GitHub issues GitHub last commit Build Status Analytics

VuePress Github Pages

Use VuePress to built a static website and deploy on Github Pages.

Start

Make sure that you have NodeJS and NPM or Yarn installed.

Start by forking or downloading this repository. If downloaded, extract the contents of the archive in a folder and navigate to that folder in your preferred terminal. Then:

Install

npm install

or

yarn

Develop

npm run start

or

yarn start

Build

npm run build

or

yarn build

Details

The README.md file in the root serves the purpose of index.html file.

If you wish to create new pages, you can do so by adding new .md files in the root.

If you wish to use a more complicated files/folders structure, make sure that you read and follow the official docs or just checkout how I did it in the demo branch

VuePress builds your static website in the /docs folder which is set to be used by Github Pages in the repository settings.

Important

You can control the base dir of your site in the .vuepress/config.js file's base property.

Demo

See this page served via Gitlab Pages on https://scriptex.js.org/github-pages-vuepress/

Bonus: Theming

Vuepress uses Stylus. It comes with default theme which can be easily overwritten. Just place your styles in the .vuepress/styles folder.

Here are the default theme colors. Variables should go in the palette.styl file:

$accentColor = #3eaf7c
$textColor = #2c3e50
$borderColor = #eaecef
$codeBgColor = #282c34

Here are the colors and settings for a Material Light theme:

Variables should go in the palette.styl file:

$accentColor = #009688
$textColor = #212121
$borderColor = #bdbdbd
$codeBgColor = #333
$bgColor = #fff

The rest of the styles should go in the index.styl file:

html,
body,
.navbar,
.sidebar,
.theme-container .navbar,
.theme-container .sidebar
	background-color $bgColor

.theme-container .search-box input
	color $codeBgColor

.theme-container .search-box .suggestion a
	color $accentColor

.theme-container .content code
	color $bgColor
	background-color $codeBgColor

Here are the color for a Material Dark theme (used in my personal website):

/* .vuepress/styles/palette.styl */
$accentColor = #ef4c23
$textColor = #fff
$borderColor = #bdbdbd
$codeBgColor = #000
$bgColor = #263238

/* .vuepress/styles/index.styl */
html,
body,
.navbar,
.sidebar,
.theme-container .navbar,
.theme-container .sidebar
	background-color $bgColor

.theme-container .search-box input
	color: $codeBgColor

.theme-container .search-box .suggestion a
	color: $accentColor

.theme-container .content code
	background-color $codeBgColor

Support this project

Tweet Donate Become a Patron

LICENSE

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].