Skip to content

Code snippet indentation is misaligned #22568

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

Open
1 task done
jazanne opened this issue May 4, 2025 · 0 comments · May be fixed by #22571
Open
1 task done

Code snippet indentation is misaligned #22568

jazanne opened this issue May 4, 2025 · 0 comments · May be fixed by #22571
Assignees
Labels
area/api Relates to Docker API docs wtd-project Relates to WTD API docs project

Comments

@jazanne
Copy link

jazanne commented May 4, 2025

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Other

Description

Indentation of import in Go code snippet is indented too much.

Image

Location

https://docs.docker.com/reference/api/engine/sdk/

Suggestion

Update snippet to use spaces, which the style guide seems to prefer.

Perhaps style guide should be updated to state which to use explictly?

Image

@jazanne jazanne added the status/triage Needs triage label May 4, 2025
@sarahsanders-docker sarahsanders-docker added wtd-project Relates to WTD API docs project and removed status/triage Needs triage labels May 4, 2025
@jazanne jazanne linked a pull request May 4, 2025 that will close this issue
3 tasks
@sarahsanders-docker sarahsanders-docker self-assigned this May 9, 2025
@sarahsanders-docker sarahsanders-docker added the area/api Relates to Docker API docs label May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Relates to Docker API docs wtd-project Relates to WTD API docs project
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants