%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

# package*.json files are needed for node_modules
glob:**/package*.json

# 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
