I am writing a custom build script for a set of projects documented with Sphinx. I want to be able to override the html_theme and html_theme_path using -D arguments, but seem to be having an issue setting html_theme_path.
The command I am running per project is the following (I have chopped the file path lengths down for a little more readability): sphinx-build -b html -D html_theme=treffynnon -D html_theme_path=/home/user/_themes /home/user/sphinx/src /home/user/output/docs The error I am getting back when I execute the command is: Theme error: no theme named u'treffynnon' found (missing theme.conf?) If I manually adjust the html_theme_path configuration option directly in the conf file of each project to reflect the same path as above then it all works just fine with the following command: sphinx-build -b html -D html_theme=treffynnon /home/user/sphinx/src /home/user/output/docs Any ideas on what I can do to set this correctly? Thanks in advance, Simon -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/Wz5wdKq9bOoJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.