Open noname77 opened 1 year ago
@noname77 Thank you for using this extension. Sure, I want to resolve this issue, but it's tough to reproduce with the information you wrote.
Could you please provide the following details?
pip list
is helpful.extensions
in conf.pydepart_table
method.Thanks for a quick response,
extensions in conf.py
extensions = [
"myst_parser",
"breathe",
"sphinx_csharp",
"sphinxcontrib.pdfembed",
"sphinxcontrib.video",
"sphinx.ext.extlinks"
]
I can't share the full file, but here are some table examples that seem to be causing this error:
After I removed all tables in the project, the error is gone and your extension works as expected :)
let me know if I can provide some further debug info
thanks, wiktor
Thank you for the detail information.
After I removed all tables in the project, the error is gone and your extension works as expected :)
Sounds great!
I tried using the same versions of the libraries, but IndexError
is not reproduced.
Please let me know if you notice anything about the following procedure.
It seems like there's no link in the example table. Could it be an issue with sphinx-new-tab-link?
pip install docutils==0.17.1 Sphinx==4.5.0 sphinx-new-tab-link==0.2.0 myst-parser==0.18.1 breathe==4.35.0 \
git+https://github.com/rogerbarton/sphinx-csharp.git \
git+https://github.com/SuperKogito/sphinxcontrib-pdfembed.git \
sphinxcontrib-video==0.0.1.dev3
% sphinx-quickstart --sep \
-p issue10 \
-a nikkie \
-l en \
-r ''
.
├── build/
├── source/
│ ├── _static/
│ ├── _templates/
│ ├── conf.py
│ └── index.rst
├── Makefile
└── make.bat
source/conf.py
extensions = [
"myst_parser",
"breathe",
"sphinx_csharp",
"sphinxcontrib.pdfembed",
"sphinxcontrib.video",
"sphinx.ext.extlinks",
"sphinx_new_tab_link", # Added
]
source/index.rst
.. toctree::
:maxdepth: 2
:caption: Contents:
issue.md
source/issue.md -> https://gist.githubusercontent.com/ftnext/a6d9ef18b76d736144af29f3ff35320c/raw/2dfe495b2894101caeedc7c973af85fcecf205f8/issue.md
Run make html
, it passes (strangely)
build/html/issue.html -> https://gist.github.com/ftnext/41410306c92b1ec2def0c3b3a2d74df7
Hey, I just tried this extension and when enabling it im getting the following error:
Could it be due to using it with
myst_parser
extension and the links / documents being in markdown format?best, wiktor