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

documentation updates don't show up on readthedocs #289

Closed
sildater opened this issue Jul 5, 2023 · 5 comments · Fixed by #290
Closed

documentation updates don't show up on readthedocs #289

sildater opened this issue Jul 5, 2023 · 5 comments · Fixed by #290
Assignees
Labels
bug Something isn't working

Comments

@sildater
Copy link
Member

sildater commented Jul 5, 2023

documentation changes seem to be missing on readthedocs. compare the new (v1.3.0) Additional Resources content in the intro partitura\docs\source\introduction.rst to the read the docs intro

@manoskary
Copy link
Member

Nice Catch, it looks like the compilation of Read The Docs failed for a couple of previous versions.

@manoskary
Copy link
Member

I found the issue. Error log:

/home/docs/checkouts/readthedocs.org/user_builds/partitura/checkouts/v1.2.2/docs/source/Tutorial/notebook.ipynb:: WARNING: Pygments lexer name 'ipython3' is not known

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/partitura/envs/v1.2.2/lib/python3.8/site-packages/sphinx/builders/html/__init__.py", line 1093, in handle_page
    output = self.templates.render(templatename, ctx)
  File "/home/docs/checkouts/readthedocs.org/user_builds/partitura/envs/v1.2.2/lib/python3.8/site-packages/readthedocs_ext/readthedocs.py", line 185, in rtd_render
    content = old_render(template, render_context)
  File "/home/docs/checkouts/readthedocs.org/user_builds/partitura/envs/v1.2.2/lib/python3.8/site-packages/sphinx/jinja2glue.py", line 196, in render
    return self.environment.get_template(template).render(context)
  File "/home/docs/checkouts/readthedocs.org/user_builds/partitura/envs/v1.2.2/lib/python3.8/site-packages/jinja2/environment.py", line 1291, in render
    self.environment.handle_exception()
  File "/home/docs/checkouts/readthedocs.org/user_builds/partitura/envs/v1.2.2/lib/python3.8/site-packages/jinja2/environment.py", line 925, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/home/docs/checkouts/readthedocs.org/user_builds/partitura/envs/v1.2.2/lib/python3.8/site-packages/sphinx/themes/basic/page.html", line 10, in top-level template code
    {%- extends "layout.html" %}
  File "/home/docs/checkouts/readthedocs.org/user_builds/partitura/envs/v1.2.2/lib/python3.8/site-packages/sphinx_rtd_theme/layout.html", line 67, in top-level template code
    <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
jinja2.exceptions.UndefinedError: 'style' is undefined

Probably the compilation of the docs compatible with the newest nbsphinx version. I will try to fix it by setting it to a previous one.

@sildater
Copy link
Member Author

sildater commented Jul 7, 2023

I think the documentation is still on version 1.1.1

@manoskary
Copy link
Member

No, I can see that it is showing 1.3.1 compiled.

@sildater
Copy link
Member Author

sildater commented Jul 7, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants