gecko-dev/tools/docs/moztreedocs
Andrew Halberstadt 0912d6c960 Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander
The BuildReader's 'find_sphinx_variables' function is hardcoded to look for the
SPHINX_TREES and SPHINX_PYTHON_PACKAGE_DIRS variables. But it's otherwise
implemented to find any arbitrary variable (as long as they are a simple list
or dict).

This change simply moves the variable name(s) to the function call. The comment
about possibly wanted to use a higher level AST library to parse other kinds of
variables still applies, but for now this change is good enough to suit my
needs.

Differential Revision: https://phabricator.services.mozilla.com/D48424

--HG--
extra : moz-landing-system : lando
2019-10-18 14:05:49 +00:00
..
__init__.py Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander 2019-10-18 14:05:49 +00:00
package.py
upload.py Bug 1574948 - Preserve the `firefox-source-docs` host name. r=ahal 2019-08-21 13:54:06 +00:00