-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix login documentation layout #1414
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
Fix login documentation layout #1414
Conversation
thaJeztah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you! I left some thoughts; happy to discuss 🤗
docs/reference/commandline/login.md
Outdated
| - Microsoft Windows Credential Manager: https://github.com/docker/docker-credential-helpers/releases | ||
| - [pass](https://www.passwordstore.org/): https://github.com/docker/docker-credential-helpers/releases | ||
|
|
||
| #### Usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking if we should use a more descriptive title; perhaps "Credentials store configuration", or "Configure the credentials store" ?
(open to suggestions 😅)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went for the Configure the ... way. Both ways already existed:
run.md:787:### Configure namespaced kernel parameters (sysctls) at runtime
pull.md:40:### Proxy configuration
docs/reference/commandline/login.md
Outdated
| operations concerning credentials of the specified registries. | ||
|
|
||
| ### Logging out | ||
| #### Usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking if we should use a more descriptive title; perhaps "Credential helper configuration", or "Configure credential helpers" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| credential store (`credsStore` or the config file itself) will not be used for | ||
| operations concerning credentials of the specified registries. | ||
|
|
||
| ### Logging out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch; would be worth to add a "Related commands" at the end of this file, to link to logout (similar to https://github.com/docker/cli/blob/master/docs/reference/commandline/plugin_create.md#related-commands)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| #### Usage | ||
|
|
||
| If you are currently logged in, run `docker logout` to remove | ||
| the credentials from the default store. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're interested in making some additional changes (could be in a follow-up); I think we should include a link somewhere to the section describing where the cli configuration file is; https://github.com/docker/cli/blob/master/docs/reference/commandline/cli.md#configuration-files)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll probably do that in a follow-up PR soon.
ddadd3d mass standardized the formatting, with some errors. This commit fixes errors on `login.md`: - revert wrong `Logging out` headline - restore correct level for some headlines (relative to parent headline level change) - re-add `Usage` headlines, with better name Also add `related commands` headline on `login` and `logout`. Signed-off-by: Thomas Riccardi <thomas@deepomatic.com>
Codecov Report
@@ Coverage Diff @@
## master #1414 +/- ##
=======================================
Coverage 54.26% 54.26%
=======================================
Files 289 289
Lines 19331 19331
=======================================
Hits 10490 10490
Misses 8165 8165
Partials 676 676 |
albers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
thaJeztah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!!
closes #1413
- What I did
ddadd3d mass standardized the
formatting, with some errors.
This commit fixes errors on
login.mdLogging outheadlineheadline level change)
- How I did it
.
- How to verify it
Check rendered documentation
- Description for the changelog
Better
logindocumentation layout