Skip to content

Commit def0a38

Browse files
committed
RFC14,25: fix reference to the "Reserved Resource Types"
Problem: RFC25 references a section that only exists in the canonical jobspec specification (RFC14). Solution: make an explicit label for the section and reference it from RFC25 with `:ref:`.
1 parent 20fc45d commit def0a38

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spec_14.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ following keys
220220
matching resource identifiers.
221221

222222

223+
.. _rfc14-reserved-resource-types:
224+
223225
Reserved Resource Types
224226
^^^^^^^^^^^^^^^^^^^^^^^
225227

spec_25.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ following:
100100
**type**
101101
The ``type`` key for a resource SHALL indicate the type of resource to be
102102
matched. In V1, only four resource types are valid: [``node``, ``slot``, ``core``,
103-
and ``gpu``]. ``slot`` types are described in the **Reserved Resource Types** section
104-
below.
103+
and ``gpu``]. ``slot`` types are described in the :ref:`rfc14-reserved-resource-types`.
105104

106105
**count**
107106
The ``count`` key SHALL indicate the desired number of

0 commit comments

Comments
 (0)