mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1667831 - doc: fix more pygments r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91868
This commit is contained in:
parent
2ba6f43481
commit
31b3856da6
@ -81,7 +81,7 @@ Configuring the clang-format commit hook
|
||||
To run clang-format at commit phase, run ``mach boostrap`` or just add
|
||||
the following line in the ``hgrc`` file:
|
||||
|
||||
.. code:: comment-text
|
||||
.. code:: ini
|
||||
|
||||
[extensions]
|
||||
clang-format = ~/.mozbuild/version-control-tools/hgext/clang-format
|
||||
@ -233,7 +233,7 @@ Git
|
||||
To perform a rebase onto mozilla-central after the merge, a handy merge
|
||||
driver, ``clang-format-merge``, has been written:
|
||||
|
||||
.. code:: syntaxbox
|
||||
.. code:: shell
|
||||
|
||||
$ git clone https://github.com/emilio/clang-format-merge
|
||||
$ /path/to/clang-format-merge/git-wrapper rebase <upstream>
|
||||
|
@ -49,7 +49,7 @@ Build
|
||||
Build Firefox with the following options, which maximize speed and
|
||||
accuracy.
|
||||
|
||||
.. code:: language-html
|
||||
.. code::
|
||||
|
||||
ac_add_options --disable-jemalloc
|
||||
ac_add_options --disable-strip
|
||||
|
@ -381,7 +381,7 @@ are loaded, mach looks for specific signatures to detect mach commands.
|
||||
Currently, this is implemented through Python decorators. Here is a
|
||||
minimal mach command module:
|
||||
|
||||
.. code:: brush:
|
||||
.. code:: python
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
|
@ -25,7 +25,7 @@ Perform a debug build of Gecko.
|
||||
1. Edit your ``mozconfig`` file and add the following lines. These will
|
||||
ensure that the build includes debug checks and symbols.
|
||||
|
||||
.. code:: txt
|
||||
.. code::
|
||||
|
||||
ac_add_options --enable-debug
|
||||
ac_add_options --with-android-ndk="<path>/.mozbuild/android-ndk-r17b"
|
||||
@ -34,7 +34,7 @@ Perform a debug build of Gecko.
|
||||
``mozconfig`` if present. ``./mach configure`` will not allow
|
||||
artifact builds to be enabled when generating a debug build.
|
||||
|
||||
.. code:: txt
|
||||
.. code::
|
||||
|
||||
# ac_add_options --enable-artifact-builds
|
||||
|
||||
@ -113,7 +113,7 @@ Debug Native code in Android Studio
|
||||
debug window, and then select the ``lldb`` console tab. Type the
|
||||
following into the console:
|
||||
|
||||
.. code:: lldb
|
||||
.. code::
|
||||
|
||||
b <file>.cpp:<line number>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user