-
-
Notifications
You must be signed in to change notification settings - Fork 153
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 options to generate docs with sidebar, navbar and coverpage #104
base: master
Are you sure you want to change the base?
Conversation
Optionally include sidebar when creating new docs
Optionally include navbar when creating new docs
Optionally include coverpage when creating new docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you for your contribution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is better to prompt the user to choose between the templates he/she intends to have.
What template? |
When I create documentations with docsify, I like to include the coverpage, sidebar and navbar features to take advantage of these amazing resources. So, I decided to automate this process creating options to the
init
command to include these templates.So, you can include coverpage, for example, using this command
docsify init ./ --coverpage # or short docsify init ./ -c
CHANGES
lib/cli.js
lib/commands/init.js
docs/README.md
tools/locale/en.json
_coverpage.md
,_sidebar.md
, and_navbar.md
files tolib/template
I hope that helps docsify users.