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

New root_doc variable is ignored. #292

Closed
jhmeinke opened this issue Mar 29, 2022 · 2 comments · Fixed by #293
Closed

New root_doc variable is ignored. #292

jhmeinke opened this issue Mar 29, 2022 · 2 comments · Fixed by #293
Labels

Comments

@jhmeinke
Copy link

With version 4.0 sphinx renamed master_doc to root_doc, but this is ignored by sphinxcontrib-bibtex.
If I use root_doc I get the following error message because index.rst does not exist.

extension error (sphinxcontrib.bibtex.domain):
Handler <function env_updated at 0x7f8b63b5f910> for event 'env-updated' threw an exception (exception: 'index')

If I replace root_doc with master_doc everything works fine.

Sphinx v4.4.0
sphinxcontrib-bibtex 2.4.1
Arch Linux

mcmtroffaes added a commit that referenced this issue Mar 29, 2022
mcmtroffaes added a commit that referenced this issue Mar 29, 2022
mcmtroffaes added a commit that referenced this issue Mar 29, 2022
@mcmtroffaes
Copy link
Owner

Thanks for reporting! This should now be fixed in develop; the fix will be included with the next release.

@jhmeinke
Copy link
Author

Thank you! That was amazingly fast!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants