Test your Sphinx knowledge with a free interactive quiz — 19 questions with answers and explanations. No signup needed to play.
Question 1/5Score 0
What is the purpose of the `toctree` directive in a Sphinx document?
Questions in this quiz
What is the purpose of the `toctree` directive in a Sphinx document?
What is a common reason a documentation team might specifically choose Sphinx over a simpler static-site generator for API reference documentation?
What does `sphinx-build` (or the common `make html` wrapper) actually do?
What is `conf.py` in a Sphinx project?
What documentation convention/style do docstrings typically need to follow for Sphinx's `napoleon` extension to parse them correctly?
What is the purpose of the `nitpicky` (`-n` flag / `nitpicky = True` in conf.py) build option in Sphinx?
What is the significance of Sphinx supporting Markdown source files (via the `MyST-Parser` extension) in addition to its traditional reStructuredText format?
What themes does Sphinx support, and what does changing the theme actually affect?
What is the purpose of Sphinx's `autodoc` extension?
What is the purpose of the `.. code-block:: python` directive in a reST document?
What does `sphinx-apidoc` do, as distinct from the `autodoc` extension itself?
What is reStructuredText (reST), and what is its relationship to Sphinx?