Skip to content

docsify docker basic structure to create fast and usable documentation

Notifications You must be signed in to change notification settings

zioDocker/docsify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docsify

Docsify docker basic structure to create fast and usable documentation.

Docsify is a useful nodejs tool that transform markdown files into html automatically, giving you the opportunity to write easily markdown files that can be read in a website.

How read/write documentation

  • spin up the container for the documentation with docker-compose up --build -d
  • go on http://localhost:3000 and read the documentation in your local browser
  • add your document in markdown format inside the folder src

Important to know

  • If you create a new folder, the root document of the folder must be a readme.md file
  • All configurations to the website must be done inside the file src/index.html following docsify documentation
  • reload the page in your browser to see changes
  • you can link every document to each other using relative path.
  • If you want to add a left navigation menu, add a file _sidebar.md to the folder
  • If you want to add a navigation on top, just add an entry in the nav tag inside src/index.html
  • add this variable {docsify-updated} on top of your markdown page to display the last update of the file