Documenting
OpenSlice's documentation runs on MkDocs.
Eligibility
Documenting OpenSlice is limited to active contributors. So, if you:
- are an active member or participant;
- wish to contribute to it;
- you're ready!
System and Structure
MkDocs is a fast and simple static site generator that's geared towards building project documentation. Documentation source files are written in Markdown
, and configured with a single YAML
configuration file. Start by reading the introductory tutorial, then check the User Guide for more information.
Getting Started
To contribute to OpenSlice's documentation, you need to follow these easy steps:
1) Clone the Documentation repository with:
2) Checkout the develop branch (incoming contributions are only accepted to the develop branch):
3) Setup a local mkdocs
server with a virtual environment:
4) Wait for all downloads to finish and start the local mkdocs
server:
5) Document! 😊
You should always make sure that the local MkDocs server terminal is not producing any
INFO
/WARNING
messages regarding your contributions.
Add Documentation During Development
To update the documentation properly during development, follow those additional steps:
- Create an issue on the documentation GitLab repository;
- Create a new branch with the develop branch as a source;
- Update the documentation and any relevant parts (ie: the
index.md
with new functionalities for the latest version); - Check if errors are not being produced by
mkdocs
locally; - Commit and push changes to the new branch;
- Create a MR request towards develop;
- Send the request for review and approval to at least one TSC Member.
The documentation website supports branches, so your accepted changes will be reflected to the develop branch which then becomes the release branch after each corresponding cycle.
Learn more
If you wish to learn more about the documentation system, check this link.