-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Sphinx theme option "prev_next_buttons_location" does not work #903
Comments
I can't reproduce this issue with Sphinx |
No, I haven't. I thought that was the default theme that didn't need to be inlucded. |
Yes, you need to include it because the default theme for sphinx is alabaster. |
This is on ReadTheDocs, so I automatically get the RTD sphinx theme without specifying a theme. |
The default value of html_theme = "alabaster"
if "READTHEDOCS" in os.environ:
html_theme = "sphinx_rtd_theme" |
I've started a new build at ReadTheDocs with I still think it shouldn't be necessary to have to specify EDIT: And now that the RTD build finally completed, I can see that the next/previous buttons are still there, even though I now have this in my
|
It seems that is an error with readthedocs.org builds, because I can't reproduce it in local. |
I suspected as much, which is why I posted it in their issue list originally (but it got moved here). If someone can move it back it would be greatly appreciated :) |
@gthvidsten make sure you are using the same sphinx version locally and on rtd https://docs.readthedocs.io/en/stable/guides/specifying-dependencies.html |
I'm not doing any local documentation. I use readthedocs exclusively. |
I'm not looking to run Sphinx locally. I just want to use the one on RTD... and that doesn't use any of the |
@gthvidsten looks like you have typo in https://github.com/whitestone-no/Cambion/blob/9c90ff07978b25b873bae781df69c1af1b716c59/docs/conf.py#L15 it should be |
Details
Expected Result
html_theme_options
inconf.py
should be appliedActual Result
I added
html_theme_options
to myconf.py
file as per the instruction for the RTD sphinx theme: https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.htmlThis has no effect. I haven't come far enough in the documentation that I have enough levels to test the first option yet, but the second option,
prev_next_buttons_location
, should have removed the Next/Previous buttons from the generated documentation. These buttons are still there when the documentation is built.The text was updated successfully, but these errors were encountered: