forked from opendatahub-io/opendatahub-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
document-attributes-global.adoc
73 lines (67 loc) · 2.39 KB
/
document-attributes-global.adoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// For copyright
:YEAR: 2024
// conditional entities for RHOAI
ifdef::cloud-service[]
:productname-long: {org-name} OpenShift AI
:productname-short: OpenShift AI
:url-productname-long: red_hat_openshift_ai
:url-productname-short: openshift_ai
:vernum: 1
:install-package: Add-on
:openshift-platform: OpenShift
endif::[]
// conditional entities for RHOAI-SM
ifdef::self-managed[]
:productname-long: {org-name} OpenShift AI Self-Managed
:productname-short: OpenShift AI Self-Managed
:url-productname-long: red_hat_openshift_ai_self-managed
:url-productname-short: openshift_ai_self-managed
// change this to match the stage-<ver> branch, e.g. 1-latest, 1.n, to get the correct title for release notes
:vernum: 2-latest
:install-package: Operator
:openshift-platform: OpenShift Container Platform
:openshift-platform-url: openshift-container-platform
endif::[]
ifdef::upstream[]
:productname-long: Open Data Hub
:productname-short: Open Data Hub
:odh-user-group: pass:q,a[`odh-users`]
:odh-admin-group: pass:q,a[`odh-admins`]
:url-productname-long: open_data_hub
:url-productname-short: open_data_hub
// change this to match the stage-<ver> branch, e.g. 1-latest, 1.n, to get the correct title for release notes
:vernum: 2
:install-package: Operator
:openshift-platform: OpenShift Container Platform
:openshift-platform-url: openshift-container-platform
:odhdocshome: https://opendatahub.io/docs
endif::[]
ifndef::upstream[]
:oai-user-group: pass:q,a[`rhoai-users`]
:oai-admin-group: pass:q,a[`rhoai-admins`]
endif::[]
// conditional entities for release note titles using numbers or not
// If version number is 1-latest or 1, use Release notes. If version number is 1.x it is theoretically greater than 1, so use 1.n release notes.
ifeval::[{vernum} == 2-latest]
:release-notes-title: Release notes
:url-release-notes: release_notes
endif::[]
ifeval::[{vernum} == 2]
:release-notes-title: Release notes
:url-release-notes: release_notes
endif::[]
ifeval::[{vernum} > 2]
:release-notes-title: {vernum} release notes
:url-release-notes: {vernum}_release_notes
endif::[]
// generic entities
:org-name: Red{nbsp}Hat
:rhoaidocshome: https://docs.redhat.com/en/documentation/{url-productname-long}/{vernum}/
:default-format-url: html
:ocp-latest-version: 4.16
:ocp-minimum-version: 4.13
:osd-latest-version: 4
:rosa-latest-version: 4
:os-latest-version: 1.33
:rhelai-productname-long: Red{nbsp}Hat Enterprise Linux AI
:rhelai-productname-short: RHEL AI