Open jabraham17 opened 1 year ago
Would this work OK with the way we are embedding the internal module docs into the spec?
Yes, this should work even when docs are embedded
A note from the sphinx docs
Changed in version 7.2:
...
The directive option :noindexentry: was renamed to :no-index-entry:.
...
Sphinx 3.2 added support for
:noindexentry:
, which is similar to:noindex:
except that it allows cross-referencing using:ref:`...`
.We currently use
:noindex:
to prevent the internal modules from appearing in the index, but that prevents us from referencing them. So doing:mod:`owned <OwnedObject>`
will fail since there is no entry forOwnedObject
. But in this case, if we used:noindexentry:
, we could use the cross-reference.