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

Commit 3c81300

Browse files
committed
Bug 1667831 - doc: fix more warnings r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91642
1 parent 6be67c1 commit 3c81300

4 files changed

Lines changed: 36 additions & 36 deletions

File tree

docs/code-quality/index.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ In this document, we try to list these all tools.
3030
-
3131
* - Clang-Tidy
3232
- Yes
33-
- `bug 712350 <https://bugzilla.mozilla.org/show_bug.cgi?id=712350>`_
33+
- `bug 712350 <https://bugzilla.mozilla.org/show_bug.cgi?id=712350>`__
3434
- :ref:`Static analysis <Mach static analysis>`
3535
- https://clang.llvm.org/extra/clang-tidy/checks/list.html
3636
* - Clang analyzer
3737
-
38-
- `bug 712350 <https://bugzilla.mozilla.org/show_bug.cgi?id=712350>`_
38+
- `bug 712350 <https://bugzilla.mozilla.org/show_bug.cgi?id=712350>`__
3939
-
4040
- https://clang-analyzer.llvm.org/
4141
* - Coverity
4242
-
43-
- `bug 1230156 <https://bugzilla.mozilla.org/show_bug.cgi?id=1230156>`_
43+
- `bug 1230156 <https://bugzilla.mozilla.org/show_bug.cgi?id=1230156>`__
4444
-
4545
-
4646
* - cpp virtual final
@@ -50,12 +50,12 @@ In this document, we try to list these all tools.
5050
-
5151
* - Semmle/LGTM
5252
-
53-
- `bug 1458117 <https://bugzilla.mozilla.org/show_bug.cgi?id=1458117>`_
53+
- `bug 1458117 <https://bugzilla.mozilla.org/show_bug.cgi?id=1458117>`__
5454
-
5555
-
5656
* - clang-format
5757
- Yes
58-
- `bug 1188202 <https://bugzilla.mozilla.org/show_bug.cgi?id=1188202>`_
58+
- `bug 1188202 <https://bugzilla.mozilla.org/show_bug.cgi?id=1188202>`__
5959
- :ref:`Formatting C++ Code With clang-format`
6060
- https://clang.llvm.org/docs/ClangFormat.html
6161

@@ -70,17 +70,17 @@ In this document, we try to list these all tools.
7070
- Upstream
7171
* - Eslint
7272
- Yes
73-
- `bug 1229856 <https://bugzilla.mozilla.org/show_bug.cgi?id=1229856>`_
73+
- `bug 1229856 <https://bugzilla.mozilla.org/show_bug.cgi?id=1229856>`__
7474
- :ref:`ESLint`
7575
- https://eslint.org/
7676
* - Mozilla ESLint
7777
-
78-
- `bug 1229856 <https://bugzilla.mozilla.org/show_bug.cgi?id=1229856>`_
78+
- `bug 1229856 <https://bugzilla.mozilla.org/show_bug.cgi?id=1229856>`__
7979
- :ref:`Mozilla ESLint Plugin`
8080
-
8181
* - Prettier
8282
- Yes
83-
- `bug 1558517 <https://bugzilla.mozilla.org/show_bug.cgi?id=1558517>`_
83+
- `bug 1558517 <https://bugzilla.mozilla.org/show_bug.cgi?id=1558517>`__
8484
- :ref:`JavaScript Coding style`
8585
- https://prettier.io/
8686

@@ -97,22 +97,22 @@ In this document, we try to list these all tools.
9797
- Upstream
9898
* - Flake8
9999
- Yes (with `autopep8 <https://github.com/hhatto/autopep8>`_)
100-
- `bug 1155970 <https://bugzilla.mozilla.org/show_bug.cgi?id=1155970>`_
100+
- `bug 1155970 <https://bugzilla.mozilla.org/show_bug.cgi?id=1155970>`__
101101
- :ref:`Flake8`
102102
- http://flake8.pycqa.org/
103103
* - black
104104
- Yes
105-
- `bug 1555560 <https://bugzilla.mozilla.org/show_bug.cgi?id=1555560>`_
105+
- `bug 1555560 <https://bugzilla.mozilla.org/show_bug.cgi?id=1555560>`__
106106
- :ref:`black`
107107
- https://black.readthedocs.io/en/stable
108108
* - pylint
109109
-
110-
- `bug 1623024 <https://bugzilla.mozilla.org/show_bug.cgi?id=1623024>`_
110+
- `bug 1623024 <https://bugzilla.mozilla.org/show_bug.cgi?id=1623024>`__
111111
- :ref:`pylint`
112112
- https://www.pylint.org/
113113
* - Python 2/3 compatibility check
114114
-
115-
- `bug 1496527 <https://bugzilla.mozilla.org/show_bug.cgi?id=1496527>`_
115+
- `bug 1496527 <https://bugzilla.mozilla.org/show_bug.cgi?id=1496527>`__
116116
- :ref:`Python 2/3 compatibility check`
117117
-
118118

