Skip to content
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

Standardise placeholders #161

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Standardise placeholders #161

wants to merge 11 commits into from

Conversation

tothmano
Copy link
Collaborator

@tothmano tothmano commented Nov 27, 2024

This PR standardises how we use placeholders for API token and dataset name in code samples.

Previously, we had many different versions of these placeholders. This was inconsistent and confusing. This PR resolves this issue by using the following placeholders throughout the docs: {api_token}, {dataset_name}.

Note that these placeholders always represent a string. Declared variable names and environment variable names (such as AXIOM_API_TOKEN = "string" aren't changed. The reason is that they are often hard-coded in the SDKs and integrations, and changing them in the code samples could break things.

send-data/kubernetes.mdx Outdated Show resolved Hide resolved
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.

1 participant