openownership / data-standard-sphinx-theme

Documentation theme for the Beneficial Ownership Data Standard.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Custom pygments style #85

Open rhiaro opened 7 months ago

rhiaro commented 7 months ago

After upgrading to Pygments 2.17.2 the following error occurs when trying to build the docs from the data-standard repo:

Exception occurred:
  File "/home/work/.local/lib/python3.9/site-packages/pygments/styles/__init__.py", line 53, in get_style_by_name
    raise ClassNotFound("Could not find style class %r in style module." % cls)
pygments.util.ClassNotFound: Could not find style class 'OodsStyle' in style module.
The full traceback has been saved in /tmp/sphinx-err-6chqkzst.log, if you want to report the issue to the developers

We should investigate if the API for including custom pygments styles has changed and/or if we still need the custom style, as many new builtin styles have been added since the version upgrade that might be good enough.