Skip to content
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

Merged

Conversation

benjaoming
Copy link
Contributor

@benjaoming benjaoming commented Feb 22, 2023

  • conf.py update so it doesn't happen again
  • Fix 33 unresolved labels
  • Add documentation about this issue

📚 Documentation previews 📚

@benjaoming benjaoming requested a review from a team as a code owner February 22, 2023 10:59
docs/conf.py Show resolved Hide resolved
# 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.
Copy link
Member

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>`.
Copy link
Member

@ericholscher ericholscher Feb 22, 2023

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

Copy link
Contributor Author

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).

Copy link
Contributor Author

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.

docs/user/automation-rules.rst Show resolved Hide resolved
@benjaoming benjaoming merged commit c0c3f02 into readthedocs:main Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants