summaryrefslogtreecommitdiffstats
path: root/build/sparse-profiles/sphinx-docs
diff options
context:
space:
mode:
Diffstat (limited to 'build/sparse-profiles/sphinx-docs')
-rw-r--r--build/sparse-profiles/sphinx-docs39
1 files changed, 39 insertions, 0 deletions
diff --git a/build/sparse-profiles/sphinx-docs b/build/sparse-profiles/sphinx-docs
new file mode 100644
index 0000000000..d12c001629
--- /dev/null
+++ b/build/sparse-profiles/sphinx-docs
@@ -0,0 +1,39 @@
+%include build/sparse-profiles/mach
+
+[include]
+# Code for generating docs.
+glob:docs/**
+glob:tools/moztreedocs/**
+
+# For icons
+glob:browser/branding/nightly/**
+
+# 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
+# images unrelated to documentation (like branding or test images)
+glob:**/docs/**.jpg
+glob:**/docs/**.png
+glob:**/docs/**.svg
+
+# Python API docs.
+glob:**/*.py
+
+# moz.build files are read to discover location of docs.
+glob:**/moz.build
+
+# Read to set the version of the docs.
+path:config/milestone.txt
+
+# metrics.yaml and pings.yaml files (and their index) are needed to generate
+# Glean autodocs
+glob:**/metrics.yaml
+glob:**/pings.yaml
+path:toolkit/components/glean/metrics_index.py
+# TODO(bug 1672716): Make it easier to use other file names
+path:toolkit/components/glean/test_metrics.yaml
+path:toolkit/components/glean/test_pings.yaml