neovim/pynvim

docs (readthedocs) CI is failing

justinmk opened this issue · 4 comments

The docs build https://readthedocs.org/projects/pynvim/builds/ is failing since 260a0b9 . That commit triggered the build, but its code changes may be unrelated, instead we may need to update some dependencies/configuration: https://github.com/search?q=repo%3Aneovim%2Fpynvim+Sphinx&type=code

https://readthedocs.org/projects/pynvim/builds/22217681/

python -m sphinx -T -E -W --keep-going -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html
Running Sphinx v7.2.6
making output directory... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pynvim/envs/latest/lib/python3.11/site-packages/sphinx/cmd/build.py", line 293, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/pynvim/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 272, in __init__
    self._init_builder()
  File "/home/docs/checkouts/readthedocs.org/user_builds/pynvim/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 342, in _init_builder
    self.builder.init()
  File "/home/docs/checkouts/readthedocs.org/user_builds/pynvim/envs/latest/lib/python3.11/site-packages/sphinx/builders/html/__init__.py", line 219, in init
    self.init_templates()
  File "/home/docs/checkouts/readthedocs.org/user_builds/pynvim/envs/latest/lib/python3.11/site-packages/sphinx/builders/html/__init__.py", line 270, in init_templates
    self.theme = theme_factory.create(themename)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/pynvim/envs/latest/lib/python3.11/site-packages/sphinx/theming.py", line 230, in create
    raise ThemeError(__('no theme named %r found (missing theme.conf?)') % name)
sphinx.errors.ThemeError: no theme named 'sphinx_rtd_theme' found (missing theme.conf?)

Theme error:
no theme named 'sphinx_rtd_theme' found (missing theme.conf?)

@justinmk I can't really test because my fork doesn't have the actual action set up that would publis hto readthedocs, but this might fix the issue: wookayin@06e9073. Not sending a PR because I'm not 100% certain about it.

@wookayin a PR would be appreciated, I'm ok with just merging stuff to try to fix readthedocs, since I don't know a better workflow for it.

Boom -- https://readthedocs.org/projects/pynvim/builds/22812828/ failed :P I'll give another try much later by setting up some repo.... thanks for trying though

Yay, thanks!