sambrightman / sphinxcontrib-emacs

Sphinx extension to document Emacs code
MIT License
0 stars 0 forks source link

This extension is broken in sphinx v1.8.5 #2

Open dajva opened 5 years ago

dajva commented 5 years ago

Hi, Is this the official place for this extension after upstream became unmaintained?

It's broken in version 1.8.5 (probably earlier) and bails out with error:

Exception occurred:
  File "/usr/local/lib/python2.7/dist-packages/sphinxcontrib/emacs/domain.py", line 106, in __init__
    build_env.config.emacs_load_path,
AttributeError: 'NoneType' object has no attribute 'emacs_load_path'

I suspect this pr is to blame: https://github.com/sphinx-doc/sphinx/pull/4966 It changed the order of creating Domain intances and initiating the config which seems to be thre reason for config being None.

I don't know if this is a bug in upstream or if this extension need to adapt to this new situation. I don't know this extension good enough to judge.

sambrightman commented 1 year ago

I think I have the ability to publish updated packages, but haven't contributed much other than merging pending PRs to keep things moving along. Do you know how to fix this?