Bedrock Documentation Site
Here's a screenshot of what the static site looks like:
Check out this blog post for more information on how to build static websites using NodeJS and Metalsmith.
- Writing using Github Flavored Markdown
- Using Handlebars layout
- Automatic table-of-contents and navigation based on headings
- Syntax Highlighting
- One-line deploy to Github Pages
Installation and Building
git clone email@example.com:tilomitra/bedrock-docs.git npm install node build.js
This will set up a browser-sync environment, where all your changes will automatically reload and rebuild the static site.
To deploy to Github Pages:
npm run deploy --prod
This will push everything in the
build/ directory to the
gh-pages branch of whatever your
origin remote is.