I've got a Jupyter notebook in percent format that I'd like to add the nbsphinx orphan property to. Is this possible?
So far, I've tried:
- Editing the metadata in the UI and saving (doesn't update the script)
- Saving it as a .ipynb, editing the metadata, and converting back with
jupytext --to py:percent
(doesn't keep the metadata) - Manually adding a YAML header as described in the format link, as follows:
# ---
# nbsphinx:
# orphan: true
# ---
None of these seemed to work, in that sphinx is still generating a "WARNING: document isn't included in any toctree".