Skip to content

Commit

Permalink
Merge branch 'main' into data-license-update
Browse files Browse the repository at this point in the history
  • Loading branch information
ItIsJordan committed Mar 25, 2024
2 parents d84bef6 + eb392fe commit 5881aef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ To add a link to a related record object, you can use the ``add_related_recid``

In the last example, we are adding a link to the submission with the record ID value of ``3``.

**Please note:** This field should not be used for self-referencing, the IDs inserted should be for OTHER related records.

The documentation for this feature can be found here: `Linking records`_.

.. _`Linking records`: https://hepdata-submission.readthedocs.io/en/latest/bidirectional.html#linking-records
Expand Down Expand Up @@ -315,6 +317,8 @@ To add a link to a related table object, you can use the ``add_related_doi`` fun

In the second example, we are adding a link to the table with a DOI value of `10.17182/hepdata.12882.v1/t2 <https://doi.org/10.17182/hepdata.12882.v1/t2>`_.

**Please note:** This field should not be used for self-referencing, the DOIs inserted should be for OTHER related tables.

The documentation for this feature can be found here: `Linking tables`_.

.. _`Linking tables`: https://hepdata-submission.readthedocs.io/en/latest/bidirectional.html#linking-tables
Expand Down

0 comments on commit 5881aef

Please sign in to comment.