summaryrefslogtreecommitdiffstats
path: root/build/sparse-profiles/sphinx-docs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/sparse-profiles/sphinx-docs56
1 files changed, 56 insertions, 0 deletions
diff --git a/build/sparse-profiles/sphinx-docs b/build/sparse-profiles/sphinx-docs
new file mode 100644
index 0000000000..491d18b080
--- /dev/null
+++ b/build/sparse-profiles/sphinx-docs
@@ -0,0 +1,56 @@
+%include build/sparse-profiles/mach
+
+[include]
+# List of dependencies for the command
+path:python/sites/docs.txt
+
+# Code for generating docs.
+glob:docs/**
+glob:tools/moztreedocs/**
+
+# For icons
+glob:browser/branding/nightly/**
+
+# Potential docs sources
+glob:**/*.rst
+glob:**/*.md
+glob:**/*.mjs
+glob:**/*.js
+glob:**/*.jsm
+glob:**/*.json
+
+# Potential included images. We don't glob all paths in order to avoid importing
+# images unrelated to documentation (like branding or test images)
+glob:**/docs/**.jpg
+glob:**/docs/**.png
+glob:**/docs/**.svg
+glob:**/docs/**.gif
+glob:**/devtools/**.gif
+glob:**/devtools-user/**.gif
+glob:**/Debugger/**.png
+glob:**/Debugger/**.svg
+
+# Include everything found in the perfdocs generated folder
+glob:testing/perfdocs/generated/**
+
+# Python API docs.
+glob:**/*.py
+# Referenced by some python files.
+path:taskcluster/ci/docker-image/kind.yml
+
+# Included in ipc docs
+path:ipc/ipdl/test/ipdl/ok/PMyManaged.ipdl
+path:ipc/ipdl/test/ipdl/ok/PMyManager.ipdl
+path:ipc/ipdl/test/ipdl/ok/MyTypes.ipdlh
+
+# moz.build files are read to discover location of docs.
+glob:**/moz.build
+
+# package*.json files are needed for node_modules
+glob:**/package*.json
+
+# Read to set the version of the docs.
+path:config/milestone.txt
+
+# mots configuration
+path:mots.yaml