/
attributes.adoc
54 lines (48 loc) · 1.71 KB
/
attributes.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
// Document state: "nightly" for master, "stable" for last two releases,
// "unsupported" for the rest and "satellite" for satellite build
:DocState: stable
// Version numbers
:ProjectVersion: 3.9
:ProjectVersionPrevious: 3.8
:KatelloVersion: 4.11
//
// WHERE ARE MY ATTRIBUTES?
//
// Attributes are split into separate files
// Attribute files COMMON for all builds:
// * attributes-base.adoc (basic upstream attributes)
// * attributes-titles.adoc (title attributes + overrides per product)
// * attributes-typography.adoc (extra typographical attributes)
// Attribute files for SPECIFIC PRODUCTS:
// * attributes-foreman-el.adoc (attributes overridden or unique to Red Hat Enterprise Linux and clones)
// * attributes-foreman-deb.adoc (attributes overridden or unique to Debian/Ubuntu)
// * attributes-katello.adoc (attributes overridden or unique to Katello)
// * attributes-orcharhino.adoc (attributes overridden or unique to orcharhino)
// * attributes-satellite.adoc (attributes overridden or unique to Satellite)
// Define properties to represent each build. Allows 'or' and 'and' operations in conditions.
ifeval::["{build}" == "foreman-el"]
:foreman-el:
:foreman:
endif::[]
ifeval::["{build}" == "foreman-deb"]
:foreman-deb:
:foreman:
endif::[]
ifeval::["{build}" == "katello"]
:katello:
endif::[]
ifeval::["{build}" == "satellite"]
:satellite:
endif::[]
ifeval::["{build}" == "orcharhino"]
:orcharhino:
endif::[]
// Load base attributes
:SiteURL: https://docs.theforeman.org
:BaseURL: {SiteURL}/{ProjectVersion}/
include::attributes-base.adoc[]
include::attributes-typography.adoc[]
// Load overrides for the build
include::attributes-{build}.adoc[]
// Must be loaded after product-specific definitions
include::attributes-titles.adoc[]