diff --git a/docs/core/dev/banner-config.json b/docs/core/dev/banner-config.json new file mode 100644 index 0000000000..e01a8f983e --- /dev/null +++ b/docs/core/dev/banner-config.json @@ -0,0 +1 @@ +{"content": "You are reading the documentation for a development version of Tumult Core. Features and content may be changed prior to release."} \ No newline at end of file diff --git a/docs/core/latest b/docs/core/latest new file mode 120000 index 0000000000..2a8eccd9e2 --- /dev/null +++ b/docs/core/latest @@ -0,0 +1 @@ +v0.18 \ No newline at end of file diff --git a/docs/core/v0.10/banner-config.json b/docs/core/v0.10/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.10/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.11/banner-config.json b/docs/core/v0.11/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.11/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.12/banner-config.json b/docs/core/v0.12/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.12/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.13/banner-config.json b/docs/core/v0.13/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.13/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.14/banner-config.json b/docs/core/v0.14/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.14/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.15/banner-config.json b/docs/core/v0.15/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.15/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.16/banner-config.json b/docs/core/v0.16/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.16/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.17/banner-config.json b/docs/core/v0.17/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.17/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.18/banner-config.json b/docs/core/v0.18/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.18/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.3/banner-config.json b/docs/core/v0.3/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.3/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.4/banner-config.json b/docs/core/v0.4/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.4/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.5/banner-config.json b/docs/core/v0.5/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.5/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.6/banner-config.json b/docs/core/v0.6/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.6/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.7/banner-config.json b/docs/core/v0.7/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.7/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.8/banner-config.json b/docs/core/v0.8/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.8/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/v0.9/banner-config.json b/docs/core/v0.9/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/core/v0.9/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/core/versions.json b/docs/core/versions.json new file mode 100644 index 0000000000..df6ed7e35d --- /dev/null +++ b/docs/core/versions.json @@ -0,0 +1 @@ +[{"version": "latest", "name": "latest", "url": "/core/latest/"}, {"version": "v0.18", "name": "0.18.2", "url": "/core/v0.18/"}, {"version": "v0.17", "name": "0.17.0", "url": "/core/v0.17/"}, {"version": "v0.16", "name": "0.16.5", "url": "/core/v0.16/"}, {"version": "v0.15", "name": "0.15.2", "url": "/core/v0.15/"}, {"version": "v0.14", "name": "0.14.2", "url": "/core/v0.14/"}, {"version": "v0.13", "name": "0.13.0", "url": "/core/v0.13/"}, {"version": "v0.12", "name": "0.12.0", "url": "/core/v0.12/"}, {"version": "v0.11", "name": "0.11.5", "url": "/core/v0.11/"}, {"version": "v0.10", "name": "0.10.2", "url": "/core/v0.10/"}, {"version": "v0.9", "name": "0.9.1", "url": "/core/v0.9/"}, {"version": "v0.8", "name": "0.8.3", "url": "/core/v0.8/"}, {"version": "v0.7", "name": "0.7.0", "url": "/core/v0.7/"}, {"version": "v0.6", "name": "0.6.3", "url": "/core/v0.6/"}, {"version": "v0.5", "name": "0.5.1", "url": "/core/v0.5/"}, {"version": "v0.4", "name": "0.4.3", "url": "/core/v0.4/"}, {"version": "v0.3", "name": "0.3.2", "url": "/core/v0.3/"}, {"version": "dev", "name": "dev", "url": "/core/dev/"}] \ No newline at end of file diff --git a/docs/platform/dev/banner-config.json b/docs/platform/dev/banner-config.json new file mode 100644 index 0000000000..2872a90fa0 --- /dev/null +++ b/docs/platform/dev/banner-config.json @@ -0,0 +1 @@ +{"content": "You are reading the documentation for a development version of Tumult Analytics. Features and content may be changed prior to release."} \ No newline at end of file diff --git a/docs/platform/latest b/docs/platform/latest new file mode 120000 index 0000000000..c606f5b346 --- /dev/null +++ b/docs/platform/latest @@ -0,0 +1 @@ +v0.20 \ No newline at end of file diff --git a/docs/platform/package-banner-config.json b/docs/platform/package-banner-config.json index 4f1c40f7d0..bee902d960 100644 --- a/docs/platform/package-banner-config.json +++ b/docs/platform/package-banner-config.json @@ -1,4 +1,4 @@ { - "package_name": "Tumult Platform", + "package_name": "Tumult Analytics", "versions": {} } diff --git a/docs/platform/v0.10/banner-config.json b/docs/platform/v0.10/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.10/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.11/banner-config.json b/docs/platform/v0.11/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.11/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.12/banner-config.json b/docs/platform/v0.12/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.12/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.13/banner-config.json b/docs/platform/v0.13/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.13/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.14/banner-config.json b/docs/platform/v0.14/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.14/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.15/banner-config.json b/docs/platform/v0.15/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.15/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.16/banner-config.json b/docs/platform/v0.16/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.16/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.17/banner-config.json b/docs/platform/v0.17/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.17/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.18/banner-config.json b/docs/platform/v0.18/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.18/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.19/banner-config.json b/docs/platform/v0.19/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.19/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.20/banner-config.json b/docs/platform/v0.20/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.20/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.3/banner-config.json b/docs/platform/v0.3/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.3/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.4/banner-config.json b/docs/platform/v0.4/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.4/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.5/banner-config.json b/docs/platform/v0.5/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.5/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.6/banner-config.json b/docs/platform/v0.6/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.6/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.7/banner-config.json b/docs/platform/v0.7/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.7/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.8/banner-config.json b/docs/platform/v0.8/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.8/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/v0.9/banner-config.json b/docs/platform/v0.9/banner-config.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/docs/platform/v0.9/banner-config.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/docs/platform/versions.json b/docs/platform/versions.json new file mode 100644 index 0000000000..fbc879d68b --- /dev/null +++ b/docs/platform/versions.json @@ -0,0 +1 @@ +[{"version": "latest", "name": "latest", "url": "/platform/latest/"}, {"version": "v0.20", "name": "0.20.1", "url": "/platform/v0.20/"}, {"version": "v0.19", "name": "0.19.0", "url": "/platform/v0.19/"}, {"version": "v0.18", "name": "0.18.0", "url": "/platform/v0.18/"}, {"version": "v0.17", "name": "0.17.0", "url": "/platform/v0.17/"}, {"version": "v0.16", "name": "0.16.1", "url": "/platform/v0.16/"}, {"version": "v0.15", "name": "0.15.0", "url": "/platform/v0.15/"}, {"version": "v0.14", "name": "0.14.0", "url": "/platform/v0.14/"}, {"version": "v0.13", "name": "0.13.0", "url": "/platform/v0.13/"}, {"version": "v0.12", "name": "0.12.0", "url": "/platform/v0.12/"}, {"version": "v0.11", "name": "0.11.0", "url": "/platform/v0.11/"}, {"version": "v0.10", "name": "0.10.2", "url": "/platform/v0.10/"}, {"version": "v0.9", "name": "0.9.0", "url": "/platform/v0.9/"}, {"version": "v0.8", "name": "0.8.3", "url": "/platform/v0.8/"}, {"version": "v0.7", "name": "0.7.3", "url": "/platform/v0.7/"}, {"version": "v0.6", "name": "0.6.1", "url": "/platform/v0.6/"}, {"version": "v0.5", "name": "0.5.3", "url": "/platform/v0.5/"}, {"version": "v0.4", "name": "0.4.2", "url": "/platform/v0.4/"}, {"version": "v0.3", "name": "0.3.0", "url": "/platform/v0.3/"}, {"version": "dev", "name": "dev", "url": "/platform/dev/"}] \ No newline at end of file diff --git a/update-versions b/update-versions.py similarity index 96% rename from update-versions rename to update-versions.py index b6c8f0883f..d275e8aa80 100755 --- a/update-versions +++ b/update-versions.py @@ -40,7 +40,7 @@ def classify_versions(versions): tag_versions = { v for v in versions if v.startswith("v") and split_version_tag(v) is not None } - dev_versions = set(versions) - tag_versions + dev_versions = set(versions) - tag_versions - {"latest"} tag_versions = sorted(tag_versions, key=split_version_tag, reverse=True) dev_versions = sorted(dev_versions) @@ -78,7 +78,10 @@ def write_versions_json(docs_dir, tag_versions, dev_versions): latest_tag = tag_versions[0] print(f"Using {latest_tag} as latest version") sorted_versions.append("latest") - latest_link = (docs_dir / "latest").symlink_to(latest_tag) + latest_link = docs_dir / "latest" + latest_link.unlink(missing_ok=True) + latest_link.symlink_to(latest_tag) + sorted_versions.extend(tag_versions) sorted_versions.extend(dev_versions)