Skip to content

Conversation

@manivardhanreddythalla2007

Summary

This PR adds support for Sphinx tags (.. only:: tagname) in Read the Docs builds.

Implementation

  • Detects tags defined in conf.py
  • Automatically adds them as -t tagname to the Sphinx command
  • Ensures .. only:: directives render correctly

Example usage

# conf.py
tags.add('footag')

@stsewd
Copy link
Member

stsewd commented Oct 28, 2025

We won't be adding this feature (please open an issue for feature requests). Also, not sure if it was done on purpose or not, but this basically adds a backdoor.

@stsewd stsewd closed this Oct 28, 2025
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