Skip to content

Commit 0556bbc

Browse files
authored
docs: Fix the incorrect header hierarchy that was resulting in incorrect TOC tree (#51538)
1 parent 5903faa commit 0556bbc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/running-tests/webkitgtk_minibrowser.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ to run it manually you can find it on any of this paths:
1616
* Debian or Ubuntu: `/usr/lib/${TRIPLET}/webkitgtk-${APIVERSION}/MiniBrowser`
1717
* Note: `${TRIPLET}` is the output of the command `gcc -dumpmachine`
1818

19-
# Nightly universal bundle
19+
## Nightly universal bundle
2020

2121
Alternatively you can pass to `wpt` the flags `--install-browser --channel=nightly`
2222
and then `wpt` will automatically download the last bundle and unpack it on the
@@ -32,7 +32,7 @@ issues with this bundle then a possible workaround is to try to run the tests he
3232
inside a virtualized display like `Xvfb` (see command `xvfb-run -a` on Debian/Ubuntu).
3333
You can do this also from inside a virtual machine or Docker container.
3434

35-
# Headless mode
35+
## Headless mode
3636

3737
WebKitGTK does not have a native headless mode, but you can workaround that
3838
by running the tests inside a virtualized display. For example you can use
@@ -44,7 +44,7 @@ Example:
4444
xvfb-run -a ./wpt run [more-options] webkitgtk_minibrowser [tests-to-run]
4545

4646

47-
# Using a custom WebKitGTK build
47+
## Using a custom WebKitGTK build
4848

4949
If you want to test with a custom WebKitGTK build the easiest way is that you
5050
install this build in a temporary directory (`/tmp/wkgtktest` in this example),
@@ -68,7 +68,7 @@ Note: It is important that you build WebKitGTK against the libraries of your sys
6868
Do not build WebKitGTK inside Flatpak or other container unless you run `wpt` also
6969
from inside this container.
7070

71-
# Running tests locally
71+
## Running tests locally
7272

7373
Is a good idea that you increase the verbosity of `wpt` by passing to it the flag `--log-mach=-`
7474
Also, please check the documentation about [Running Tests from the Local System](from-local-system).

docs/running-tests/wpewebkit_minibrowser.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ to run it manually you can find it on any of this paths:
1515
* Debian or Ubuntu: `/usr/lib/${TRIPLET}/wpe-webkit-${APIVERSION}/MiniBrowser`
1616
* Note: `${TRIPLET}` is the output of the command `gcc -dumpmachine`
1717

18-
# Nightly universal bundle
18+
## Nightly universal bundle
1919

2020
Alternatively you can pass to `wpt` the flags `--install-browser --channel=nightly`
2121
and then `wpt` will automatically download the last bundle and unpack it on the
@@ -30,7 +30,7 @@ If you are using proprietary graphics drivers (NVIDIA, AMDGPU PRO, etc) and you
3030
issues with this bundle then a possible workaround is to try to run the tests in
3131
headless mode, for that pass the flag `--headless` to `wpt`
3232

33-
# Headless mode
33+
## Headless mode
3434

3535
The WPE MiniBrowser needs a Wayland display to run, but if you don't have one
3636
or you want to enable headless mode you can pass the flag `--headless` to `wpt`.
@@ -40,7 +40,7 @@ Example:
4040
./wpt run [more-options] --headless wpewebkit_minibrowser [tests-to-run]
4141
```
4242

43-
# Using a custom WPE WebKit build
43+
## Using a custom WPE WebKit build
4444

4545
If you want to test with a custom WPE WebKit build the easiest way is that you
4646
install this build in a temporary directory (`/tmp/wpetest` in this example),
@@ -64,7 +64,7 @@ Note: It is important that you build WPE WebKit against the libraries of your sy
6464
Do not build WPE WebKit inside Flatpak or other container unless you run `wpt` also
6565
from inside this container.
6666

67-
# Running tests locally
67+
## Running tests locally
6868

6969
Is a good idea that you increase the verbosity of `wpt` by passing to it the flag `--log-mach=-`
7070
Also, please check the documentation about [Running Tests from the Local System](from-local-system).

0 commit comments

Comments
 (0)