Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 21c3870

Browse files
committed
Bug 1594907 - Fix some duplicate URL segments in firefox-source-docs, r=sylvestre
This also moves the 'mach' docs from /python/mach to /mach. The reason being that 'mach' doesn't really have anything to do with Python other than its implemented in it. Differential Revision: https://phabricator.services.mozilla.com/D52253 --HG-- extra : moz-landing-system : lando
1 parent 3e13b47 commit 21c3870

6 files changed

Lines changed: 18 additions & 13 deletions

File tree

dom/moz.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@ TEST_DIRS += [
121121
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk', 'cocoa', 'windows'):
122122
TEST_DIRS += ['plugins/test']
123123

124-
SPHINX_TREES['dom'] = 'docs'
124+
SPHINX_TREES['/dom'] = 'docs'

gfx/moz.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if CONFIG['ENABLE_TESTS']:
4242

4343
TEST_DIRS += ['tests']
4444

45-
SPHINX_TREES['gfx'] = 'docs'
45+
SPHINX_TREES['/gfx'] = 'docs'
4646

4747
with Files('docs/**'):
4848
SCHEDULES.exclusive = ['docs']

modules/libpref/moz.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ XPCOM_MANIFESTS += [
133133
'components.conf',
134134
]
135135

136-
SPHINX_TREES['libpref'] = 'docs'
136+
SPHINX_TREES['/modules/libpref'] = 'docs'
137137

138138
include('/ipc/chromium/chromium-config.mozbuild')
139139

python/moz.build

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ SPHINX_PYTHON_PACKAGE_DIRS += [
4949
with Files('**.py'):
5050
SCHEDULES.inclusive += ['docs']
5151

52-
SPHINX_TREES['mach'] = 'mach/docs'
53-
54-
SPHINX_TREES['python'] = 'docs'
52+
SPHINX_TREES['/mach'] = 'mach/docs'
53+
SPHINX_TREES['/python'] = 'docs'
5554

5655
with Files('mach/docs/**'):
5756
SCHEDULES.exclusive = ['docs']

taskcluster/moz.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ with Files('**'):
1010
PYTHON_UNITTEST_MANIFESTS += [
1111
'taskgraph/test/python.ini',
1212
]
13-
SPHINX_TREES['taskcluster'] = 'docs'
13+
SPHINX_TREES['/taskcluster'] = 'docs'
1414
SPHINX_PYTHON_PACKAGE_DIRS += ['taskgraph']
1515

1616
with Files('docs/**'):

tools/docs/config.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
categories:
66
source_doc:
77
- browser
8-
- dom/dom
9-
- gfx/gfx
8+
- dom
9+
- gfx
1010
- toolkit
1111
- dom/bindings/webidl
12-
- modules/libpref/libpref
12+
- modules/libpref
1313
- remote
1414
- services/common/services
1515
build_doc:
16-
- python/mach
16+
- mach
1717
- tools/try
1818
- build/buildsystem
19-
- taskcluster/taskcluster
19+
- taskcluster
2020
testing_doc:
2121
- testing/marionette
2222
- testing/geckodriver
@@ -27,12 +27,18 @@ categories:
2727
- tools/compare-locales
2828
python_doc:
2929
- mozbase
30-
- python/python
30+
- python
3131
fennec_doc:
3232
- mobile/android
3333

3434
redirects:
3535
browser/browser: browser
36+
dom/dom: dom
37+
gfx/gfx: gfx
38+
modules/libpref/libpref: modules/libpref
39+
python/mach: mach
40+
python/python: python
41+
taskcluster/taskcluster: taskcluster
3642
testing/geckodriver/geckodriver: testing/geckodriver
3743
testing/marionette/marionette: testing/marionette
3844
toolkit/components/telemetry/telemetry: toolkit/components/telemetry

0 commit comments

Comments
 (0)