mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00

Ever since Sphinx variable reading operates at the AST level (bug 1071012), we don't technically need a fully configured environment in order to generate the documentation! This patch stubs out the config environment object with a fake one that provides the only needed context to generate the Sphinx docs. This allows us to build the Sphinx docs on a fresh clone of the tree with no configure and with no object directory. --HG-- extra : rebase_source : f44513f01706391a5932a20c1437fcc8697611cd