diff --git a/Makefile b/Makefile index 2509096f4..6fd498aa2 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,14 @@ local: ss-local-playbook.yml \ 2>&1 | tee tmp/local-build.log +.PHONY: features +features: + mkdir -p tmp + npx antora --version + npx antora --stacktrace --log-format=pretty --log-level=info \ + ss-features-playbook.yml \ + 2>&1 | tee tmp/local-build.log + .PHONY: local-silencing local-silencing: mkdir -p tmp diff --git a/ss-features-playbook.yml b/ss-features-playbook.yml new file mode 100644 index 000000000..e77967483 --- /dev/null +++ b/ss-features-playbook.yml @@ -0,0 +1,42 @@ +site: + title: 'SUSEĀ® Rancher Prime: Observability' + start_page: latest@suse-observability:en:classic.adoc + +content: + sources: + - url: ./ + branches: [HEAD] + start_paths: [shared, docs/latest] + +ui: + bundle: + url: https://github.com/SUSEdoc/dsc-style-bundle/blob/main/default-ui/ui-bundle.zip?raw=true + snapshot: true + supplemental_files: ./dsc-style-bundle/supplemental-files/rancher + +asciidoc: + attributes: + ss-build-type: 'product' # 'community' or 'product' + stackstate-product-name: "SUSEĀ® Observability" + page-pagination: '' + tabs-sync-option: '' + ss-ff-silencing_enabled: true + ss-ff-otelLogs_enabled: true + next-release-version: '0.0.1' + extensions: + - '@asciidoctor/tabs' + +antora: + extensions: + - require: '@antora/lunr-extension' + index_latest_only: true + - require: '@sntke/antora-mermaid-extension' + mermaid_library_url: https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs # <2> + script_stem: header-scripts # <3> + mermaid_initialize_options: # <4 + - require: ./product-docs-common/extensions/dynamic-loading-attributes/load-global-site-attributes.js + attributefile: ./product-docs-common/global-attributes.yml + enabled: true + +output: + dir: build/site diff --git a/ss-local-playbook.yml b/ss-local-playbook.yml index 74cc6877e..1ecc897f2 100644 --- a/ss-local-playbook.yml +++ b/ss-local-playbook.yml @@ -21,7 +21,7 @@ asciidoc: page-pagination: '' tabs-sync-option: '' ss-ff-silencing_enabled: false - ss-ff-otelLogs_enabled: true + ss-ff-otelLogs_enabled: false next-release-version: '0.0.1' extensions: - '@asciidoctor/tabs'