From 282ec498664a979b8b723e0266456315fcfbbeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Wed, 24 Jun 2026 15:05:19 +0200 Subject: [PATCH] docs: add product-name attributes to prevent naming drift MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduce canonical product-name attributes in global-attributes.yml so the legacy and next-generation product names have a single source of truth, loaded into every build via the existing load-global-site-attributes extension: oc-classic-name: ownCloud Classic oc-ocis-name: ownCloud Infinite Scale oc-ocis-name-short: oCIS This is Phase 4 of the "ownCloud Classic" rebrand (owncloud/docs#5111). The literal-string replacement across the docs (Tier A) and the code repos (Tier B) is already complete and merged; this attribute is the drift-prevention follow-up. Substituting these attributes into the existing .adoc occurrences is a separate, later stage and is not part of this change - the attributes are inert until referenced. Verified: global-attributes.yml parses with the project js-yaml, and a full `antora site.yml` build completes (exit 0, site generated) with no new errors - the only build errors are pre-existing "image not found" warnings in remote docs-ocis content, unrelated to this change. Part of the cross-repo rebrand tracked in owncloud/docs#5111. Co-Authored-By: Claude Opus 4.8 Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --- global-attributes.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/global-attributes.yml b/global-attributes.yml index fc2ed0e86..948d77091 100644 --- a/global-attributes.yml +++ b/global-attributes.yml @@ -12,6 +12,13 @@ # Only embed named opengraph images in docs-ui via src/partials/head-meta-opengraph.hbs sourced from docs/overlay page-component-build-list: 'docs, docs-main, ocis, server, webui, desktop, android, ios-app, branding' # common + # canonical product names - single source of truth to prevent naming drift. + # the legacy server product is "ownCloud Classic" (append a version only where + # relevant, e.g. {oc-classic-name} 10); the next-generation product is + # "ownCloud Infinite Scale" / "oCIS" and must never be renamed. + oc-classic-name: 'ownCloud Classic' + oc-ocis-name: 'ownCloud Infinite Scale' + oc-ocis-name-short: 'oCIS' docs-base-url: 'https://doc.owncloud.com' oc-complete-base-url: 'https://download.owncloud.com/server/stable' oc-contact-url: 'https://owncloud.com/contact/'