Documentation Resources
A list of links to relevant resources used by our sphinx configuration.
Relevant Sphinx Docs
-
Used extensively to automatically introspect the API documentation.
-
Used to automatically generate stubs for the API documentation for all modules except labscript-devices.
-
Used to generate cross references between repositories. The cross-reference syntax is described better here.
-
Used in labscript-devices to generate stubs for the NI-DAQmx models subclasses.
Syntax Cheatsheets
-
Shows a built project that uses many rst and sphinx features. Go to the associated github repo to see the source that produces it.
Google-style Docstring Example
Example that contains most of the syntax necessary to write docstrings.
Note
You must follow this syntax for correctly formatted docstrings.
-
Cheatsheet for RST directives, with a focus on use with Sphinx.
-
Authoritative summary reference for full RST sytanx.