Skip to content

Commit 3486ac3

Browse files
authored
📚 Update versionadded (#1072)
1 parent 2ddc0a2 commit 3486ac3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎docs/builders.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ or
169169
170170
needs_id
171171
--------
172-
.. versionadded:: 1.4.0
172+
.. versionadded:: 2.0.0
173173
174174
The **needs_id** builder exports all found needs and selected filter results to a set json files of each need with the name is ``id`` of need.
175175

‎docs/configuration.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ Example:
17921792
The created ``needs.json`` file gets stored in the ``outdir`` of the current builder.
17931793
So if ``html`` is used as builder, the final location is e.g. ``_build/html/needs.json``.
17941794
1795-
.. versionadded:: 1.4.0
1795+
.. versionadded:: 2.0.0
17961796
17971797
Setting ``needs_reproducible_json = True`` will ensure the JSON output is reproducible,
17981798
e.g. by removing timestamps from the output.
@@ -1803,7 +1803,7 @@ Example:
18031803
needs_build_json_per_id
18041804
~~~~~~~~~~~~~~~~~~~~~~~
18051805
1806-
.. versionadded:: 1.4.0
1806+
.. versionadded:: 2.0.0
18071807
18081808
Builds list json files for each need. The name of each file is the ``id`` of need.
18091809
This option works like :ref:`needs_build_json`.
@@ -1825,7 +1825,7 @@ Example:
18251825
needs_build_json_per_id_path
18261826
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18271827
1828-
.. versionadded:: 1.4.0
1828+
.. versionadded:: 2.0.0
18291829
18301830
This option sets the location of the set of ``needs.json`` for every needs-id.
18311831
@@ -1944,7 +1944,7 @@ constraints_passed is a bool showing if ALL constraints of a corresponding need
19441944
19451945
constraints_results is a dictionary similar in structure to needs_constraints above. Instead of executable python statements, inner values contain a bool describing if check_0, check_1 ... passed successfully.
19461946
1947-
.. versionadded:: 1.4.0
1947+
.. versionadded:: 2.0.0
19481948
19491949
The ``"error_message"`` key can contain a string, with Jinja templating, which will be displayed if the constraint fails, and saved on the need as ``constraints_error``:
19501950

0 commit comments

Comments
 (0)