@@ -128,12 +128,12 @@ In this document, we try to list these all tools.
128128
- Upstream
129129
* - Rustfmt
130130
- Yes
131-
- `bug 1454764 <https://bugzilla.mozilla.org/show_bug.cgi?id=1454764>`_
131+
- `bug 1454764 <https://bugzilla.mozilla.org/show_bug.cgi?id=1454764>`__
132132
- :ref:`Rustfmt`
133133
- https://github.com/rust-lang/rustfmt
134134
* - Clippy
135135
-
136-
- `bug 1361342 <https://bugzilla.mozilla.org/show_bug.cgi?id=1361342>`_
136+
- `bug 1361342 <https://bugzilla.mozilla.org/show_bug.cgi?id=1361342>`__
137137
- :ref:`clippy`
138138
- https://github.com/rust-lang/rust-clippy
139139

@@ -148,7 +148,7 @@ In this document, we try to list these all tools.
148148
- Upstream
149149
* - Infer
150150
-
151-
- `bug 1175203 <https://bugzilla.mozilla.org/show_bug.cgi?id=1175203>`_
151+
- `bug 1175203 <https://bugzilla.mozilla.org/show_bug.cgi?id=1175203>`__
152152
-
153153
- https://github.com/facebook/infer
154154

docs/code-quality/lint/linters/perfdocs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ Note that there needs to be a FrameworkGatherer implemented for the framework be
8080
Sources
8181
-------
8282

83-
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/perfdocs.yml>`_
84-
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/perfdocs>`_
83+
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/perfdocs.yml>`__
84+
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/perfdocs>`__

docs/setup/macos_build.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ You will need administrator permissions on your machine to install these
2727
prerequisites. (You can verify that you have these permissions in System
2828
Preferences -> Users & Groups.)
2929

30-
See `1.1 Install Xcode and Xcode command line tools <#xcode>`_ and `1.2
31-
Get the local macOS SDK <#macossdk>`_ for more information on how to
30+
See :ref:`1.1 Install Xcode and Xcode command line tools <xcode>` and :ref:`1.2
31+
Get the local macOS SDK <macossdk>` for more information on how to
3232
install these prerequisites.
3333

3434
.. rubric:: Getting the source
@@ -46,8 +46,8 @@ that will do the rest:
4646
# download the bootstrap script
4747
curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -o bootstrap.py
4848
49-
If you don't have Python 3.6 or later or Mercurial installed, see `2.1a Install
50-
dependencies via Homebrew <#install-via-homebrew>`_ for more information on how
49+
If you don't have Python 3.6 or later or Mercurial installed, see :ref:`2.1a Install
50+
dependencies via Homebrew <#install-via-homebrew>` for more information on how
5151
to do so. Then in your terminal from above start the bootstrapper like this:
5252

5353
.. code-block:: shell
@@ -62,7 +62,7 @@ source code. If you prefer to work with git, use this command instead:
6262
python3 bootstrap.py --vcs=git
6363
6464
If you don't have `Homebrew <https://brew.sh/>`_ or
65-
`Ports <https://www.macports.org/>`_ installed - software package
65+
`Ports <https://www.macports.org/>`__ installed - software package
6666
managers that will let us install some programs we'll need - you'll be
6767
asked to pick one. Either will work, but most Mozilla developers use
6868
Homebrew.
@@ -130,20 +130,20 @@ You first need to install Xcode, for which you have two options but both
130130
require you to sign in with an Apple ID:
131131

132132
- From Apple Developer Download page - `direct
133-
link <https://developer.apple.com/download/release/>`_. Install the
133+
link <https://developer.apple.com/download/release/>`__. Install the
134134
latest **release** (non-beta) version of Xcode, open ``Xcode.xip``,
135135
and then **before** **running the extracted Xcode.app, move it from
136136
the download folder to /Applications**. (Running it from another
137137
location may screw up various build paths, homebrew builds, etc. Fix
138138
by running ``sudo xcode-select -switch /Applications/Xcode.app`` )
139139
- From the Mac App Store - `direct
140-
link <https://apps.apple.com/us/app/xcode>`_.
140+
link <https://apps.apple.com/us/app/xcode>`__.
141141

142142
Open /Applications/Xcode.app and let it do its initial first run and
143143
setup stuff.
144144

145145
Install the Xcode command line tools by
146-
running \ ``xcode-select --install`` in your terminal.
146+
running ``xcode-select --install`` in your terminal.
147147

148148
.. _macossdk:
149149

@@ -159,7 +159,7 @@ other SDKs and that's why we recommend this specific version.
159159

