Skip to content

fix(sphinxdocs): do not crash when tag_class does not have doc #2585

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

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Jan 26, 2025

It seems that there was a typo in the code and instead of calling
self._write we were calling self.write. It went unnoticed because of
lack of coverage. This adds test code exercising the edge case and fixes
the typo.

Fixes #2579

It seems that there was a typo in the code and instead of calling
`self._write` we were calling `self.write`. It went unnoticed because of
lack of coverage. This adds test code exercising the edge case and fixes
the typo.

Fixes bazel-contrib#2579
@aignas aignas requested a review from rickeylev as a code owner January 26, 2025 07:36
@rickeylev rickeylev added this pull request to the merge queue Jan 26, 2025
Merged via the queue into bazel-contrib:main with commit 0475c9e Jan 26, 2025
4 checks passed
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.

sphinxdocs: missing tag_class doc attribute crashes the doc generation
2 participants