fx doc: Limit the depth of autosection
Categories
(Developer Infrastructure :: Source Documentation, task)
Tracking
(firefox83 fixed)
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Only run autosection for the page title.
Otherwise, we have a huge number of duplicate links.
For example, the page https://firefox-source-docs.mozilla.org/code-quality/lint/
is called "Linting"
just like https://firefox-source-docs.mozilla.org/remote/CodeStyle.html
And creating a :ref:Linting
point to the latter.
We have also a huge number of dup label as they are following the same template:
https://firefox-source-docs.mozilla.org/code-quality/lint/linters/codespell.html
https://firefox-source-docs.mozilla.org/code-quality/lint/linters/cpp-virtual-final.html
...
Assignee | ||
Comment 1•4 years ago
|
||
It also decreases the number of warnings:
build a réussi, 637 warnings.
was:
build a réussi, 1463 warnings.
It will probably create some broken links but it should be easy to fix (just need to add some labels by hands)
Assignee | ||
Comment 2•4 years ago
|
||
Only run autosection for the page title.
Otherwise, we have a huge number of duplicate links.
For example, the page https://firefox-source-docs.mozilla.org/code-quality/lint/
is called "Linting"
just like https://firefox-source-docs.mozilla.org/remote/CodeStyle.html
And creating a :ref:Linting point to the latter.
We have also a huge number of dup label as they are following the same template:
https://firefox-source-docs.mozilla.org/code-quality/lint/linters/codespell.html
https://firefox-source-docs.mozilla.org/code-quality/lint/linters/cpp-virtual-final.html
It also decreases the number of warnings (1463 to 637)
Depends on D90855
Updated•4 years ago
|
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3edeb4b75820 fx doc: Limit the depth of autosection r=firefox-source-docs-reviewers,championshuttler
Comment 4•4 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•