Skip to content

Commit 13db87e

Browse files
committed
fix: Restore previous section levels
1 parent 8d8fd7f commit 13db87e

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

PURL-SPECIFICATION.rst

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ sometimes look like a ``host`` but its interpretation is specific to a ``type``.
5555

5656

5757
Some ``purl`` examples
58-
----------------------
58+
~~~~~~~~~~~~~~~~~~~~~~
5959

6060
::
6161

@@ -72,7 +72,7 @@ Some ``purl`` examples
7272

7373

7474
A ``purl`` is a URL
75-
-------------------
75+
~~~~~~~~~~~~~~~~~~~
7676

7777
- A ``purl`` is a valid URL and URI that conforms to the URL definitions or
7878
specifications at:
@@ -110,7 +110,7 @@ A ``purl`` is a URL
110110

111111

112112
Rules for each ``purl`` component
113-
---------------------------------
113+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114114

115115
A ``purl`` string is an ASCII URL string composed of seven components.
116116

@@ -226,8 +226,6 @@ The rules for each component are:
226226

227227
- The ``subpath`` MUST be interpreted as relative to the root of the package
228228

229-
Characters and transformations
230-
------------------------------
231229

232230
Permitted characters
233231
~~~~~~~~~~~~~~~~~~~~
@@ -301,7 +299,7 @@ Latin letters (``A``–``Z``) to their corresponding lowercase forms (``a``–``
301299
All other ASCII characters remain unchanged.
302300

303301
How to build ``purl`` string from its components
304-
------------------------------------------------
302+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305303

306304
Building a ``purl`` ASCII string works from left to right, from ``type`` to
307305
``subpath``.
@@ -376,7 +374,7 @@ To build a ``purl`` string from its components:
376374

377375

378376
How to parse a ``purl`` string in its components
379-
------------------------------------------------
377+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
380378

381379
Parsing a ``purl`` ASCII string into its components works from right to left,
382380
from ``subpath`` to ``type``.
@@ -456,13 +454,13 @@ To parse a ``purl`` string in its components:
456454

457455

458456
Known ``purl`` types
459-
--------------------
457+
~~~~~~~~~~~~~~~~~~~~
460458

461459
There are several known ``purl`` package type definitions tracked in the
462460
separate `<PURL-TYPES.rst>`_ document.
463461

464462
Known ``qualifiers`` key/value pairs
465-
------------------------------------
463+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
466464

467465
Note: Do not abuse ``qualifiers``: it can be tempting to use many qualifier
468466
keys but their usage should be limited to the bare minimum for proper package
@@ -504,7 +502,7 @@ all package types:
504502

505503

506504
Tests
507-
-----
505+
~~~~~
508506

509507
To support the language-neutral testing of ``purl`` implementations, a test suite
510508
is provided as JSON document named ``test-suite-data.json``. This JSON document
@@ -539,12 +537,12 @@ every listed test object, run these tests:
539537

540538

541539
License
542-
-------
540+
~~~~~~~
543541

544542
This document is licensed under the MIT license
545543

546544
Definitions
547-
-----------
545+
~~~~~~~~~~~
548546

549547
[ASCII] See, e.g.,
550548

0 commit comments

Comments
 (0)