- 
                Notifications
    
You must be signed in to change notification settings  - Fork 32
 
version docs #451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Closed
      
      
    
  
     Closed
                    version docs #451
Changes from 16 commits
      Commits
    
    
            Show all changes
          
          
            62 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      f25efff
              
                version docs
              
              
                shainaraskas 6c7de93
              
                more
              
              
                shainaraskas fbb667e
              
                add project type
              
              
                shainaraskas 1b640f8
              
                move note
              
              
                shainaraskas 87f36b6
              
                remove broken link
              
              
                shainaraskas d6e76d6
              
                reorg
              
              
                shainaraskas 55c90f5
              
                hello
              
              
                shainaraskas f4081e9
              
                fixie linkie
              
              
                shainaraskas dd0c5f1
              
                fixie another linkie"
              
              
                shainaraskas 353997d
              
                it's my first day, ok?
              
              
                shainaraskas 63ecd4c
              
                try this
              
              
                shainaraskas d69e5ec
              
                Merge branch 'main' into version-docs
              
              
                shainaraskas 9faf685
              
                add elastic.dev to external hosts
              
              
                shainaraskas 445d006
              
                Merge branch 'version-docs' of github.com:elastic/docs-builder into v…
              
              
                shainaraskas d98bbab
              
                cloud, not stack
              
              
                shainaraskas 320ec37
              
                fix weird order
              
              
                shainaraskas 70db05b
              
                more
              
              
                shainaraskas 2666675
              
                version docs
              
              
                shainaraskas 38a2ee8
              
                more
              
              
                shainaraskas e360e40
              
                add project type
              
              
                shainaraskas 5bffa52
              
                move note
              
              
                shainaraskas 85efd02
              
                remove broken link
              
              
                shainaraskas 418000d
              
                reorg
              
              
                shainaraskas b5929d5
              
                hello
              
              
                shainaraskas a05cfa6
              
                fixie linkie
              
              
                shainaraskas 8a89665
              
                fixie another linkie"
              
              
                shainaraskas 1d711a7
              
                it's my first day, ok?
              
              
                shainaraskas b6fb27c
              
                try this
              
              
                shainaraskas 9b60757
              
                add elastic.dev to external hosts
              
              
                shainaraskas 78e2c13
              
                cloud, not stack
              
              
                shainaraskas 1c4dd6d
              
                fix weird order
              
              
                shainaraskas 91bfbe1
              
                more
              
              
                shainaraskas aac72a2
              
                Use substitutions for tab labels
              
              
                lcawl 0a0a6ca
              
                Update docs/versions/content-patterns.md
              
              
                shainaraskas d51f2eb
              
                Update docs/versions/content-patterns.md
              
              
                shainaraskas 74959f6
              
                Update docs/versions/content-patterns.md
              
              
                shainaraskas bff3740
              
                Update docs/versions/index.md
              
              
                shainaraskas 7ec9430
              
                Update docs/versions/index.md
              
              
                shainaraskas c400293
              
                Update docs/versions/index.md
              
              
                shainaraskas a2023d6
              
                Update docs/versions/index.md
              
              
                shainaraskas 4033b03
              
                Update docs/versions/content-patterns.md
              
              
                shainaraskas 354f4eb
              
                Apply suggestions from code review
              
              
                shainaraskas 5459f12
              
                Update docs/versions/content-patterns.md
              
              
                shainaraskas c61993d
              
                Merge branch 'version-docs' of github.com:elastic/docs-builder into v…
              
              
                shainaraskas 8a1c465
              
                Merge branch 'main' into version-docs
              
              
                shainaraskas 0fccc40
              
                Merge branch 'version-docs' of github.com:elastic/docs-builder into v…
              
              
                shainaraskas 30c134a
              
                cleanup
              
              
                shainaraskas afe95d3
              
                more
              
              
                shainaraskas 4dd2fdb
              
                more
              
              
                shainaraskas 14d11ec
              
                indent
              
              
                shainaraskas ff0dd2c
              
                move note
              
              
                shainaraskas 84f6861
              
                it's a table now
              
              
                shainaraskas 76b9af9
              
                with dashes
              
              
                shainaraskas 7f71ed6
              
                v
              
              
                shainaraskas 9a90891
              
                Update docs/versions/index.md
              
              
                shainaraskas ab2a705
              
                Apply suggestions from code review
              
              
                shainaraskas 50e5b8a
              
                Apply suggestions from code review
              
              
                shainaraskas 1aded31
              
                change sub
              
              
                shainaraskas 7fa5f3e
              
                Update tests/Elastic.Markdown.Tests/CodeBlocks/CallOutTests.cs
              
              
                shainaraskas 63e0e64
              
                Update docs/versions/index.md
              
              
                shainaraskas 7f68ab4
              
                Merge branch 'main' into version-docs
              
              
                shainaraskas c2461da
              
                Merge branch 'main' into version-docs
              
              
                Mpdreamz File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,317 @@ | ||
