@@ -27,8 +27,8 @@ You will need administrator permissions on your machine to install these
2727prerequisites. (You can verify that you have these permissions in System
2828Preferences -> 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
3232install 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
5151to 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
6666managers that will let us install some programs we'll need - you'll be
6767asked to pick one. Either will work, but most Mozilla developers use
6868Homebrew.
@@ -130,20 +130,20 @@ You first need to install Xcode, for which you have two options but both
130130require 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
142142Open /Applications/Xcode.app and let it do its initial first run and
143143setup stuff.
144144
145145Install 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
160160To get the 10.11 SDK, first download Xcode 7.3.1 from the `More
161161Downloads for Apple
162- Developers <https://developer.apple.com/download/more/> `_ page. Once
162+ Developers <https://developer.apple.com/download/more/> `__ page. Once
163163downloaded, 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.
1861862.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
190190macOS." It provides a simple command-line interface to install packages,
191191typically 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
407407These options are specific to Mozilla builds for macOS. For a more
408408general overview of build options and the ``mozconfig `` file, see
409409:ref: `Configuring Build Options `. For
410410specific 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
0 commit comments