Skip to content

Commit 3d645f8

Browse files
authored
Add anchors for sections of contributing.md (#179)
Addresses php/web-doc#60 until that changes to use a Markdown engine that automatically creates anchors for headers.
1 parent bb6964b commit 3d645f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/contributing.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ or by fixing one by [submitting a pull request](#submit-a-pull-request).
66
As all the repositories are hosted on GitHub,
77
you will need a GitHub account to do either of these.
88

9+
<a name="report-a-bug"></a>
910
## Report a Bug
1011

1112
If you have found a bug on any of the PHP documentation pages,
@@ -18,13 +19,15 @@ you can file a bug report by doing the following:
1819
- add all necessary details to the description textarea
1920
- click the "Submit new issue" button to file your bug report
2021

22+
<a name="submit-a-pull-request"></a>
2123
## Submit a Pull Request
2224

2325
There are two ways to make changes to the documentation:
2426
- make [minor changes](#minor-changes) by editing files on GitHub
2527
- make [more complex changes](#more-complex-changes--building-the-php-documentation)
2628
and validate/build the documentation locally on your computer
2729

30+
<a name="minor-changes"></a>
2831
## Minor changes
2932

3033
To make trivial changes (typos, shorter wording changes or adding/removing short segments)
@@ -45,6 +48,7 @@ The repository will run a few basic checks on the changes
4548
(e.g. whether the XML markup is valid, whether trailing whitespaces are stripped, etc.)
4649
and your PR is ready to be discussed with and merged by the maintainers.
4750

51+
<a name="more-complex-changes--building-the-php-documentation"></a>
4852
## More Complex Changes / Building the PHP documentation
4953

5054
To build and view the documentation after making more extensive changes
@@ -59,10 +63,12 @@ If you'd like to know more about what each repository is
5963
and/or how PHP's documentation is built please refer to
6064
the [overview](overview.md).
6165

66+
<a name="make-changes-to-the-documentation"></a>
6267
### Make changes to the documentation
6368

6469
[Make your changes](editing.md) keeping in mind the [style guidelines](style.md).
6570

71+
<a name="commit-changes-and-open-a-pr"></a>
6672
### Commit changes and open a PR
6773

6874
- commit your changes

0 commit comments

Comments
 (0)