-
- Downloads
browse: Support optional parts of persistent identifiers
This commits adds support for optional parts of swh persistent identifiers in order to add origin context when resolving the swh object to browse. It is also possible to set lines to highlight for swh content object. Also to be noted, persistent id urls are now rooted to / instead of /browse. Closes T1042
Showing
- docs/index.rst 1 addition, 0 deletionsdocs/index.rst
- docs/uri-scheme-browse.rst 0 additions, 2 deletionsdocs/uri-scheme-browse.rst
- docs/uri-scheme-identifiers.rst 8 additions, 8 deletionsdocs/uri-scheme-identifiers.rst
- swh/web/browse/identifiers.py 15 additions, 9 deletionsswh/web/browse/identifiers.py
- swh/web/browse/urls.py 0 additions, 1 deletionswh/web/browse/urls.py
- swh/web/doc_config.py 1 addition, 0 deletionsswh/web/doc_config.py
- swh/web/tests/browse/views/test_identifiers.py 19 additions, 0 deletionsswh/web/tests/browse/views/test_identifiers.py
- swh/web/urls.py 5 additions, 1 deletionswh/web/urls.py
Loading
-
Some references in the commit message have been migrated:
- T1042 is now #1042 (closed)
Please register or sign in to comment