diff --git a/.gitmodules b/.gitmodules index 3425e0a..59c87a7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "dsc-style-bundle"] path = dsc-style-bundle url = https://github.com/SUSEdoc/dsc-style-bundle +[submodule "product-docs-common"] + path = product-docs-common + url = https://github.com/rancher/product-docs-common diff --git a/playbook-local.yml b/playbook-local.yml index 98eae40..3dfd087 100644 --- a/playbook-local.yml +++ b/playbook-local.yml @@ -28,3 +28,6 @@ antora: script_stem: header-scripts # <3> mermaid_initialize_options: # <4> - require: '@springio/antora-xref-extension' + - require: ./product-docs-common/extensions/dynamic-loading-attributes/load-global-site-attributes.js + attributefile: ./product-docs-common/global-attributes.yml + enabled: true \ No newline at end of file diff --git a/playbook-remote.yml b/playbook-remote.yml index b49f4c2..55eaa8c 100644 --- a/playbook-remote.yml +++ b/playbook-remote.yml @@ -30,3 +30,6 @@ antora: script_stem: header-scripts # <3> mermaid_initialize_options: # <4> - require: '@springio/antora-xref-extension' + - require: ./product-docs-common/extensions/dynamic-loading-attributes/load-global-site-attributes.js + attributefile: ./product-docs-common/global-attributes.yml + enabled: true diff --git a/product-docs-common b/product-docs-common new file mode 160000 index 0000000..c9d2015 --- /dev/null +++ b/product-docs-common @@ -0,0 +1 @@ +Subproject commit c9d2015c33fcb4bd893ac62284581847204de65e diff --git a/versions/latest/antora.yml b/versions/latest/antora.yml index 7d16097..bb716f4 100644 --- a/versions/latest/antora.yml +++ b/versions/latest/antora.yml @@ -5,7 +5,6 @@ display_version: 'Latest' start_page: en:introduction.adoc asciidoc: attributes: - product-name: "SUSEĀ® Rancher Prime: K3s" longhorn_docs_version: 1.8 nav: - modules/en/nav.adoc diff --git a/versions/latest/modules/en/pages/introduction.adoc b/versions/latest/modules/en/pages/introduction.adoc index 81238d2..5de8796 100644 --- a/versions/latest/modules/en/pages/introduction.adoc +++ b/versions/latest/modules/en/pages/introduction.adoc @@ -1,4 +1,4 @@ -= {product-name} += {k3s-product-name} :revdate: 2024-10-23 :page-revdate: {revdate} :page-role: -toc