-
Notifications
You must be signed in to change notification settings - Fork 2
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
IndexError: pop from empty list #10
Comments
@noname77 Thank you for using this extension. Could you please provide the following details?
|
Thanks for a quick response,
python -m pip list$ python -m pip list
Package Version
----------------------------- ----------
accessible-pygments 0.0.4
alabaster 0.7.13
appdirs 1.4.4
attrs 23.1.0
Babel 2.12.1
beautifulsoup4 4.12.2
black 22.12.0
breathe 4.35.0
cattrs 23.1.2
certifi 2023.7.22
charset-normalizer 3.2.0
click 8.1.7
colorama 0.4.6
commonmark 0.9.1
docutils 0.17.1
esbonio 0.16.1
exceptiongroup 1.1.3
idna 3.4
imagesize 1.4.1
Jinja2 3.1.2
lsprotocol 2023.0.0a3
markdown-it-py 2.2.0
MarkupSafe 2.1.3
mdit-py-plugins 0.3.5
mdurl 0.1.2
mypy-extensions 1.0.0
myst-parser 0.18.1
packaging 23.1
pathspec 0.11.2
pbr 5.11.1
pip 23.2.1
platformdirs 3.11.0
pydantic 1.10.12
pydata-sphinx-theme 0.13.0rc6
pygls 1.0.2
Pygments 2.16.1
pyspellchecker 0.7.2
PyYAML 6.0.1
requests 2.31.0
rich 12.6.0
rstcheck 6.1.2
rstcheck-core 1.0.3
setuptools 59.6.0
shellingham 1.5.3
snowballstemmer 2.2.0
soupsieve 2.5
Sphinx 4.5.0
sphinx-csharp 0.1.13
sphinx-new-tab-link 0.2.0
sphinx-panels 0.6.0
sphinxcontrib-applehelp 1.0.4
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 2.0.1
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-pdfembed 0.1
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.5
sphinxcontrib-video 0.0.1.dev3
tomli 2.0.1
typeguard 3.0.2
typer 0.7.0
types-docutils 0.19.1.9
typing_extensions 4.7.1
urllib3 2.0.4
wheel 0.37.1
extensions = [
"myst_parser",
"breathe",
"sphinx_csharp",
"sphinxcontrib.pdfembed",
"sphinxcontrib.video",
"sphinx.ext.extlinks"
]
table examples| LLLLLLLL | DDDDDDDDDDD |
|------------------------|-------------------------------------------------------------------------|
| `CCCC` | Lorem ipsum, lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum. |
| `AAAAAAAA` | Lorem ipsum, lorem ipsum lorem ipsum lore. |
| `BBBBBBB` | Lorem ipsum, lorem ipsum lorem ipsum lor. |
| `BBBBBBB/CCCCCCCCC` | Lorem ipsum, lorem ipsum lo. |
| `BBBBBBBSSSSSSSSS` | Lorem ipsum, lorem ipsum lo. |
| `DDDDDD` | Lorem ipsum, lorem ipsum lorem ipsum . |
| `DDDDDD/CCCCCCCCCCC` | Lorem ipsum, lorem ipsum l. |
| `DDDDDD/CCCCCCCCCCCCC` | Lorem ipsum, lorem ipsum lore. |
| `DDDDDD/FFFFFFFF` | Lorem ipsum, lorem ip. |
| `DDDDDD/PPPPPPPPPPP` | Lorem ipsum, lorem ipsum lorem ipsum lorem i. |
| `DDDDDD/SSSSSSSS` | Lorem ipsum, lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum. |
| `LLLLLLL` | Lorem ipsum, lorem ipsum lorem. |
| `NNNNNNHHHHHHHH` | Lorem ipsum, lorem ipsum lorem ipsum lorem i. |
| `PPPPPPPPPPP` | Lorem ipsum, lorem ipsu. |
| `UUUUU` | Lorem ipsum, lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lo. | ```{eval-rst}
+-----------------------------+-----------------------+-----------------------+
| **MMMMM NNNNNN** | **SSSSSSSS RRRRRRRR** | **FFFFFFFF RRRRRRRR** |
+-----------------------------+-----------------------+-----------------------+
| AA0000 (AAA0-A / BBBBB) | 0.0 | 0.0.0 |
+ + +-----------------------+
| | | 0.0.0 |
+ + +-----------------------+
| | | 0.0.0 |
+-----------------------------+-----------------------+-----------------------+
| BBBBBBBBBCCCCCCCC | 0.0.00 | 0.0.0 |
+ (BBBBB CCCCC) +-----------------------+-----------------------+
| | 0.0.00 | 0.0.0 |
+ + +-----------------------+
| | | 0.0.0 |
+ + +-----------------------+
| | | 0.0.0 |
+ + +-----------------------+
| | | 0.0.0 |
+-----------------------------+-----------------------+-----------------------+
``` | EEEEEE | PPPP | FFFF NNNN | FFFF FFFFFF | NNNNN |
|----------------------|---------------------|----------------------------------------|------------------------------------------------------------------------------------------|-------|
| AAAA | LLLL | BBBBBBBBBBB_\<TTTTTTTTT>.BBB | Lorem ipsum lorem ipsum lorem ipsum lorem ips | |
| AAAAAAAAA BBBBBBBB | FFFFFFFF | AAAAAAAAAAAAAAAAA.BBB | Lorem ipsum lorem ipsu: \<lorem>,\<loremipsum>,\<loremips> | |
| CCCC DDDDDDD | FFFFFFFF | SSSSSSSSSSS.BBB | Lorem ipsum lorem ipsu: \<loremi>,\<lorem>,\<loremipsum>,\<loremips> | |
| EEEEEEEE FFFFFF | FFFFFFFF | \<FFFFF>~\<VVVVVVVVVV>~\<FFFFFFFF>.BBB | Lorem ipsum lorem ipsum lorem ip | |
| OOOOOO SSSSSSSS | SSSSSSSSSSS | SSSSSSS_\<SSSSSSS_SS>_\<FFFFFFFFF>.BBB | Lorem ipsum lorem ipsuml | |
| OOOOOOO SSSSSSSS | OOOOOOO | SSSSSSS_\<SSSSSSS_SS>_\<FFFFFFFFF>.BBB | Lorem ipsum lorem ipsuml | |
| PPPPPPPP SSSSSSSSSSS | PPPPPPPCCCCCCCCCCCC | CCCCCCCCCCCCCCC.BBB | Loremips lorem ipsum l: \<loremi>;\<loremipsuml-lore-ipsu>;\<loremips-loremipsumlo-remi> | |
| FFFFFFF FFFFF | - (AAA BBBB) | BBBBBBBBBBBBBBBB.BBBB | AAAA BBBB | | ```{list-table}
:align: center
:class: table-some-class
* - ```{figure} ../../../../static/fig1.png
:alt: Fig. 1
```
- ```{figure} ../../../../static/fig2.png
:alt: Fig. 2
```
``` ```{eval-rst}
+------------+----------------------------------------------------------------+
| **BBBB** | **FFFFFFFF / VVVVV** |
+------------+----------------------------------------------------------------+
| **00-00** | lorem ipsumlorem **'AAAAA'**, lorem ipsum lorem ipsumlor |
| | lorem i (a.b. 00) |
+------------+----------------------------------------------------------------+
| **00-00** | 0 lorem ipsum lorem ipsum lorem ipsum lorem i (a.b. 0.0.0) |
+------------+----------------------------------------------------------------+
| **00-00** | 0 lorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem ipsumm |
| | (a.b. 0.0) |
+------------+----------------------------------------------------------------+
| **00-00** | 0 lorem ipsumlorem ipsum lore (00 00 lorem ipsumlorem ips) |
+------------+----------------------------------------------------------------+
| **00-00** | 0 lorem ipsumlorem 'loremips' lorem ipsum lorem ipsum lorem |
| | ipsum lor |
+------------+----------------------------------------------------------------+
| **00-00** | 0 lorem ipsumlorem ipsumlorem ipsumlorem ip (lorem ips) |
+------------+----------------------------------------------------------------+
| **00-00** | 0 lorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem |
| | (lorem ips) |
+------------+----------------------------------------------------------------+
| **00-00** | 0 lorem ipsum lorem (lorem ipsum l) |
+------------+----------------------------------------------------------------+
| **00-00** | Lorem ipsum lorem ipsum lorem ipsum lorem ipsum lo |
+------------+----------------------------------------------------------------+
``` ```{eval-rst}
+---------------------+-------------------------------------------------------+
| **AAAA** | **FFFFFFFF / VVVVV** |
+---------------------+-------------------------------------------------------+
| **0-0** | AAAAAA (bbbbb ccccc - 0x00 0x00 0x00 0x00) |
+---------------------+-------------------------------------------------------+
| **0-0** | Lorem ipsum lorem ipsu |
+---------------------+-------------------------------------------------------+
| **\*** | +-----------+--------------------------------------+ |
| | | **AAAA** | **FFFFFFFF / VVVVV** | |
| | +-----------+--------------------------------------+ |
| | | **0** | Lorem ipsum lorem ipsum l | |
| | +-----------+--------------------------------------+ |
| | | **0** | Lorem ipsum lorem (0-0) | |
| | +-----------+--------------------------------------+ |
+---------------------+-------------------------------------------------------+
``` 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, |
Thank you for the detail information.
Sounds great! I tried using the same versions of the libraries, but It seems like there's no link in the example table. Environment
Environment detail
Quickstart
Use sphinx-new-tab-linksource/conf.py
source/index.rst
source/issue.md Run build/html/issue.html |
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
The text was updated successfully, but these errors were encountered: