ansys / ansys-sphinx-theme

PyData-based Sphinx theme from the PyAnsys community
https://sphinxdocs.ansys.com
MIT License
23 stars 8 forks source link

Bug located in ansys/doc-build@v8 #579

Open da1910 opened 4 days ago

da1910 commented 4 days ago

πŸ” Before submitting the issue

🐞 Description of the bug

Our CI fails when upgrading the sphinx theme to 1.2.0 with the following error:

Extension error (ansys_sphinx_theme.search.fuse_search): Handler <function create_search_index at 0x7f82c7d3a4d0> for event 'build-finished' threw an exception (exception: list index out of range) make: *** [Makefile:19: html] Error 2

πŸ“ Steps to reproduce

https://github.com/ansys/grantami-bomanalytics/actions/runs/11619612949/job/32359611095?pr=640

Build the documentation for grantami-bomanalytics with Ansys sphinx theme 1.2.0

πŸ’» Which operating system are you using?

Linux

πŸ“€ Which ANSYS version are you using?

n/a

🐍 Which Python version are you using?

3.10

πŸ“¦ Installed packages

Installing dependencies from lock file

Package operations: 118 installs, 1 update, 0 removals

Installing the current project: ansys-grantami-bomanalytics (2.2.0dev0) Run source .venv/bin/activate Installing dependencies from lock file

Package operations: 47 installs, 0 updates, 0 removals

(CI run so cannot run pip freeze)

RobPasMue commented 1 day ago

Transferring to ansys-sphinx-theme..? If not, we can move it back. Can you confirm whether the local build works?