| --- | ||
| navigation_title: "Content patterns" | ||
| applies: | ||
| stack: all | ||
| serverless: all | ||
| hosted: all | ||
| eck: all | ||
| ece: all | ||
| subs: | ||
| stack: "Elastic Stack" | ||
| serverless-tab: "Elastic Cloud Serverless" | ||
| stack-all-tab: "All Elastic Stack" | ||
| --- | ||
| # Version content patterns | ||
| 
     | 
||
| Depending on what you're trying to communicate, you can use the following patterns to represent version and deployment type differences in your docs. | ||
| 
     | 
||
| Choose from: | ||
| % this should become a quick-ref table | ||
| 
     | 
||
| * [Page-level `applies` tags](#page-level-applies-tags) | ||
| * [Section/heading-level `applies` tags](#sectionheading-level-applies-tags) | ||
| * [Inline `applies` tags](#inline-applies-tags) (currently just prose) | ||
| * [Tabs](#tabs) | ||
| * [Sibling bullets](#sibling-bullets) | ||
| * [Callouts](#callouts) | ||
| * [Prose (inline)](#prose-inline) | ||
| * [Prose (explanatory paragraphs and sections)](#prose-explanatory-paragraphs-and-sections) | ||
| * [Sibling pages](#sibling-pages) | ||
| 
     | 
||
| ## Page-level `applies` tags | ||
| 
     | 
||
| *see [`applies`](/syntax/applies.md)* | ||
| 
     | 
||
| **Use case:** Provide signals that a page applies to the reader | ||
| 
     | 
||
| **Number to use:** Minimum to add clarity. See [basic concepts and principles](/versions/index.md#basic-concepts-and-principles). | ||
| 
     | 
||
| **Approach:** | ||
| 
     | 
||
| Add tags for all **versioning facets** relevant to the page. | ||
| 
     | 
||
| See **Versions and lifecycle states** to learn when to specify versions in these tags. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| ### Example | ||
| [Manage your Cloud organization](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/deploy-manage/cloud-organization.html) | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| ### Section/heading-level `applies` tags | ||
| :::{applies} | ||
| :ece: all | ||
| :hosted: all | ||
| :eck: all | ||
| :stack: all | ||
| ::: | ||
| 
     | 
||
| *see [`applies`](/syntax/applies.md#sections)* | ||
| 
     | 
||
| **Use case:** Provide signals about a section’s scope so a user can choose to read or skip it as needed | ||
| 
     | 
||
| **Number to use:** Minimum to add clarity. See [basic concepts and principles](/versions/index.md#basic-concepts-and-principles). | ||
| 
     | 
||
| **When to use:** When the section-level scope differs from the page-level scope | ||
| 
     | 
||
| **Example** | ||
| See above | ||
| 
     | 
||
| ## Inline `applies` tags | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| ::::{warning} | ||
| This feature doesn't currently work - we're working around it by using prose. | ||
| :::: | ||
| 
     | 
||
| **Use case:** When features in a **list of features** are exclusive to a specific context, or were introduced in a specific version | ||
| 
     | 
||
| **Number to use:** Three max. If the number of tags is longer than that, consider: | ||
| 
     | 
||
| * Breaking up the list by facet | ||
| * Using labels that don't have version / lifecycle information and deferring that information to the page or section for the feature | ||
| 
     | 
||
| Currently, we don't have inline `applies` tags. Instead, append the information to the bullet item in bolded square brackets `**[]**`. Add all information within a single set of square brackets. The brackets should appear after any final punctuation. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| 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. | ||
| 
     | 
||
| ### Example | ||
| 
     | 
||
| Spaces let you organize your content and users according to your needs. | ||
| 
     | 
||
| ::::{tab-set} | ||
| :group: one-two | ||
| 
     | 
||
| :::{tab-item} One | ||
| :sync: one | ||
| 
     | 
||
| * Each space has its own saved objects. | ||
| * Users can only access the spaces that they have been granted access to. This access is based on user roles, and a given role can have different permissions per space. | ||
| * Each space has its own navigation. **[Stack v9 only]** | ||
| 
     | 
||
| ::: | ||
| :::{tab-item} Two | ||
| :sync: two | ||
| 
     | 
||
| 
     | 
||
| * Learn about internal users, which are responsible for the operations that take place inside an Elasticsearch cluster | ||
| * Learn about service accounts, which are used for integration with external services that connect to Elasticsearch | ||
| * Learn about the services used for token-based authentication | ||
| * Learn about the services used by orchestrators **[Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes]** | ||
| 
         There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In this example, this is a learn more link that should send users to a page with the   | 
||
| * Learn about user lookup technologies | ||
| * Manage the user cache | ||
| 
     | 
||
| ::: | ||
| :::: | ||
| 
     | 
||
| 
     | 
||
| ## Tabs | ||
| 
     | 
||
| **Use case:** When one or more steps in a process differs, put the steps into tabs - one for each process. | ||
| 
     | 
||
| **Number to use:** Max 4 or 5 (in a deployment type / versioning context - might be different for other situations) | ||
| 
     | 
||
| Try to minimize the number of tabs where you can - try to work around small differences by rewording or adding context in prose or in `note` style admonitions: | ||
| 
     | 
||
| * In version 9.1 and earlier, **Spaces** were referred to as **Places**. | ||
| * | ||
| ::::{note} | ||
| In version 9.1 and earlier, click the **Permissions** tab. | ||
| :::: | ||
| 
     | 
||
| Try not to include information surrounding a procedure in the tabs. Make the tab content as small as possible apart from the procedure itself. | ||
| 
     | 
||
| Consider breaking up procedures into sets of procedures if only one section differs between contexts. | ||
| 
     | 
||
                
      
                  shainaraskas marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
| ### Example | ||
| 
     | 
||
| To create a space: | ||
| 
     | 
||
| :::::{tab-set} | ||
| :group: stack-serverless | ||
| 
     | 
||
| ::::{tab-item} {{serverless-tab}} | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| :sync: serverless | ||
| 
     | 
||
| 1. Click **Create space** or select the space you want to edit. | ||
| 2. Provide: | ||
| 
     | 
||
| * A meaningful name and description for the space. | ||
| * A URL identifier. The URL identifier is a short text string that becomes part of the Kibana URL. Kibana suggests a URL identifier based on the name of your space, but you can customize the identifier to your liking. You cannot change the space identifier later. | ||
| 
     | 
||
| 3. Customize the avatar of the space to your liking. | ||
| 4. Save the space. | ||
| :::: | ||
| 
     | 
||
| ::::{tab-item} {{stack-all-tab}} | ||
| :sync: stack | ||
| 
     | 
||
| 1. Select **Create space** and provide a name, description, and URL identifier. | ||
| The URL identifier is a short text string that becomes part of the Kibana URL when you are inside that space. Kibana suggests a URL identifier based on the name of your space, but you can customize the identifier to your liking. You cannot change the space identifier once you create the space. | ||
| 
     | 
||
| 2. Select a **Solution view**. This setting controls the navigation that all users of the space will get: | ||
| * **Search**: A light navigation menu focused on analytics and Search use cases. Features specific to Observability and Security are hidden. | ||
| * **Observability**: A light navigation menu focused on analytics and Observability use cases. Features specific to Search and Security are hidden. | ||
| * **Security**: A light navigation menu focused on analytics and Security use cases. Features specific to Observability and Search are hidden. | ||
| * **Classic**: All features from all solutions are visible by default using the classic, multilayered navigation menus. You can customize which features are visible individually. | ||
| 
     | 
||
| 3. If you selected the **Classic** solution view, you can customize the **Feature visibility** as you need it to be for that space. | ||
| 
     | 
||
| :::{note} | ||
| Even when disabled in this menu, some Management features can remain visible to some users depending on their privileges. Additionally, controlling feature visibility is not a security feature. To secure access to specific features on a per-user basis, you must configure Kibana Security. | ||
| ::: | ||
| 4. Customize the avatar of the space to your liking. | ||
| 5. Save your new space by selecting **Create space**. | ||
| :::: | ||
| 
     | 
||
| ::::: | ||
| 
     | 
||
| You can edit all of the space settings you just defined at any time, except for the URL identifier. | ||
| 
     | 
||
| ## Sibling bullets | ||
| 
     | 
||
| **Use case:** Requirements, limits, other simple, mirrored facts. | ||
| 
     | 
||
| **Number to use:** Ideal is one per option (e.g. one per deployment type). You might consider nested bullets in limited cases. | ||
| 
     | 
||
| ### Examples | ||
| 
     | 
||
| ::::{tab-set} | ||
| :group: one-two | ||
| 
     | 
||
| :::{tab-item} One | ||
| :sync: one | ||
| 
     | 
||
| #### Required permissions | ||
| 
     | 
||
| * **Serverless**: `Admin` or equivalent | ||
| * **Stack v9**: `kibana_admin` or equivalent | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| ::: | ||
| :::{tab-item} Two | ||
| :sync: two | ||
| 
     | 
||
| #### Create a space | ||
| 
     | 
||
| The maximum number of spaces that you can have differs by [what do we call this]: | ||
| 
     | 
||
| * **Serverless**: Maximum of 100 spaces. | ||
| * **Stack v9**: Controlled by the `xpack.spaces.maxSpaces` setting. Default is 1000. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| ::: | ||
| :::: | ||
| 
     | 
||
| ## Callouts | ||
| 
     | 
||
| **Use case:** Happy differences, clarifications | ||
| 
     | 
||
| 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. | ||
| 
     | 
||
| If there’s a terminology change or other minor change (especially where x equates with y), consider handling as a note for simplicity. | ||
| 
     | 
||
| ### Examples | ||
| 
     | 
||
| * *In **Manage TLS certificates** section*: | ||
| 
     | 
||
| :::{tip} | ||
| Elastic Cloud manages TLS certificates for you. | ||
| ::: | ||
| 
     | 
||
| * *In a **Spaces** overview*: | ||
| 
     | 
||
| :::{note} | ||
| In Stack versions 9.0 and lower, **Spaces** are referred to as **Places**. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| ## Prose (inline) | ||
| 
     | 
||
| **Use case:** Clarifying or secondary information | ||
| 
     | 
||
| **Number to use:** ~ once per section (use your judgement) | ||
| 
     | 
||
| **When to use:** Cases where the information isn’t wildly important, but nice to know, or to add basic terminology change info to overviews | ||
| 
     | 
||
| Sometimes, you can just preface a paragraph with version info. | ||
| 
     | 
||
| ### Example | ||
| 
     | 
||
| 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. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| 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. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
                
      
                  shainaraskas marked this conversation as resolved.
               
              
                Outdated
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| ## Prose (explanatory paragraphs and sections) | ||
| 
     | 
||
| **Use case**: Differences with a "why" | ||
| 
     | 
||
| **When to use:** Comparative overviews | ||
| 
     | 
||
| Sometimes, a close explanation of the differences between things helps people to understand how something works, or why something behaves the way it does. Compare and contrast differences in paragraphs when the explanation helps people to use our features effectively. | ||
| 
     | 
||
| You also might do this to compare approaches between deployment types, when [sibling bullets](#sibling-bullets) aren't enough. | ||
| 
     | 
||
| ### Example | ||
| 
     | 
||
| ::::{tab-set} | ||
| :group: one-two | ||
| 
     | 
||
| :::{tab-item} One | ||
| :sync: one | ||
| 
     | 
||
| The way that TLS certificates are managed depends on your deployment type: | ||
| 
     | 
||
| In **self-managed Elasticsearch**, you manage both of these certificates yourself. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| In **Elastic Cloud on Kubernetes**, you can manage certificates for the HTTP layer. Certificates for the transport layer are managed by ECK and can’t be changed. However, you can set your own certificate authority, customize certificate contents, and provide your own certificate generation tools using transport settings. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| In **Elastic Cloud Enterprise**, you can use one or more proxy certificates to secure the HTTP layer. These certificates are managed at the ECE installation level. Transport-level encryption is managed by ECE and certificates can’t be changed. | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
| ::: | ||
| 
     | 
||
| :::{tab-item} Two | ||
| :sync: two | ||
| 
     | 
||
| **Managed security in Elastic Cloud** | ||
| 
     | 
||
| Elastic Cloud has built-in security. For example, HTTPS communications between Elastic Cloud and the internet, as well as inter-node communications, are secured automatically, and cluster data is encrypted at rest. | ||
| 
     | 
||
| You can augment Elastic Cloud security features in the following ways: | ||
| 
     | 
||
| * Configure traffic filtering to prevent unauthorized access to your deployments. | ||
| * Encrypt your deployment with a customer-managed encryption key. | ||
| * Secure your settings with the Elasticsearch keystore. | ||
| * Allow or deny Cloud IP ranges using Elastic Cloud static IPs. | ||
| 
     | 
||
| [Learn more about security measures in Elastic Cloud](https://www.elastic.co/cloud/security). | ||
| 
     | 
||
| ::: | ||
| :::: | ||
| 
     | 
||
| You also might do this to compare approaches between deployment types, when [sibling bullets](#sibling-bullets) aren't enough. | ||
| 
     | 
||
| ## Sibling pages | ||
                
      
                  shainaraskas marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
| 
     | 
||
| **Use case:** | ||
| 
     | 
||
| * Processes that have significant differences **across multiple procedures** | ||
| * Chained procedures where not all of the procedures are needed for all contexts / where the flow across procedures is muddied when versioning context is added | ||
| * Very complex pages that are already heavily using tabs and other tools we use for versioning differences, making it hard to add another “layer” of content | ||
| * Beta to GA transitions? Hide the beta doc and leave it linked to the GA doc, which will presumably be more stable? | ||
| 
     | 
||
| **Number to use:** As few as possible. Consider leveraging other ways of communicating versioning differences to reduce the number of sibling pages. | ||
| 
     | 
||
| **When to use:** | ||
| 
     | 
||
| When version differences are just too large to be handled with any of our other tools. Try to avoid creating sibling pages when you can. | ||
| 
     | 
||
| % Down the line, if we need to, we could easily convert version-sensitive sibling pages into “picker” pages | ||
| 
     | 
||
| ### Example | ||
| 
     | 
||
| [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) | ||
| 
     | 
||
| and its sibling | ||
| 
     | 
||
| [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) | ||
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.