Documentation for the web#
This section collects guidelines and examples for writing MolSysViewer’s web documentation with MyST and Sphinx. It is aimed at contributors who edit the User Guide, Showcase, Cookbook, and developer documentation.
Use
myst.ipynbto see concrete examples of MyST admonitions and how to structure tutorial notebooks.Use
editorial_guidelines.mdas the source of truth for file types, section roles, and the HTML lite workflow.Use
build_and_layout.mdwhen you need to change the docs build or layout conventions.If you execute docs notebooks to freeze outputs, use
docs/execute_notebooks.py. It strips ipywidgets/AnyWidget state by default. Tag a cell withkeep-widget-stateonly if you need to preserve a widget-based output.Use
references.mdas the reference for cross-links between pages and API objects (labels,{ref},{func},{class}, etc.).