-
Notifications
You must be signed in to change notification settings - Fork 32
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
KeyError when trying to build almost empty docs #238
Comments
addendum, when i do the same, but with an editable installation of the current
the |
The first error is fixed by deleting your old build directory. The second error is because you need to run the nodejs-based build step. Did you use |
As for the absent
executed from setup.py. |
maybe i oversaw it, but a hint that a clean is always required would be helpful then. or, if it's a requirement, should the builder make sure of it?
indeed, but the otherwise that helped to get started, thanks! |
We often see this when the old build used a different theme. I don't think of it as a requirement, rather good practice to start a fresh build when switching themes (or testing mods of a theme). |
a'ight, i'll propose an addition for the Getting Started section. |
In this case the issue is due to the sphinx-immaterial monkey patching of the search index generation code in Sphinx. In fact it could make sense to add something to the search index code to deal with this automatically, since quite a few users have run into this issue. |
Hi, has the issue been resolved yet? I am still facing this same issue. |
The current solution is to purge any previous docs build. Are you switching from a different theme? That seems to be the most likely culprit here. |
I'm closing this as the problem was 2 issues:
|
hello, i'm trying to port an existing Sphinx-powered documentation to use this theme and i'm hitting some problems. therefore i set up a fresh Sphinx project for fiddling around, but with hardly any contents, the build fails.
steps to reproduce:
pip install sphinx-immaterial
sphinx-quickstart
sphinx_immaterial
to extensions and set as HTML thememake html
Sphinx error log
The text was updated successfully, but these errors were encountered: