You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This extension does not seem to work on a more recent version of Sphinx. There is an issue when creating the disqus_shortname config value. And it happens regardless of whether I set the value in conf.py or not.
It errors out with an ExtensionError ("Config value 'disqus_shortname' already present").
And here is the stack trace right up to the moment when the exception is thrown:
File "[...]/sphinxhome/venv/bin/sphinx-build", line 8, in <module>
sys.exit(main())
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/cmd/build.py", line 319, in main
return make_main(argv)
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/cmd/build.py", line 199, in make_main
return make_mode.run_make_mode(argv[1:])
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/cmd/make_mode.py", line 166, in run_make_mode
return make.run_generic_build(args[0])
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/cmd/make_mode.py", line 154, in run_generic_build
return build_main(args + opts)
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/cmd/build.py", line 280, in build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/application.py", line 229, in __init__
self.setup_extension(extension)
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/application.py", line 404, in setup_extension
self.registry.load_extension(self, extname)
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/registry.py", line 455, in load_extension
metadata = setup(app)
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx_disqus/disqus.py", line 122, in setup
app.add_config_value("disqus_shortname", None, True)
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/application.py", line 536, in add_config_value
self.config.add(name, default, rebuild, types)
File "[...]/sphinxhome/venv/lib/python3.11/site-packages/sphinx/config.py", line 309, in add
traceback.print_stack()
The text was updated successfully, but these errors were encountered:
This extension does not seem to work on a more recent version of Sphinx. There is an issue when creating the
disqus_shortname
config value. And it happens regardless of whether I set the value inconf.py
or not.It errors out with an ExtensionError ("Config value 'disqus_shortname' already present").
Here is what my venv looks like:
And here is the stack trace right up to the moment when the exception is thrown:
The text was updated successfully, but these errors were encountered: