docs-v2/content/shared
Jason Stirnaman 62f9e2a28e WIP: core testing 2025-02-18 11:25:49 -06:00
..
influxdb3-admin Add admin > database docs to Core and Enterprise (#5813) 2025-02-03 09:25:41 -07:00
influxdb3-cli Add new influxdb3 show system commands (#5812) 2025-01-30 15:19:48 -07:00
influxdb3-query-guides Add new influxdb3 write and query input methods (#5807) 2025-01-27 14:16:25 -07:00
influxdb3-sample-data Add 'last_cache' and 'distinct_cache' SQL functions (#5828) 2025-02-12 13:48:30 -06:00
influxdb3-visualize Visualize data for InfluxDB 3 Core and Enterprise (#5785) 2025-01-17 13:22:23 -07:00
influxdb3-write-guides hotfix: clarify that influxdb_v2 tokens for telegraf cannot be empty strings (#5824) 2025-02-12 13:48:30 -06:00
influxql-v3-reference Add InfluxDB 3 query guides (#5798) 2025-01-23 10:18:45 -07:00
sql-reference Add 'last_cache' and 'distinct_cache' SQL functions (#5828) 2025-02-12 13:48:30 -06:00
v3-core-get-started WIP: core testing 2025-02-18 11:25:49 -06:00
v3-core-plugins chore: Add product-key shortcode - displays the short version name extracted from the current page URL. 2025-02-14 17:07:09 -06:00
v3-distributed-admin-custom-partitions InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00
v3-enterprise-get-started fix(v3): Core and Enterprise Get Started, problems and cleanup. 2025-02-12 13:48:30 -06:00
README.md chore(v3): Migrate admin/custom-partitioning to shared content 2025-01-09 10:22:12 -06:00
_index.md chore(v3): Migrate admin/custom-partitioning to shared content 2025-01-09 10:22:12 -06:00
v3-line-protocol.md InfluxDB 3 Core & InfluxDB 3 Enterprise alpha release (#5760) 2025-01-13 07:21:11 -07:00

README.md

Shared content

This section is for content shared across multiple products and versions. The /shared/_index.md frontmatter, marks the /shared directory and its children as draft so they don't get rendered when the site is built, but the contents of each shared documented is included in pages that use the file as a source in their frontmatter.

Use shared content

  1. Create a new folder for the content in the content/shared/ directory.

  2. Copy the markdown files into the new folder.

  3. Remove the frontmatter from the markdown files in the shared directory. If the first line starts with a shortcode, add an HTML comment before the first line, otherwise hugo will err.

  4. In each of the files that use the shared content, add a source to the frontmatter that points to the shared markdown file—for example:

    source: /shared/influxql-v3-reference/regular-expressions.md
    
  5. In the doc body, remove the shared Markdown text and add a comment that points to the shared file, in case someone happens upon the page in the repo--for example, in /content/3/core/reference/influxql/regular-expressions.md, add the following: