Bug 1606026: move tools/docs code to tools/moztreedocs r=sylvestre
authorEthan Glasser-Camp <eglassercamp@mozilla.com>
Mon, 06 Jan 2020 16:29:21 +0000
changeset 508940 8d2a9c2c512d0a2ab7885fe3b878ef892cc7e67f
parent 508939 13e1da74fab848351374e6ccc1df151e5e10ff84
child 508941 f7974eae3d6404f81c645dc072909d28738e33e1
push id104320
push usereglassercamp@mozilla.com
push dateMon, 06 Jan 2020 16:39:49 +0000
treeherderautoland@d03b5479fab3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssylvestre
bugs1606026
milestone73.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1606026: move tools/docs code to tools/moztreedocs r=sylvestre Differential Revision: https://phabricator.services.mozilla.com/D58337
build/mach_bootstrap.py
build/sparse-profiles/sphinx-docs
build/virtualenv_packages.txt
tools/docs/Pipfile
tools/docs/Pipfile.lock
tools/docs/_static/custom_theme.css
tools/docs/mach_commands.py
tools/docs/moztreedocs/__init__.py
tools/docs/moztreedocs/package.py
tools/docs/moztreedocs/upload.py
tools/lint/codespell.yml
tools/moz.build
tools/moztreedocs/Pipfile
tools/moztreedocs/Pipfile.lock
tools/moztreedocs/__init__.py
tools/moztreedocs/_static/custom_theme.css
tools/moztreedocs/mach_commands.py
tools/moztreedocs/package.py
tools/moztreedocs/upload.py
--- a/build/mach_bootstrap.py
+++ b/build/mach_bootstrap.py
@@ -66,19 +66,19 @@ MACH_MODULES = [
     'testing/raptor/mach_commands.py',
     'testing/talos/mach_commands.py',
     'testing/tps/mach_commands.py',
     'testing/web-platform/mach_commands.py',
     'testing/xpcshell/mach_commands.py',
     'toolkit/components/telemetry/tests/marionette/mach_commands.py',
     'tools/browsertime/mach_commands.py',
     'tools/compare-locales/mach_commands.py',
-    'tools/docs/mach_commands.py',
     'tools/lint/mach_commands.py',
     'tools/mach_commands.py',
+    'tools/moztreedocs/mach_commands.py',
     'tools/power/mach_commands.py',
     'tools/tryselect/mach_commands.py',
     'tools/vcs/mach_commands.py',
 ]
 
 
 CATEGORIES = {
     'build': {
--- a/build/sparse-profiles/sphinx-docs
+++ b/build/sparse-profiles/sphinx-docs
@@ -1,13 +1,14 @@
 %include build/sparse-profiles/mach
 
 [include]
 # Code for generating docs.
 glob:tools/docs/**
+glob:tools/moztreedocs/**
 
 # Potential docs sources
 glob:**/*.rst
 glob:**/*.md
 glob:**/*.js
 glob:**/*.jsm
 
 # Potential included images. We don't glob all paths in order to avoid importing
--- a/build/virtualenv_packages.txt
+++ b/build/virtualenv_packages.txt
@@ -83,16 +83,16 @@ mozilla.pth:testing/web-platform/tests/t
 mozilla.pth:testing/web-platform/tests/tools/third_party/hyperframe
 mozilla.pth:testing/web-platform/tests/tools/third_party/certifi
 mozilla.pth:testing/web-platform/tests/tools/wptserve
 mozilla.pth:testing/web-platform/tests/tools/wptrunner
 mozilla.pth:testing/web-platform/tests/tools/six
 mozilla.pth:testing/xpcshell
 mozilla.pth:third_party/python/mock-1.0.0
 mozilla.pth:xpcom/ds/tools
-mozilla.pth:tools/docs
+mozilla.pth:tools/moztreedocs
 mozilla.pth:third_party/python/cbor2
 mozilla.pth:third_party/python/pyasn1
 mozilla.pth:third_party/python/pyasn1-modules
 mozilla.pth:third_party/python/rsa
 mozilla.pth:third_party/python/PyECC
 mozilla.pth:toolkit/components/telemetry/tests/marionette/harness
 optional:packages.txt:comm/build/virtualenv_packages.txt
--- a/tools/lint/codespell.yml
+++ b/tools/lint/codespell.yml
@@ -45,16 +45,17 @@ codespell:
         - toolkit/components/normandy/docs/
         - toolkit/components/search/docs/
         - toolkit/components/telemetry/docs/
         - toolkit/crashreporter/docs/
         - toolkit/docs/
         - toolkit/locales/en-US/
         - toolkit/modules/docs/
         - tools/docs/
+        - tools/moztreedocs/
         - tools/lint/
         - tools/tryselect/
     exclude:
         - tools/lint/test/test_codespell.py
     # List of extensions coming from:
     # tools/lint/{flake8,eslint}.yml
     # tools/mach_commands.py (clang-format)
     # + documentation
--- a/tools/moz.build
+++ b/tools/moz.build
@@ -21,16 +21,20 @@ with Files("docs/**"):
     SCHEDULES.exclusive = ['docs']
 
 with Files("github-sync/**"):
     BUG_COMPONENT = ("Core", "Graphics")
 
 with Files("lint/**"):
     BUG_COMPONENT = ("Firefox Build System", "Lint and Formatting")
 
+with Files("moztreedocs/**"):
+    BUG_COMPONENT = ("Firefox Build System", "Generated Documentation")
+    SCHEDULES.exclusive = ['docs']
+
 with Files("profiler/**"):
     BUG_COMPONENT = ("Core", "Gecko Profiler")
 
 with Files("performance/**"):
     BUG_COMPONENT = ("Core", "Gecko Profiler")
 
 with Files("quitter/**"):
     BUG_COMPONENT = ("Testing", "General")
rename from tools/docs/Pipfile
rename to tools/moztreedocs/Pipfile
rename from tools/docs/Pipfile.lock
rename to tools/moztreedocs/Pipfile.lock
rename from tools/docs/moztreedocs/__init__.py
rename to tools/moztreedocs/__init__.py
rename from tools/docs/_static/custom_theme.css
rename to tools/moztreedocs/_static/custom_theme.css
rename from tools/docs/mach_commands.py
rename to tools/moztreedocs/mach_commands.py
rename from tools/docs/moztreedocs/package.py
rename to tools/moztreedocs/package.py
rename from tools/docs/moztreedocs/upload.py
rename to tools/moztreedocs/upload.py