influxdata / influxdata/docs-v2

API: fix code sample

Open
#4,432 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

Remove command prompt and separate command from example output.

@kelsiev's comment:
curious why we only show 49 and 50 here, would anything over 10 return empty bucket?

_Originally posted by @kelseiv in https://github.com/influxdata/docs-v2/pull/4411#discussion_r962175003_

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the API code sample referenced by issue 4432 in the documentation and inspect its current command and output formatting. Separate the command from the example output and remove the command prompt; confirm the sample is easier to distinguish, while checking the question about the displayed 49 and 50 values if the surrounding context is available.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.