Thanks, Stefan. Your suggestions helped. I needed to comment out the html_style directive pointing to a custom.css used for rtd. (no longer needed).
# html_style = 'css/custom.css' # def setup(app): # app.add_css_file('css/button.css') Thank you again for helping this novice! Phil On Thursday, July 6, 2023 at 8:33:29 AM UTC-5 phillip...@gmail.com wrote: > Thank you, Stefano! I'll try your suggestions and reply with results. > > PD > > On Thursday, July 6, 2023 at 4:03:32 AM UTC-5 Stefano David wrote: > >> Hi, >> >> On Wed, 5 Jul 2023 09:26:32 -0700 (PDT), Phillip Downen wrote: >> >> > I'm trying to change from sphinx_rtd_theme to the alabaster theme and >> > the html output does not look right...I change the theme as follows in >> > conf.py: >> > >> > #html_theme = 'sphinx_rtd_theme' >> > html_theme = 'alabaster' >> On every project I work, the change of theme (especially between >> alabaster >> and rtd) does not impact significantly on the output, except, well, for >> the >> layout :-) I never experienced errors like the few glitches that you >> mention. If you posted the log of make clean html, perhaps it could give >> you some more insights on what's failing. When switching theme, you >> should: >> >> * change html_theme option (which you did) >> >> * remove or change html_theme_options according to the new theme >> >> * remember that any custom CSS and template you added will probably be >> useless, as different themes use different templates and generate >> different >> CSS classes. >> >> * review all html_* options, because some of them may be unsupported >> (although this has usually no influence on the build, these are usually >> ignored) >> >> > Also, I don't have any layout.html file in \_templates. Not sure if a >> > layout.html is needed or not. >> If you did no customisation, you don't need it. >> >> HTH, >> Stefano >> >> >> -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/29b3e4f8-ba03-4e5d-9062-574b6559022cn%40googlegroups.com.