Skip to content
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

docs: add sphinx documentation #290

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

leo-desbureaux-tellae
Copy link
Contributor

@leo-desbureaux-tellae leo-desbureaux-tellae commented Dec 5, 2024

A new documentation website built using Sphinx

How to generate the documentation locally

  • Install the docs requirements in sphinx_doc/doc_requirements.txt

  • Build the html documentation

# in the sphinx_doc folder
make html
  • Open the generated html in sphinx_doc/_build/html/ (homepage is index.html)

The build is not reactive, you have to call make html again after a modification. You can look at sphinx-autobuild if it bothers you.

If you see a part of the page not updating correctly (like the main sections on top), you can delete the _build folder to force re-rendering all pages.

How to write documentation pages

Pages can be written in either Markdown or reStructuredText.

We use the MyST parser extension in order to read Markdown pages.

I recommend that you mainly refer to the Sphinx/reStructuredText documentation when looking at what is possible to do, then we see if we can make it work with Markdown files. Otherwise we write it in reStructuredText.

Inspiring documentations

Non exhaustive list of nice websites built using Sphinx, if you search inspiration about what can be done and how to organize the pages:

Related issues

Close #277

@leo-desbureaux-tellae leo-desbureaux-tellae marked this pull request as draft December 5, 2024 12:48
@leo-desbureaux-tellae
Copy link
Contributor Author

leo-desbureaux-tellae commented Dec 5, 2024

For now, I mainly moved the existing docs to the new Sphinx docs, while adding some things:

  • Created a homepage
  • Split the main pages in several sub-pages, as Sphinx is meant to be used
  • Added a Miscellaneous page with link to roadmap, changelog, license pages

These changes are drafts to test what could be relevant for the website, any feedback is really welcome (keep in mind that Sphinx is highly customizable, so we can do many things).

What I have in mind for the next changes:

  • Add some visuals (a logo ? the image from eqasim.org ? change the font of the title ?)
  • Fix the buttons layout (top-right)
  • Rename the main pages without the Ile-de-France mention
  • Create config pages that detail the special configs (Bhepop2, etc) ? In order to have more space to describe the config options
  • Add missing texts (audience, roadmap, contacts (see eqasim.org) ?)
  • Add a contributors page with the organizations logos. Try integrating the dynamic map of @Nitnelav ? (if you have the code I can give it a try)

@sebhoerl @Nitnelav if you want we can do a call and browse the website, so you can tell me what pages you think would be nice to have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move documentation to new website
1 participant