Documenting Quickstart¶
This is a short how-to for writing documentation in EVerest. Please refer to the Documentation README for build instructions for the documentation.
To get more detailed information, see Documenting EVerest.
Decide which type of documentation you want to create:
If you are not familiar with the Diátaxis way of organizing documentation, read the subsection Structure of the Documentation.
If you cannot clearly decide which category your contribution belongs to, consider splitting it up to align with the Diátaxis philosophy.
Decide where to place the documentation
Module documentation goes into the modules
docsdirectory. Provide at least an index.rst file in this directory.If you want to document some partial aspects of your code (like a specific algorithm you use), you can add a section in the
README.mdclose to the source code. That could for example be in thelib/everest/...directory of the everest-core repository or in the corresponding GitHub repository if the code is not part of everest-core.For documentation that is required to understand an important part or concept of EVerest, place the new documentation in a proper location in the
docsdirectory of the EVerest main repository.When in doubt, use the EVerest main repository.
Create an issue (in case of bigger documentation changes).
Consider to create a documentation issue inside of the everest-core GitHub repository you just have chosen. Describe the most important aspects of the topic to be documented.
Create a Git branch like
docs/name-of-topicin the EVerest main repository.Put a note in the issue to inform the community that you start working on new documentation to solve that issue.
Create the documentation.
You can use existing
.rstfiles as template for creating new documentation pages. See this page for getting an idea how to use reStructuredText: https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.htmlAlso have a look at our best practices page for using Sphinx in EVerest.
Create pull request (PR).
After having finished your work, create a PR and set a reference to the originating issue (if existing). The maintainers of the repository will get informed automatically. Alternatively, you can try to find people who have the required knowledge in and also have the time to review your PR. You might find them via Zulip or the working groups.