Skip to content
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

Upgrade documentation to the pydata_sphinx_theme #2031

Merged
merged 5 commits into from
Jan 31, 2025
Merged

Conversation

kif
Copy link
Member

@kif kif commented Jan 11, 2024

close #2017

@kif
Copy link
Member Author

kif commented Jan 31, 2025

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/sphinx/events.py", line 97, in emit
    results.append(listener.handler(self.app, *args))
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/pydata_sphinx_theme/__init__.py", line 192, in update_and_remove_templates
    context[section] = utils._update_and_remove_templates(
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/pydata_sphinx_theme/utils.py", line 146, in _update_and_remove_templates
    rendered = app.builder.templates.render(template, ctx)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/sphinx/jinja2glue.py", line 200, in render
    return self.environment.get_template(template).render(context)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/jinja2/environment.py", line 1016, in get_template
    return self._load_template(name, globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/jinja2/environment.py", line 975, in _load_template
    template = self.loader.load(self, name, self.make_globals(globals))
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/jinja2/loaders.py", line 126, in load
    source, filename, uptodate = self.get_source(environment, name)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/sphinx/jinja2glue.py", line 222, in get_source
    raise TemplateNotFound(msg)
jinja2.exceptions.TemplateNotFound: 'version.html' not found in ['/home/docs/checkouts/readthedocs.org/user_builds/pyfai/checkouts/2031/doc/source/_templates', '/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/pydata_sphinx_theme/theme/pydata_sphinx_theme/components', '/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/pydata_sphinx_theme/theme/pydata_sphinx_theme', '/home/docs/checkouts/readthedocs.org/user_builds/pyfai/envs/2031/lib/python3.9/site-packages/sphinx/themes/basic']

The above exception was the direct cause of the following exception:

@kif kif merged commit f0c4223 into silx-kit:main Jan 31, 2025
8 of 9 checks passed
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.

Move to pydata sphinx theme
1 participant