Bug 1644123 - mach doc: Provides the full path to logo and favicon + update of the build sparse config r=firefox-source-docs-reviewers,ahal

Differential Revision: https://phabricator.services.mozilla.com/D78671
This commit is contained in:
Sylvestre Ledru
2020-06-08 19:06:44 +00:00
parent 3252a27257
commit c7968e957b
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@
glob:docs/** glob:docs/**
glob:tools/moztreedocs/** glob:tools/moztreedocs/**
# For icons
glob:browser/branding/nightly/**
# Potential docs sources # Potential docs sources
glob:**/*.rst glob:**/*.rst
glob:**/*.md glob:**/*.md

View File

@@ -63,8 +63,8 @@ templates_path = ["_templates"]
source_suffix = [".rst", ".md"] source_suffix = [".rst", ".md"]
master_doc = "index" master_doc = "index"
project = "Firefox Source Docs" project = "Firefox Source Docs"
html_logo = "../browser/branding/nightly/content/firefox-wordmark.svg" html_logo = os.path.join(topsrcdir, "browser/branding/nightly/content/firefox-wordmark.svg")
html_favicon = "../browser/branding/nightly/firefox.ico" html_favicon = os.path.join(topsrcdir, "browser/branding/nightly/firefox.ico")
exclude_patterns = ["_build", "_staging", "_venv"] exclude_patterns = ["_build", "_staging", "_venv"]
pygments_style = "sphinx" pygments_style = "sphinx"