On Wednesday, June 12 2013, 06:01:00, Christina Weyher wrote: > Dear all, > > I am going to maintain several documentation projects with sphinx. They > should share most of their configuration values, basically only titles for > the different target formats and the language will be different. What would > be a good way to organize the configuration files? > > I would imagine having a central conf.py which is read in the local conf.py > for each project. Is there a recommended way to do this?
Increasingly, I've started having core configuration values in a YAML file, that I read in and populate various variables in the Sphinx configuration. The result is that the configuration logic is pretty consistent between sites, and all the unique bits are in an easy to configure format. Cheers, sam -- Sam Kleinman (tychoish): - [email protected] - tychoish <http://tychoish.com/> "don't get it right, get it written" -- james thurber -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/groups/opt_out.
