Hi, Sphinx provides `app.add_html_theme()` API since v1.6. I believe it helps to make an extension contains custom templates.
Thanks, Takeshi KOMIYA 2019年3月5日(火) 10:18 Nathaniel Saul <n...@riverasaul.com>: > > Hi, > > I manage a set of projects that all have the same docs styling, extensions, > and build process. I'm trying to streamline my workflow and hoping to put > most of the similarities between docs into a single Python package that is > easy to update. > > I was thinking an extension would work well, but I can't find any examples > that include customized `_templates`. On the other hand, forking and > customizing the theme I use doesn't seem like a complete solution as I > (believe I) can't specify configuration for particular extensions. > > Ideally, the solution would be able to bundle html templates, static files, > as well as the vast majority of the contents usually housed in a conf.py file. > > Do you or anyone have any tips for going about doing this? Would themes or > extensions work and maybe I'm just not finding the necessary details? Or is > there a third solution? > > Thanks for your advice, > Nathaniel Saul > > -- > 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 post to this group, send email to sphinx-users@googlegroups.com. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.