summaryrefslogtreecommitdiffstats
path: root/build/sparse-profiles/sphinx-docs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/sparse-profiles/sphinx-docs48
1 files changed, 48 insertions, 0 deletions
diff --git a/build/sparse-profiles/sphinx-docs b/build/sparse-profiles/sphinx-docs
new file mode 100644
index 0000000000..7915159ddc
--- /dev/null
+++ b/build/sparse-profiles/sphinx-docs
@@ -0,0 +1,48 @@
+%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
+
+# 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
+
+# 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