Skip to content

Commit bc0ff66

Browse files
authored
Merge pull request #5441 from kenjis/update-contributing/documentation.rst
docs: update contributing/documentation.rst
2 parents d68e7f3 + 6c1a326 commit bc0ff66

1 file changed

Lines changed: 30 additions & 12 deletions

File tree

‎contributing/documentation.rst‎

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,11 @@ It is created automatically by inserting the following:
1515

1616
.. contents::
1717
:local:
18-
19-
.. raw:: html
20-
21-
<div class="custom-index container"></div>
18+
:depth: 2
2219

2320
.. contents::
2421
:local:
2522

26-
.. raw:: html
27-
28-
<div class="custom-index container"></div>
29-
30-
The <div> that is inserted as raw HTML is a event for the documentation's
31-
JavaScript to dynamically add links to any function and method definitions
32-
contained in the current page.
33-
3423
**************
3524
Tools Required
3625
**************
@@ -92,3 +81,32 @@ create these with the following tab triggers::
9281

9382
SubSubSubSubSection (!)
9483
"""""""""""""""""""""""
84+
85+
**********
86+
References
87+
**********
88+
89+
References to a Section
90+
=======================
91+
92+
If you need to link to a specific section, the first you add the label before a header::
93+
94+
.. _curlrequest-request-options-headers:
95+
96+
headers
97+
=======
98+
99+
And then you can reference it like this::
100+
101+
See :ref:`CURLRequest Class <curlrequest-request-options-headers>` for how to add.
102+
103+
See :ref:`curlrequest-request-options-headers` for how to add.
104+
105+
References to a Page
106+
====================
107+
108+
You can reference a page like the following::
109+
110+
:doc:`Session <../libraries/sessions>` library
111+
112+
:doc:`../libraries/sessions` library

0 commit comments

Comments
 (0)