Source code

Revision control

Copy as Markdown

Other Tools

---
# The order of the main categories are defined in index.md
# Sub categories orders are preserved
categories:
overview_doc:
- glossary
- overview
setup_doc:
- setup
contributing_doc:
- contributing
- bug-mgmt
- crash-reporting
user_guide:
- devtools-user
source_doc:
- mots
- browser
- dom
- editor
- layout
- gfx
- ipc
- devtools
- toolkit
- js
- jsloader
- mobile/android/geckoview
- mobile/android/fenix
- mobile/android/focus-android
- dom/bindings/webidl
- modules/libpref
- networking
- remote
- services
- permissions
- uriloader
- widget
- widget/cocoa
- widget/windows
- toolkit/components/ml
- toolkit/components/pageextractor
- accessible
- media
- code-quality
- writing-rust-code
- rust-components
- tools/profiler
- performance
- storage
- xpcom
- nspr
- security/nss
- content-security
- rlbox
build_doc:
- mach
- tools/try
- build/buildsystem
- taskcluster
- tools/moztreedocs
- mozbuild/vendor
testing_doc:
- testing/automated-testing
- testing/treeherder-try
- testing/sheriffed-intermittents
- testing/tests-for-new-config
- testing/intermittent
- testing/debugging-intermittents
- testing/testing-policy
- testing/ci-configs
- testing/browser-chrome
- testing/chrome-tests
- testing/geckodriver
- testing/test-verification
- testing/webrender
- testing/mochitest-plain
- testing/xpcshell
- testing/tps
- web-platform
- gtest
- tools/fuzzing
- tools/sanitizer
- testing/perfdocs
- tools/code-coverage
- testing-rust-code
ai_agent_tools_doc:
- ai-agent-tools
release_doc:
- release-mgmt
- update-infrastructure
- tools/update-verify
l10n_doc:
- intl
- l10n
python_doc:
- mozbase
- python
fennec_doc:
- mobile/android
metrics_doc:
- metrics
redirects:
performance/memory/awsy.html: testing/perfdocs/awsy.html
performance/memory/memory.html: devtools-user/memory/index.html
performance/memory/basic_operations.html: devtools-user/memory/basic_operations/index.html
performance/memory/aggregate_view.html: devtools-user/memory/aggregate_view/index.html
performance/memory/tree_map_view.html: devtools-user/memory/tree_map_view/index.html
performance/memory/dominators.html: devtools-user/memory/dominators/index.html
performance/memory/dominators_view.html: devtools-user/memory/dominators_view/index.html
performance/memory/DOM_allocation_example.html: devtools-user/memory/dom_allocation_example/index.html
performance/memory/monster_example.html: devtools-user/memory/monster_example/index.html
browser/browser: browser
browser/components/newtab/docs/index.html: browser/extensions/newtab/docs/index.html
browser/tabunloader: browser/components/tabbrowser/docs/tab-unloading.html
browser/urlbar/UrlbarInput.html: browser/urlbar/UrlbarInputBase.html
contributing/how_to_contribute_firefox.html: contributing/contribution_quickref.html
mobile/android/geckoview/contributor/contributing-to-firefox.html: contributing/contribution_quickref.html
contributing/artifact_builds.html: contributing/build/artifact_builds.html
contributing/linux_build.html: setup/linux_build.html
contributing/build/linux_build.html: setup/linux_build.html
contributing/vscode.html: contributing/editors/vscode.html
contributing/build/supported.html: build/buildsystem/supported-configurations.html
dom/dom: dom
layout/layout: layout
gfx/gfx: gfx
intl/l10n/l10n: l10n
l10n/glossary.html: glossary/index.html
ipc/ipc: ipc
modules/libpref/libpref: modules/libpref
python/mach: mach
python/python: python
setup/getting_set_up.html: contributing/contributing_to_mozilla.html
taskcluster/taskcluster: taskcluster
testing/geckodriver/geckodriver: testing/geckodriver
testing/marionette/marionette: remote/marionette
testing/marionette: remote/marionette
toolkit/components/telemetry/telemetry: toolkit/components/telemetry
tools/compare-locales/index.html: build/buildsystem/locales.html
tools/docs/index.html: tools/moztreedocs/index.html
tools/docs/contribute/how_to_contribute_firefox.html: contributing/how_to_contribute_firefox.html
tools/docs/contribute/directory_structure.html: contributing/directory_structure.html
tools/lint: code-quality/lint
tools/lint/coding-style: code-quality/coding-style
tools/static-analysis/index.html: code-quality/static-analysis.html
# Please do not add more exceptions to these warnings. Generally they should be
# fixable. If you need help please ask in the firefox-source-docs channel on Matrix.
allowed_warnings:
# Any other warning fails the build. Only list warnings whose source cannot
# be fixed in this tree, and scope each entry to the page it is about.
# graphviz is installed in CI but may be missing from local setups.
- "WARNING: dot command 'dot' cannot be run \\(needed for graphviz output\\)"
# Bug 1915274 - security/nss is imported from upstream NSS, so these have
# to be fixed there.
- "security/nss/build\\.md:.*: WARNING: more than one target found for 'myst' cross-reference build:"
- "security/nss/legacy_extracts/asn1\\.md:.*: WARNING: 'myst' cross-reference target not found: '(templates|asn\\.1_tags|decoder_modifiers)'"
- "security/nss/legacy_extracts/structure\\.md:.*: WARNING: 'myst' cross-reference target not found: 'api_structure'"
# Bug 2008577 - The Rust component JS bindings carry the Markdown doc
# comments of application-services, so these have to be fixed there.
- "rust-components/api/js/db_crypto\\.md:.*: WARNING: Inline (literal|interpreted text or phrase reference) start-string without end-string"
- "rust-components/api/js/remote_settings\\.md:.*: WARNING: Bullet list ends without a blank line"
# Paths to exclude from documentation staging to avoid duplicate builds
exclude_patterns:
- js/src/doc/Debugger
# Python modules left out of the generated API reference.
python_api_exclude:
# Build actions that read the build configuration when imported.
- python/mozbuild/mozbuild/action/check_binary.py
- python/mozbuild/mozbuild/action/test_archive.py
# Not an importable module name.
- python/mozbuild/mozbuild/action/xpidl-process.py
# JSDoc must run successfully for dirs specified, so running
# tree-wide (the default) will not work currently.
# When adding more paths to this list, please ensure that they are not
# excluded from the valid-jsdoc and require-jsdoc sections in the top-level
# eslint-rollouts.config.mjs.
js_source_paths:
- browser/components/backup
- browser/components/backup/actors
- browser/components/backup/resources
- browser/components/customizableui
- browser/components/extensions
- browser/components/migration
- browser/components/migration/content
- browser/components/mozcachedohttp
- browser/components/mozcachedohttp/actors
# Limited to SessionStore.sys.mjs, the only file in the directory that has
# a documentation page.
- browser/components/sessionstore/SessionStore.sys.mjs
# Limited to Tabbrowser.sys.mjs: the rest of the directory holds window
# scripts and tests whose bare globals and duplicate local names trip
- browser/components/tabbrowser/Tabbrowser.sys.mjs
- browser/components/uitour
- browser/components/urlbar
- browser/components/urlbar/content
# Limited to URILoadingHelper.sys.mjs: the rest of the directory holds
# modules which do not currently run cleanly for jsdoc.
- browser/modules/URILoadingHelper.sys.mjs
- browser/components/miniwindow
- js/xpconnect/loader
- remote/marionette
- testing/mochitest/BrowserTestUtils
- testing/mochitest/tests/SimpleTest/SimpleTest.js
- testing/mochitest/tests/SimpleTest/EventUtils.js
- testing/modules/Assert.sys.mjs
- testing/modules/TestUtils.sys.mjs
- toolkit/actors
- toolkit/components/extensions
- toolkit/components/extensions/parent
- toolkit/components/ml/content/backends/ONNXPipeline.mjs
- toolkit/modules/BrowserUtils.sys.mjs
- toolkit/mozapps/extensions
- toolkit/components/prompts/src
- toolkit/components/pictureinpicture
- toolkit/components/pictureinpicture/content
# This is limited to SearchService.sys.mjs for now, as we only need to
# generate docs for that file currently. Other search files
# (e.g. SearchEngineSelector) are failing due to
- toolkit/components/search/SearchService.sys.mjs
- toolkit/components/uniffi-bindgen-gecko-js/components/generated