-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a static site generated from the docs folder #76
base: master
Are you sure you want to change the base?
Conversation
Hey, looks cool. Thanks. What's the drill when the docs go out of date? To clarify, suppose I update the layout and CSS, however later want to regenerate the docs part of the site, is there a way to just update the markdown and not the layout? |
To clarify how it works.. The So.. whenever you edit something inside the Easystatic converts all the This layout is based on Material Design Lite (MDL), which is a great CSS framework developed by Google engineers with lots of stars/downloads and extensive documentation. Let me know if you need more help with the site. |
Just have added GitHub stats into the header. See the screenshot above. |
Nice! 👍 |
Create a home page for this project that is generated from
*.md
files inside the/docs
folder.How to proceed with it:
npm install -g easystatic
- installs Easystatic site generator, optimized for GH Pages sitesnpm run docs
- generates a static site from*.md
files in thedocs
folder and launches it in a browser with "live reload" enabled (via Browsersync)docs/assets/*.*
. The current layout is based on MDL.docs/assets/main.ejs
(layout file)cash.js.org
domain for your repo by sending a PR herenpm run docs:deploy
- pushes the generated static site togh-pages
branchP.S.: I created this utility for my own OSS projects and though it might be helpful for you as well.