diff --git a/.scripts/archive-version.sh b/.scripts/archive-version.sh index a173537d04844e5b780800a4330defef5bd67a60..dd436e9ef0b6c180cea290376385b601dfa26f4f 100755 --- a/.scripts/archive-version.sh +++ b/.scripts/archive-version.sh @@ -45,6 +45,7 @@ for file in content/archive/$1/*.md; do -r "s/\.\.\/modules/..\/modules_$1/g" \ -r "s/\.\.\/em/..\/em_$1/g" \ -r "s/\.\.\/ep/..\/ep_$1/g" \ + -r "s -/tree/main/schema/ -/blob/v$1/schema/ g" \ $file done diff --git a/content/page/specs.md b/content/page/specs.md index 19ea833694a47b7efbee19dd43dab9fb0aa0361f..b84fdcc558e209767181c45999db86db4cc024bb 100644 --- a/content/page/specs.md +++ b/content/page/specs.md @@ -285,9 +285,9 @@ An [JSON Schema](https://json-schema.org/) specification of the TextAPI can be f You can find examples in our git repository: -- [collection.json](schema(sample/collection.json) [git](https://gitlab.gwdg.de/subugoe/emo/text-api/-/tree/main/schema/sample/collection.json) -- [manifest.json](schema(sample/manifest.json) [git](https://gitlab.gwdg.de/subugoe/emo/text-api/-/tree/main/schema/sample/manifest.json) -- [item.json](schema(sample/item.json) [git](https://gitlab.gwdg.de/subugoe/emo/text-api/-/tree/main/schema/sample/item.json) +- [this version's collection.json on git](https://gitlab.gwdg.de/subugoe/emo/text-api/-/tree/main/schema/sample/collection.json) +- [this version's manifest.json on git](https://gitlab.gwdg.de/subugoe/emo/text-api/-/tree/main/schema/sample/manifest.json) +- [this version's item.json on git](https://gitlab.gwdg.de/subugoe/emo/text-api/-/tree/main/schema/sample/item.json) ## Todos