Skip to content

Commit 6040402

Browse files
Merge pull request #1052 from allenbaron/do/translation
Add PURL redirect for DO translations
2 parents 7430427 + c6500c9 commit 6040402

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

config/doid.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ entries:
2525
- from: /imports/ro_import.owl
2626
to: https://raw.githubusercontent.com/DiseaseOntology/HumanDiseaseOntology/main/src/ontology/imports/ro_import.owl
2727

28+
- prefix: /translations/
29+
replacement: https://raw.githubusercontent.com/DiseaseOntology/HumanDiseaseOntology/main/src/ontology/releases/translations/
30+
tests:
31+
- from: /translations/doid-es.owl
32+
to: https://raw.githubusercontent.com/DiseaseOntology/HumanDiseaseOntology/main/src/ontology/releases/translations/doid-es.owl
33+
34+
- regex: ^/obo/doid/releases/([^\s/]+)/translations/(\S+)$
35+
replacement: https://raw.githubusercontent.com/DiseaseOntology/HumanDiseaseOntology/v$1/src/ontology/releases/translations/$2
36+
tests:
37+
- from: /releases/2025-01-31/translations/doid-international.owl
38+
to: https://raw.githubusercontent.com/DiseaseOntology/HumanDiseaseOntology/v2025-01-31/src/ontology/releases/translations/doid-international.owl
39+
2840
- regex: ^/obo/doid/releases/([^\s/]+)/(\S+)$
2941
replacement: https://raw.githubusercontent.com/DiseaseOntology/HumanDiseaseOntology/v$1/src/ontology/$2
3042
tests:

0 commit comments

Comments
 (0)