From b8bb585888f86a9de80e367c8a04ca7ce1e12fb9 Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Fri, 11 Sep 2026 10:46:21 +0200 Subject: [PATCH] fix: some ocis related changes --- .../admin/pages/deployment/webui/webui-theming.adoc | 9 ++------- .../admin/pages/deployment/webui/webui-theming.adoc | 9 ++------- .../admin/pages/deployment/webui/webui-theming.adoc | 9 ++------- site.yml | 12 ++++++++++-- 4 files changed, 16 insertions(+), 23 deletions(-) diff --git a/content/ocis/8.1/modules/admin/pages/deployment/webui/webui-theming.adoc b/content/ocis/8.1/modules/admin/pages/deployment/webui/webui-theming.adoc index e320750..cf4aea4 100644 --- a/content/ocis/8.1/modules/admin/pages/deployment/webui/webui-theming.adoc +++ b/content/ocis/8.1/modules/admin/pages/deployment/webui/webui-theming.adoc @@ -42,13 +42,8 @@ Some theme keys are mandatory, like the `common.shareRoles` settings. Such manda == Configuring a Theme -:configuring_add_on_text: -ifdef::page-component-version-is-prerelease[] -:configuring_add_on_text: from the latest stable version. -endif::[] - -.Sourced from https://github.com/owncloud/ocis/blob/{compose_version}{web_assets_path}theme.json[GitHub, _window=blank] {configuring_add_on_text} +.Sourced from https://github.com/owncloud/ocis/blob/{ocis_git_version}{web_assets_path}theme.json[GitHub, _window=blank]. [source,json] ---- -include::{ocis_services_raw_url}{compose_version}{web_assets_path}theme.json[] +include::{ocis_services_raw_url}{ocis_git_version}{web_assets_path}theme.json[] ---- diff --git a/content/ocis/8.2/modules/admin/pages/deployment/webui/webui-theming.adoc b/content/ocis/8.2/modules/admin/pages/deployment/webui/webui-theming.adoc index e320750..cf4aea4 100644 --- a/content/ocis/8.2/modules/admin/pages/deployment/webui/webui-theming.adoc +++ b/content/ocis/8.2/modules/admin/pages/deployment/webui/webui-theming.adoc @@ -42,13 +42,8 @@ Some theme keys are mandatory, like the `common.shareRoles` settings. Such manda == Configuring a Theme -:configuring_add_on_text: -ifdef::page-component-version-is-prerelease[] -:configuring_add_on_text: from the latest stable version. -endif::[] - -.Sourced from https://github.com/owncloud/ocis/blob/{compose_version}{web_assets_path}theme.json[GitHub, _window=blank] {configuring_add_on_text} +.Sourced from https://github.com/owncloud/ocis/blob/{ocis_git_version}{web_assets_path}theme.json[GitHub, _window=blank]. [source,json] ---- -include::{ocis_services_raw_url}{compose_version}{web_assets_path}theme.json[] +include::{ocis_services_raw_url}{ocis_git_version}{web_assets_path}theme.json[] ---- diff --git a/content/ocis/8.3/modules/admin/pages/deployment/webui/webui-theming.adoc b/content/ocis/8.3/modules/admin/pages/deployment/webui/webui-theming.adoc index e320750..cf4aea4 100644 --- a/content/ocis/8.3/modules/admin/pages/deployment/webui/webui-theming.adoc +++ b/content/ocis/8.3/modules/admin/pages/deployment/webui/webui-theming.adoc @@ -42,13 +42,8 @@ Some theme keys are mandatory, like the `common.shareRoles` settings. Such manda == Configuring a Theme -:configuring_add_on_text: -ifdef::page-component-version-is-prerelease[] -:configuring_add_on_text: from the latest stable version. -endif::[] - -.Sourced from https://github.com/owncloud/ocis/blob/{compose_version}{web_assets_path}theme.json[GitHub, _window=blank] {configuring_add_on_text} +.Sourced from https://github.com/owncloud/ocis/blob/{ocis_git_version}{web_assets_path}theme.json[GitHub, _window=blank]. [source,json] ---- -include::{ocis_services_raw_url}{compose_version}{web_assets_path}theme.json[] +include::{ocis_services_raw_url}{ocis_git_version}{web_assets_path}theme.json[] ---- diff --git a/site.yml b/site.yml index cf1698f..bd3fd31 100644 --- a/site.yml +++ b/site.yml @@ -19,9 +19,17 @@ content: sources: - url: . start_paths: + # for any components (such as ocis) where versions to render are defined manually, + # you must define e.g. `content/ocis/8.3` and not `content/ocis/8.3/*` + # otherwise this globs one level too deep, into modules/, and Antora then aborts + # with "antora.yml not found". + # note that any version NOT named is not rendered and could safely be deleted if outdated. + # note that sometimes outdated versions may not render at all because of attribute changes. - content/main - content/server/* - - content/ocis/* + - content/ocis/8.3 + - content/ocis/8.2 + - content/ocis/8.1 - content/webui - content/desktop/* - content/ios/* @@ -42,7 +50,7 @@ urls: # each component's prerelease version, falling back to the latest release. runtime: - # local content only -- nothing to fetch + # local content only, no other git repos to fetch fetch: false cache_dir: ./.cache