160160
To get the 10.11 SDK, first download Xcode 7.3.1 from the `More
161161
Downloads for Apple
162-
Developers <https://developer.apple.com/download/more/>`_ page. Once
162+
Developers <https://developer.apple.com/download/more/>`__ page. Once
163163
downloaded, mount the .dmg file. Then in the Terminal run the following:
164164

165165
.. code-block:: shell
@@ -186,7 +186,7 @@ whatever package manager you prefer.
186186
2.1a Install dependencies via Homebrew
187187
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
188188

189-
`Homebrew <http://brew.sh/>`_ is "the missing package manager for
189+
`Homebrew <http://brew.sh/>`__ is "the missing package manager for
190190
macOS." It provides a simple command-line interface to install packages,
191191
typically by compiling them from source.
192192

@@ -402,13 +402,13 @@ Software requirements
402402
- **Development Environment:** Xcode. You can obtain from the App
403403
Store.
404404
- **Package Management:** Either
405-
*`MacPorts <http://www.macports.org/>`_* or Homebrew.
405+
*`MacPorts <http://www.macports.org/>`__* or Homebrew.
406406

407407
These options are specific to Mozilla builds for macOS. For a more
408408
general overview of build options and the ``mozconfig`` file, see
409409
:ref:`Configuring Build Options`. For
410410
specific information on configuring to build a universal binary, see
411-
`Mac OS X Universal Binaries <https://developer.mozilla.org/en/Mac_OS_X_Universal_Binaries>`_.
411+
`Mac OS X Universal Binaries <https://developer.mozilla.org/en/Mac_OS_X_Universal_Binaries>`__.
412412

413413
- **Compiler:** Firefox releases are no longer built with gcc-4.8 or
414414
earlier. A recent copy of clang is needed.
@@ -420,7 +420,7 @@ specific information on configuring to build a universal binary, see
420420
(Xcode 6.4 is based on pre-release of clang 3.6, that doesn't
421421
match to requirement.)
422422
- Following the instructions in the `clang
423-
website <http://clang.llvm.org/get_started.html>`_ for
423+
website <http://clang.llvm.org/get_started.html>`__ for
424424
information on how to get it.
425425
- Using some of the package managers (see above).
426426

@@ -436,7 +436,7 @@ are intended to be added to your ``mozconfig`` file.
436436
Selecting an SDK with this option overrides the default headers and
437437
libraries in ``/usr/include``, ``/usr/lib``, and ``/System/Library``.
438438
Mac macOS SDKs are installed in ``/Developer/SDKs`` during the `Xcode
439-
installation <#Software_Requirements>`_ by selecting the **Cross
439+
installation <#Software_Requirements>` by selecting the **Cross
440440
Development** category in the installer’s **Customize** screen.
441441

442442
.. code-block:: shell

docs/setup/windows_build.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ MozillaBuild
8787
^^^^^^^^^^^^
8888

8989
Finally, download the `MozillaBuild
90-
Package <https://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe>`_
90+
Package <https://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe>`__
9191
from Mozilla. Accept the default settings, in particular the default
9292
installation directory: ``c:\mozilla-build\``. On some versions of
9393
Windows an error dialog will give you the option to ‘reinstall with the
@@ -253,7 +253,7 @@ successfully. There are notes on these software requirements below.
253253
android-emulator", or run talos tests locally, you should install it
254254
for building psutil.
255255
#. Download and install the
256-
`MozillaBuild <https://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe>`_
256+
`MozillaBuild <https://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe>`__
257257
package, containing additional build tools. If you have Cygwin
258258
installed, read the note in the tips section. If you see a Windows
259259
error dialog giving you the option to re-install with the 'correct
@@ -301,8 +301,8 @@ Installing Visual Studio in a different language than the system can cause issue
301301
contains spaces. It is strongly recommended that you accept the default
302302
settings for all installation locations.
303303

304-
MozillaBuild
305-
~~~~~~~~~~~~
304+
MozillaBuild package
305+
~~~~~~~~~~~~~~~~~~~~
306306

307307
The MozillaBuild package contains other software prerequisites necessary
308308
for building Mozilla, including the MSYS build environment,
@@ -402,7 +402,7 @@ Command prompt tips and caveats
402402
Common problems, hints, and restrictions
403403
----------------------------------------
404404

405-
- :ref:`Debugging Firefox on Windows FAQ <Debugging On Windows>`_:
405+
- :ref:`Debugging Firefox on Windows FAQ <Debugging On Windows>`:
406406
Tips on how to debug Mozilla on Windows.
407407
- Your installed MozillaBuild may be too old. The build system may
408408
assume you have new features and bugfixes that are only present in

0 commit comments

Comments
 (0)