diff --git a/antora-playbook.yml b/antora-playbook.yml index 31ee9499c..96950a162 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -11,9 +11,10 @@ urls: # This replaces the component version in the URL of the latest stable version with 'stable' # i.e. /commons-operator/stable/index.html instead of /commons-operator/0.3/index.html latest_version_segment: stable + redirect_facility: netlify content: - branches: [release-*, main] + branches: [release-*, main, distributed-component-compat] tags: docs/* sources: - url: https://github.com/stackabletech/documentation.git diff --git a/local-antora-playbook.yml b/local-antora-playbook.yml index 83aa9a9ad..231c791de 100644 --- a/local-antora-playbook.yml +++ b/local-antora-playbook.yml @@ -13,7 +13,7 @@ urls: latest_version_segment: stable content: - branches: [release-*, main] + branches: [release-*, main, distributed-component-compat] tags: docs/* sources: - url: ./ diff --git a/modules/operators/nav.adoc b/modules/operators/nav.adoc index 9e5c50b99..2a90832c8 100644 --- a/modules/operators/nav.adoc +++ b/modules/operators/nav.adoc @@ -1,4 +1,4 @@ * xref:index.adoc[] ** xref:supported_versions.adoc[] ** xref:monitoring.adoc[] -include::partial$operator_doc_links.adoc[] \ No newline at end of file +include::partial$operator_doc_links.adoc[] diff --git a/modules/operators/partials/operator_doc_links.adoc b/modules/operators/partials/operator_doc_links.adoc index 6c40749ce..92ef0a2b0 100644 --- a/modules/operators/partials/operator_doc_links.adoc +++ b/modules/operators/partials/operator_doc_links.adoc @@ -1,3 +1,4 @@ +// docs for the syntax below: https://docs.antora.org/antora/latest/navigation/include-lists/#include-a-nested-list ** xref:airflow::index.adoc[Apache Airflow] ** xref:druid::index.adoc[Apache Druid] ** xref:hbase::index.adoc[Apache HBase] @@ -9,6 +10,11 @@ ** xref:superset::index.adoc[Apache Superset] ** xref:trino::index.adoc[Trino] ** xref:zookeeper::index.adoc[Apache ZooKeeper] -** xref:opa::index.adoc[OpenPolicyAgent] +** xref:opa:index.adoc[Open Policy Agent] ++ +-- +include::opa:partial$nav.adoc[] +-- ** xref:commons-operator::index.adoc[Commons] +** xref:listener-operator::index.adoc[Listener] ** xref:secret-operator::index.adoc[Secret] diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 000000000..cd9ea1127 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,10 @@ +[[redirects]] + from = "/opa/nightly/*" + to = "/home/nightly/opa/:splat" + status = 302 + +[[redirects]] + from = "/opa/stable/*" + to = "/home/stable/opa/:splat" + status = 302 + force = true # We're generating a compat page, but redirect it