Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 21, 2025

Windows users were getting confused by the documentation which only provided Unix-style commands for setting the INFLUXDB3_AUTH_TOKEN environment variable. This was causing issues for Windows users trying to follow the getting started guide.

Before:
The documentation only showed:

export INFLUXDB3_AUTH_TOKEN=YOUR_AUTH_TOKEN

After:
The documentation now provides platform-specific instructions using a tabbed interface:

  • macOS/Linux: export INFLUXDB3_AUTH_TOKEN=YOUR_AUTH_TOKEN
  • PowerShell: $env:INFLUXDB3_AUTH_TOKEN = "YOUR_AUTH_TOKEN"
  • CMD: set INFLUXDB3_AUTH_TOKEN=YOUR_AUTH_TOKEN (with trailing space and explanatory note)

The implementation follows the existing pattern used in the cloud-dedicated documentation, using Hugo shortcodes ({{< tabs-wrapper >}}, {{% tabs %}}, and {{% tab-content %}}) to create an interactive tabbed interface.

Since this change is made to the shared content file (/content/shared/influxdb3-get-started/setup.md), it automatically applies to both InfluxDB 3 Core and Enterprise documentation.

Environment variable tabs working

Fixes #6290.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…H_TOKEN

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Please add windows instructions Add Windows environment variable instructions for INFLUXDB3_AUTH_TOKEN Aug 21, 2025
@Copilot Copilot AI requested a review from jstirnaman August 21, 2025 14:09
Copilot finished work on behalf of jstirnaman August 21, 2025 14:09
@jstirnaman jstirnaman marked this pull request as ready for review August 21, 2025 14:37
Copy link
Contributor

@jstirnaman jstirnaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Use the new code-placeholders syntax, which appends attributes to the code block fence--for example:

```bash { placeholders="YOUR_AUTH_TOKEN|YOUR_DATABASE_NAME" }

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Aug 21, 2025

@copilot Use the new code-placeholders syntax, which appends attributes to the code block fence--for example:

...

Updated to use the new { placeholders="..." } syntax as requested. All code blocks now use the fence attribute approach instead of the deprecated shortcode wrapper. The interactive placeholders are working correctly as shown in the updated screenshot.

Commit: 0ea9ca8

@Copilot Copilot AI requested a review from jstirnaman August 21, 2025 14:55
Copilot finished work on behalf of jstirnaman August 21, 2025 14:55
Copy link
Contributor

@jstirnaman jstirnaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please add windows instructions
2 participants