Observation
Mentioning https://github.com/orgs/eclipse-score/projects in rst files, or linking to it, results in an IndexError
e.g.
Multiple GitHub projects are defined at https://github.com/orgs/eclipse-score/projects
Analysis
|
if parts[0] == "orgs" and "/projects" in path: |
has a check for "/projects" which - is true.
But there is no part[3] as there is no / after projects. So this results in an index out of bounds:
|
text = f"{parts[1]}/projects#{parts[3]}" |
Workaround:
add an extra slash:
Multiple GitHub projects are defined at https://github.com/orgs/eclipse-score/projects/
Observation
Mentioning
https://github.com/orgs/eclipse-score/projectsin rst files, or linking to it, results in an IndexErrore.g.
Analysis
pydata-sphinx-theme/src/pydata_sphinx_theme/short_link.py
Line 85 in a892bfa
But there is no part[3] as there is no
/after projects. So this results in an index out of bounds:pydata-sphinx-theme/src/pydata_sphinx_theme/short_link.py
Line 88 in a892bfa
Workaround:
add an extra slash: