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

Suppress ValueError in apply_source_workaround #11092

Merged
merged 3 commits into from Jan 5, 2023

Conversation

AA-Turner
Copy link
Member

cc @gaborbernat

Does this fix your issue?

A

@@ -152,7 +153,8 @@ def apply_source_workaround(node: Element) -> None:

# workaround: literal_block under bullet list (#4913)
if isinstance(node, nodes.literal_block) and node.source is None:
node.source = get_node_source(node)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does 👍

@AA-Turner AA-Turner changed the base branch from master to 6.1.x January 5, 2023 16:44
@AA-Turner AA-Turner merged commit 476c115 into sphinx-doc:6.1.x Jan 5, 2023
@AA-Turner AA-Turner deleted the node-source branch January 5, 2023 16:56
@martinvonk martinvonk mentioned this pull request Jan 5, 2023
4 tasks
@gaborbernat
Copy link
Contributor

Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants