mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
In the mozbuild.sphinx extension, we create a new SphinxManager instance each time. However this isn't ideal now that we can rebuild the docs within the same interpreter using the livereload server. This makes use of a singleton so that we can share state not only between multiple invocations of sphinx-build, but also with the mach command. This will be taken advantage of more heavily in future commits in this series. MozReview-Commit-ID: 7ERYeN5BPeI
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Vendored python modules (use third_party/python instead) * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 https://bugzilla.mozilla.org/show_bug.cgi?id=1346025