Skip to content

Skip line if no match against inventory line regex#3100

Merged
ChrisLovering merged 1 commit into
mainfrom
jb3/doc-parser/ignore-bad-lines
Jun 21, 2024
Merged

Skip line if no match against inventory line regex#3100
ChrisLovering merged 1 commit into
mainfrom
jb3/doc-parser/ignore-bad-lines

Conversation

@jb3
Copy link
Copy Markdown
Member

@jb3 jb3 commented Jun 21, 2024

We currently have an issue on bot (BOT-3VH on Sentry) which is failing to parse
the sympy docs due to a malformed object inventory.

This looks to be caused by multi-line figure descriptions or something similar
which are creating lines that do not match our regex.

Ignoring these lines is fine as they likely provide no additional context
anyway, and the relevant symbol is still parsed as normal and links to the
original docs.

@sentry
Copy link
Copy Markdown

sentry Bot commented Jun 21, 2024

Sentry Issue: BOT-3VH

Copy link
Copy Markdown
Member

@mbaruh mbaruh left a comment

Choose a reason for hiding this comment

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

Legend

@ChrisLovering
Copy link
Copy Markdown
Member

/merge

@ChrisLovering ChrisLovering merged commit 7ba415f into main Jun 21, 2024
@ChrisLovering ChrisLovering deleted the jb3/doc-parser/ignore-bad-lines branch June 21, 2024 15:50
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.

3 participants