Major documentation sections should roughly map onto major sphinx extensions
See original GitHub issueContext
Currently we have different aspects of our documentation intermingled with one another, and grouped in very high-level categories (like “content” and “interactivity” etc). However, we might be able to define a more natural grouping of content and make it more maintainable if we followed a similar proposal as:
Proposal
We should explore having top-level documentation sections map on to major extensions in Jupyter Book. Probably the three most obvious ones are something like:
- MyST Parser (e.g.
Content with MyST
) - MyST NB (e.g.,
Notebooks and execution
) - Sphinx Book Theme (e.g.,
Layout and theming
)
This might also be a good way to learn where we should move functionality from one package to another (e.g., the “launch button” functionality might make more sense in myst-nb
instead of the book theme.
Tasks and updates
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Extensions - Sphinx documentation
This chapter describes the extensions bundled with Sphinx. For the API documentation on writing your own extension, refer to Developing extensions for ...
Read more >Write Beautiful Python Documentation with Sphinx
Sphinx is an amazing tool for writing beautiful documentation. Originally created for the documentation of the Python programming language, ...
Read more >Getting Started - MyST-Parser - Read the Docs
Any content file can be read into the Sphinx document structure, ... The most important functionality available with MyST markdown is writing directives....
Read more >TUTORIAL / Mariatta / Writing Documentation with Sphinx and ...
The success of Python and open source libraries is not separable from the availability of good documentation. Reading documentation is one ...
Read more >Sphinx 2.3.2-beta reference manual
main query (see Section 12.1.12, “sql_query”) is executed and the rows it ... to on-disk format, the disk chunks will be approximately rt_mem_limit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not to distract too much from the original issue (really like the idea of trying to clarify the various dependencies/components and simplify docs navigation)! But:
I think this is a great idea! I’ve run into this a number of times, most recently with learning about the connection between myst-nb and jupyterbook. The JB docs here https://jupyterbook.org/en/stable/file-types/myst-notebooks.html point to https://myst-nb.readthedocs.io/en/latest/index.html. But JB pins myst-nb to <0.14 https://github.com/executablebooks/jupyter-book/blob/efc954744b9be62fa24ceed1ba34f9ed0b8108d0/pyproject.toml#L36
The ‘latest’ myst-nb release is now 0.16 with seemingly a lot of new functionality 😦 So if explicit dependency pins are being used just changing links to the versioned docs would be helpful! (https://myst-nb.readthedocs.io/en/v0.13.2)
To clarify, I’m only proposing linking to the Executable Books projects (e.g. MystNB). These can have a landing page for JB if neccessary, and would focus on usage e.g. syntax. Where we don’t have the ability to do this, e.g.
sphinxcontrib-bibtex
, we would link to our own maintained (internal) sections within JB.Certainly this is a phenomenon too, and that’s the nature of move fast and break things! Though if we link to the versioned documentation from Jupyter Book, I think it’d be harder to accidentally find new syntax.