Closed alexandreroutier closed 4 years ago
This was OK for me.
I think that if we want to add to a readme or a contribution guide, we might just need to a mention of how to run it locally. Sure it is in the MKDOCS doc but having the command just in our readme directly might save some people the trouble. Or might contributors aware that viewing things locally is even a possibility: not sure everyone knows that. :-)
This was OK for me.
I think that if we want to add to a readme or a contribution guide, we might just need to a mention of how to run it locally. Sure it is in the MKDOCS doc but having the command just in our readme directly might save some people the trouble. Or might contributors aware that viewing things locally is even a possibility: not sure everyone knows that. :-)
Just saw that you have put the mkdocs serve
in your example... :-)
MKdocs (https://www.mkdocs.org/) ables to generate static wiki from Markdown files. The default theme is not very lovely but people developed a great theme called Material with a set of predefined colors: https://squidfunk.github.io/mkdocs-material/ (play with Primary colors section)
(For an overview of themes, see e.g. https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
How to install mkdocs with Material theme?
How do I generate a Wiki from my markdown file(s) ?
See Getting Started for details.
MKdocs needs a YAML file to understand which files be on the Wiki and following which hierarchy. MKdocs expects 2 minimum things:
docs
(can be changed usingdocs_dir
value)index.md
Assuming the following files:
The resulting configuration file will look like:
Examples
BIDS
Wiki: https://bids-specification.readthedocs.io/ Source: https://github.com/bids-standard/bids-specification
An example of wiki project with Clinica:
Wiki: http://www.clinica.run/doc/ Source: