Skip to content

Commit d6e76d6

Browse files
committed
reorg
1 parent 87f36b6 commit d6e76d6

File tree

3 files changed

+145
-123
lines changed

3 files changed

+145
-123
lines changed

docs/docset.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ toc:
9292
- file: tabs.md
9393
- file: tagged_regions.md
9494
- file: titles.md
95-
- file: versions-types.md
95+
- folder: versions
96+
- children:
97+
- file: index.md
98+
- file: version-components.md
9699
# nested TOCs are only allowed from docset.yml
97100
# to prevent them from being nested deeply arbitrarily
98101
- toc: development

docs/versions-types.md renamed to docs/versions/content-patterns.md

Lines changed: 21 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,7 @@
11
---
2-
navigation_title: "Versions and types"
2+
navigation_title: "Content patterns"
33
---
4-
# Documenting versions and deployment types
5-
6-
In the new documentation system, we document features in a centralized place, regardless of the software version or deployment type it applies to.
7-
For example, we might document the serverless and v9 implementations of a feature on a single page, and then use content patterns to highlight where prerequisites, options, or behaviors differ between these implementations.
8-
9-
This approach improves our documentation in several ways:
10-
11-
* When a user arrives in our documentation from an outside source, they'll be likelier to land on a page or section that applies to them.
12-
* There is a single "source of truth" for each feature, which helps us to maintain consistency, accuracy, and maintainability of our documentation over time, and avoids "drift" between multiple similar sets of documentation.
13-
* Comparing and contrasting differences helps users to understand what is available to them, and improves awareness of the ways certain offerings might improve their experience.
14-
15-
::::{note}
16-
This page documents the first version of our approach to documenting differences in versions and deployment types, using our current technologies.
17-
Our approach might change as additional documentation features become available.
18-
::::
19-
20-
## Basic concepts and principles
21-
22-
:::{dropdown} Versioning facets
23-
There are multiple facets to versioning that we need to consider:
24-
25-
* **Elasticsearch / Kibana flavor:** The feature base used for basic functionality. Either **Serverless** (sometimes "Elastic Stack Serverless") or **Stack <version>**
26-
27-
% TODO: Final term for "Stack"
28-
* **Deployment type:** The way Elastic is deployed. Either **Serverless** (sometimes "Elastic Stack Serverless"), **Elastic Cloud Hosted**, **Elastic Cloud on Kubernetes**, **Elastic Cloud Enterprise**, or **Self-managed**.
29-
30-
All deployment types other than **Serverless** use the **Stack <version>** flavor of Elasticsearch / Kibana.
31-
32-
% TODO: Final term for "Self-managed"
33-
34-
* **Project type:** The Serverless project types where a feature can be used.
35-
36-
* **Other versioning schemes:** Elastic products or tools with a versioned component, where stack versioning is not followed.
37-
38-
E.g. clients, Elastic Common Schema
39-
40-
**How many facets do I need to use?**
41-
42-
The role of these labels is providing a trust signal that the reader is viewing content that’s applicable to them. This means that the relevant labels should appear on all pages. However, we can choose to expose only one versioning plane on pages where only one plane is relevant:
43-
44-
* Depending on what you're documenting, you might need to include information from multiple facets. For example, when relevant features exist at both the stack and the deployment level, both of these groups might be used together (e.g. security, user management, trust).
45-
46-
* In some sections, such as **Explore and analyze**, features generally only differ by Elasticsearch flavor. In these cases, you can choose to include only this facet on the page.
47-
:::
48-
49-
:::{dropdown} Defaults and hierarchy
50-
51-
You should not assume a default deployment type or Elasticsearch / Kibana flavor.
52-
53-
Treat all flavors and deployment types equally. Don't treat one as the "base" and the other as the "exception".
54-
55-
However, we should all display our flavors and versions in the same order for consistency. This order reflects organizational priorities.
56-
57-
**Flavors:**
58-
59-
1. Serverless
60-
2. Stack
61-
62-
**Deployment types:**
63-
64-
1. Serverless
65-
2. Elastic Cloud Hosted
66-
3. Elastic Cloud on Kubernetes
67-
4. Elastic Cloud Enterprise
68-
5. Self-managed
69-
70-
When it comes to hierarchy of versions, always put the newest version first.
71-
:::
72-
73-
:::{dropdown} Versions and lifecycle states
74-
75-
In the V3 docs system, we currently document only our latest major versions (Stack 9.0+, ECE 4.0+, ECK 3.0+).
76-
77-
Add version labels only when a feature was added as part of the major version release, or added in subsequent dot releases. Do not add version information to features added before these releases. For example, features added in 8.16 don't need an 8.16 label or a 9.0 label, but features added in 9.0 need a 9.0 label.
78-
79-
From the latest major onward, the entire feature lifecycle should be represented. This means that you need to add separate labels for the following states:
80-
81-
* beta or technical preview
82-
* GA
83-
* deprecated
84-
* removed
85-
86-
We hope to simplify or consolidate these lifecycle labels in future.
87-
88-
::::{warning}
89-
This feature doesn't currently work - currently, only one label will appear.
90-
::::
91-
92-
:::
93-
94-
95-
## Content patterns
4+
# Version content patterns
965

976
Depending on what you're trying to communicate, you can use the following patterns to represent version and deployment type differences in your docs.
987

@@ -109,7 +18,7 @@ Choose from:
10918
* [Prose (explanatory paragraphs and sections)](#prose-explanatory-paragraphs-and-sections)
11019
* [Sibling pages](#sibling-pages)
11120

112-
### Page-level `applies` tags
21+
## Page-level `applies` tags
11322

11423
**Use case:** Provide signals that a page applies to the reader
11524

@@ -121,7 +30,7 @@ Add tags for all **versioning facets** relevant to the page.
12130

12231
See **Versions and lifecycle states** to learn when to specify versions in these tags.
12332

124-
#### Example
33+
### Example
12534
[Manage your Cloud organization](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/deploy-manage/cloud-organization.html)
12635

12736
### Section/heading-level `applies` tags
@@ -142,7 +51,7 @@ See **Versions and lifecycle states** to learn when to specify versions in these
14251
**Example**
14352
See above
14453

145-
### Inline `applies` tags
54+
## Inline `applies` tags
14655

14756
::::{warning}
14857
This feature doesn't currently work - we're working around it by using prose.
@@ -159,7 +68,7 @@ Currently, we don't have inline `applies` tags. Instead, append the information
15968

16069
Because this approach is less clear, consider using words like `only` to help people to understand that this information indicates the applicability of a feature.
16170

162-
#### Example
71+
### Example
16372

16473
Spaces let you organize your content and users according to your needs.
16574

@@ -189,7 +98,7 @@ Spaces let you organize your content and users according to your needs.
18998
::::
19099

191100

192-
### Tabs
101+
## Tabs
193102

194103
**Use case:** When one or more steps in a process differs, put the steps into tabs - one for each process.
195104

@@ -207,7 +116,7 @@ Try not to include information surrounding a procedure in the tabs. Make the tab
207116

208117
Consider breaking up procedures into sets of procedures if only one section differs between contexts.
209118

210-
#### Example
119+
### Example
211120

212121
To create a space:
213122

@@ -252,21 +161,21 @@ To create a space:
252161

253162
You can edit all of the space settings you just defined at any time, except for the URL identifier.
254163

255-
### Sibling bullets
164+
## Sibling bullets
256165

257166
**Use case:** Requirements, limits, other simple, mirrored facts.
258167

259168
**Number to use:** Ideal is one per option (e.g. one per deployment type). You might consider nested bullets in limited cases.
260169

261-
#### Examples
170+
### Examples
262171

263172
::::{tab-set}
264173
:group: one-two
265174

266175
:::{tab-item} One
267176
:sync: one
268177

269-
##### Required permissions
178+
#### Required permissions
270179

271180
* **Serverless**: `Admin` or equivalent
272181
* **Stack v9**: `kibana_admin` or equivalent
@@ -275,7 +184,7 @@ You can edit all of the space settings you just defined at any time, except for
275184
:::{tab-item} Two
276185
:sync: two
277186

278-
##### Create a space
187+
#### Create a space
279188

280189
The maximum number of spaces that you can have differs by [what do we call this]:
281190

@@ -284,7 +193,7 @@ The maximum number of spaces that you can have differs by [what do we call this]
284193
:::
285194
::::
286195

287-
### Prose (inline)
196+
## Prose (inline)
288197

289198
**Use case:** Clarifying or secondary information
290199

@@ -294,22 +203,22 @@ The maximum number of spaces that you can have differs by [what do we call this]
294203

295204
Sometimes, you can just preface a paragraph with version info.
296205

297-
#### Example
206+
### Example
298207

299208
If you're managing a Stack v9 deployment, then you can also assign roles and define permissions for a space from the **Permissions** tab of the space settings.
300209

301210
When a role is assigned to *All Spaces*, you can’t remove its access from the space settings. You must instead edit the role to give it more granular access to individual spaces.
302211

303212

304-
### Callouts
213+
## Callouts
305214

306215
**Use case:** Happy differences, clarifications
307216

308217
Some sections don’t apply to, say, Serverless, because we manage the headache for you. Help people to feel like they’re not getting shortchanged with a callout.
309218

310219
If there’s a terminology change or other minor change (especially where x equates with y), consider handling as a note for simplicity.
311220

312-
#### Examples
221+
### Examples
313222

314223
* *In **Manage TLS certificates** section*:
315224

@@ -322,7 +231,7 @@ If there’s a terminology change or other minor change (especially where x equa
322231
:::{note}
323232
In Stack versions 9.0 and lower, **Spaces** are referred to as **Places**.
324233

325-
### Prose (explanatory paragraphs and sections)
234+
## Prose (explanatory paragraphs and sections)
326235

327236
**Use case**: Differences with a "why"
328237

@@ -332,7 +241,7 @@ Sometimes, a close explanation of the differences between things helps people to
332241

333242
You also might do this to compare approaches between deployment types, when [sibling bullets](#sibling-bullets) aren't enough.
334243

335-
#### Example
244+
### Example
336245

337246
::::{tab-set}
338247
:group: one-two
@@ -370,7 +279,7 @@ You can augment Elastic Cloud security features in the following ways:
370279

371280
You also might do this to compare approaches between deployment types, when [sibling bullets](#sibling-bullets) aren't enough.
372281

373-
### Sibling pages
282+
## Sibling pages
374283

375284
**Use case:**
376285

@@ -387,20 +296,10 @@ When version differences are just too large to be handled with any of our other
387296

388297
% Down the line, if we need to, we could easily convert version-sensitive sibling pages into “picker” pages
389298

390-
#### Example
299+
### Example
391300

392301
[Cloud Hosted deployment billing dimensions](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/deploy-manage/cloud-organization/billing/cloud-hosted-deployment-billing-dimensions.html)
393302

394303
and its sibling
395304

396-
[Serverless project billing dimensions](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/deploy-manage/cloud-organization/billing/serverless-project-billing-dimensions.html)
397-
398-
## Best practices
399-
400-
### Screenshots
401-
402-
Follow these principles to use screenshots in our unversioned documentation system:
403-
404-
* Reduce screenshots when they don’t explicitly add value.
405-
* When adding a screenshot, determine the minimum viable screenshot and whether it can apply to all relevant versions.
406-
* Take and maintain screenshots for only the most recent version, with very few exceptions that should be considered on a case-by-case basis.
305+
[Serverless project billing dimensions](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/deploy-manage/cloud-organization/billing/serverless-project-billing-dimensions.html)

0 commit comments

Comments
 (0)