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

Fix documentation #23

Closed
kerkelae opened this issue Jan 15, 2024 · 0 comments
Closed

Fix documentation #23

kerkelae opened this issue Jan 15, 2024 · 0 comments

Comments

@kerkelae
Copy link
Owner

Running Sphinx v7.2.6
making output directory... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/pygments/styles/__init__.py", line 45, in get_style_by_name
    mod = __import__(mod, None, None, [cls])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pygments.styles.stata'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/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/disimpy/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/disimpy/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/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/builders/html/__init__.py", line 220, in init
    self.init_highlighter()
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/builders/html/__init__.py", line 283, in init_highlighter
    self.highlighter = PygmentsBridge('html', style)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/highlighting.py", line 99, in __init__
    style = self.get_style(stylename)
            ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/sphinx/highlighting.py", line 116, in get_style
    return get_style_by_name(stylename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/pygments/styles/__init__.py", line 47, in get_style_by_name
    raise ClassNotFound("Could not find style module %r" % mod +
pygments.util.ClassNotFound: Could not find style module 'pygments.styles.stata'.

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/disimpy/envs/latest/lib/python3.11/site-packages/pygments/styles/__init__.py", line 47, in get_style_by_name
    raise ClassNotFound("Could not find style module %r" % mod +
pygments.util.ClassNotFound: Could not find style module 'pygments.styles.stata'.
The full traceback has been saved in /tmp/sphinx-err-upzt0duf.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!```
@kerkelae kerkelae closed this as completed Feb 6, 2024
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

No branches or pull requests

1 participant