Skip to content

Commit

Permalink
urns: update vor v12
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Jun 10, 2024
1 parent df2a653 commit 11ee670
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/customize/other-pids/urns.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ Add the following to your `invenio.cfg`:
RDM_PERSISTENT_IDENTIFIER_PROVIDERS = [
...
+ # URN identifier
+ provider.DnbUrnProvider(
+ providers.DnbUrnProvider(
+ "urn",
+ client=provider.DNBUrnClient("dnb"),
+ client=providers.DNBUrnClient("dnb"),
+ label=_("URN"),
+ ),
]
Expand All @@ -66,6 +66,7 @@ RDM_PERSISTENT_IDENTIFIERS = {
+ "providers": ["urn"],
+ "required": True,
+ "label": _("URN"),
+ "is_enabled": providers.DnbUrnProvider.is_enabled,
+ },
...
}
Expand Down

0 comments on commit 11ee670

Please sign in to comment.