-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Fix undeclared labels after refactor + fix root causes #10059
Docs: Fix undeclared labels after refactor + fix root causes #10059
Conversation
# The default setting for intersphinx_disabled_reftypes can cause some pretty bad | ||
# breakage because we have rtd and rtd-dev stable versions in our mappings. | ||
# Hence, if we refactor labels, we won't see broken references, since the | ||
# currently active stable mapping keeps resolving. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 comment.
@@ -19,7 +19,7 @@ and then click on :guilabel:`Traffic Analytics`. | |||
|
|||
Traffic analytics demo | |||
|
|||
You can also access to analytics data from :ref:`search results <server-side-search/index:Search Analytics>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kinda like the refs because they hoverxref. Should we standardize on using them instead of :doc:
? We should probably just fix readthedocs/sphinx-hoverxref#18
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kinda like the refs because they hoverxref.
This is true. I would say that we should add actual labels to headlines so we can freely change headlines and not have to update references as a result (that adds more work to a simple headline improvement).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should defer to readthedocs/sphinx-hoverxref#18 because of the widespread use and need of :doc:
. But would be great to fix this.
📚 Documentation previews 📚
docs
): https://docs--10059.org.readthedocs.build/en/10059/dev
): https://dev--10059.org.readthedocs.build/en/10059/