Bug 1468751 - Add images in documentation sparse checkout r=gps
authorJohan Lorenzo <jlorenzo@mozilla.com>
Fri, 15 Jun 2018 00:00:05 +0000
changeset 422608 b40de0d36037f68e747fb362d084a6858ac9b02f
parent 422607 cb84b0e19643f215290c367bee8ad63e4c6aef7b
child 422609 3774e59affc5fed9d9bcff7ecce0f1c46df4c738
push id34139
push useraciure@mozilla.com
push dateFri, 15 Jun 2018 09:48:05 +0000
treeherdermozilla-central@dc997a4e045e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1468751
milestone62.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 1468751 - Add images in documentation sparse checkout r=gps Add images in documentation sparse checkout Differential Revision: https://phabricator.services.mozilla.com/D1663
build/sparse-profiles/sphinx-docs
--- a/build/sparse-profiles/sphinx-docs
+++ b/build/sparse-profiles/sphinx-docs
@@ -5,16 +5,22 @@
 glob:tools/docs/**
 
 # 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