diff --git a/build/sparse-profiles/sphinx-docs b/build/sparse-profiles/sphinx-docs index 8e268929836d..6a2451057e15 100644 --- a/build/sparse-profiles/sphinx-docs +++ b/build/sparse-profiles/sphinx-docs @@ -5,6 +5,9 @@ glob:docs/** glob:tools/moztreedocs/** +# For icons +glob:browser/branding/nightly/** + # Potential docs sources glob:**/*.rst glob:**/*.md diff --git a/docs/conf.py b/docs/conf.py index 621a5b92f6ef..4e909e88c879 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -63,8 +63,8 @@ templates_path = ["_templates"] source_suffix = [".rst", ".md"] master_doc = "index" project = "Firefox Source Docs" -html_logo = "../browser/branding/nightly/content/firefox-wordmark.svg" -html_favicon = "../browser/branding/nightly/firefox.ico" +html_logo = os.path.join(topsrcdir, "browser/branding/nightly/content/firefox-wordmark.svg") +html_favicon = os.path.join(topsrcdir, "browser/branding/nightly/firefox.ico") exclude_patterns = ["_build", "_staging", "_venv"] pygments_style = "sphinx"