README.md: remove leading digit+'_' from anchors
this fixes warnings with doxygen's (1.9.4) generator:
README.md:22: warning: unable to resolve reference to '1_unit-tests' for
\ref command
README.md:23: warning: unable to resolve reference to '2_example-tests'
for \ref command
README.md:24: warning: unable to resolve reference to '3_encoder-tests'
for \ref command
README.md:30: warning: unable to resolve reference to
'1_running-test_libaom-directly' for \ref command
README.md:31: warning: unable to resolve reference to
'2_running-the-tests-via-the-cmake-build' for \ref command
this also fixes the output from kramdown 2.4.0, pandoc 2.9.2.1 and
gitiles
Bug: aomedia:3316
Change-Id: Ia4258e3b0c19bf167a3e889fbec2f4a4f17bb1bb
diff --git a/README.md b/README.md
index 0146003..d70c707 100644
--- a/README.md
+++ b/README.md
@@ -19,16 +19,16 @@
- [Build with VMAF support](#build-with-vmaf)
2. [Testing the library](#testing-the-av1-codec)
- [Basics](#testing-basics)
- - [Unit tests](#1_unit-tests)
- - [Example tests](#2_example-tests)
- - [Encoder tests](#3_encoder-tests)
+ - [Unit tests](#unit-tests)
+ - [Example tests](#example-tests)
+ - [Encoder tests](#encoder-tests)
- [IDE hosted tests](#ide-hosted-tests)
- [Downloading test data](#downloading-the-test-data)
- [Adding a new test data file](#adding-a-new-test-data-file)
- [Additional test data](#additional-test-data)
- [Sharded testing](#sharded-testing)
- - [Running tests directly](#1_running-test_libaom-directly)
- - [Running tests via CMake](#2_running-the-tests-via-the-cmake-build)
+ - [Running tests directly](#running-test_libaom-directly)
+ - [Running tests via CMake](#running-the-tests-via-the-cmake-build)
3. [Coding style](#coding-style)
4. [Submitting patches](#submitting-patches)
- [Login cookie](#login-cookie)
@@ -341,7 +341,7 @@
the presence of the AV1 source code and a working build of the AV1 library and
applications.
-#### 1. Unit tests: {#1_unit-tests}
+#### 1. Unit tests: {#unit-tests}
The unit tests can be run at build time:
@@ -355,7 +355,7 @@
$ make runtests
~~~
-#### 2. Example tests: {#2_example-tests}
+#### 2. Example tests: {#example-tests}
The example tests require a bash shell and can be run in the following manner:
@@ -370,7 +370,7 @@
$ path/to/aom/test/examples.sh --bin-path examples
~~~
-#### 3. Encoder tests: {#3_encoder-tests}
+#### 3. Encoder tests: {#encoder-tests}
When making a change to the encoder run encoder tests to confirm that your
change has a positive or negligible impact on encode quality. When running these
@@ -487,7 +487,7 @@
The AV1 codec library unit tests are built upon gtest which supports sharding of
test jobs. Sharded test runs can be achieved in a couple of ways.
-#### 1. Running test\_libaom directly: {#1_running-test_libaom-directly}
+#### 1. Running test\_libaom directly: {#running-test_libaom-directly}
~~~
# Set the environment variable GTEST_TOTAL_SHARDS to control the number of
@@ -501,7 +501,7 @@
To create a test shard for each CPU core available on the current system set
`GTEST_TOTAL_SHARDS` to the number of CPU cores on your system minus one.
-#### 2. Running the tests via the CMake build: {#2_running-the-tests-via-the-cmake-build}
+#### 2. Running the tests via the CMake build: {#running-the-tests-via-the-cmake-build}
~~~
# For IDE based builds, ENABLE_IDE_TEST_HOSTING must be enabled. See