зеркало из https://github.com/mozilla/gecko-dev.git
0912d6c960
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 |
||
---|---|---|
.. | ||
moztreedocs | ||
Pipfile | ||
Pipfile.lock | ||
conf.py | ||
index.rst | ||
jsdoc.json | ||
mach_commands.py | ||
redirects.yml |