-
Notifications
You must be signed in to change notification settings - Fork 53
Add details labels to the docs #125
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
Conversation
@@ -1,12 +1,16 @@ | |||
Labels are specified in the extension's `Dockerfile` and are use to provide information about the extension. | |||
|
|||
| Label | Required | Description | Example | | |||
| Label <div style="width:300px"></div>| Required | Description | Example | |
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.
Added a fixed width to the label column so the label value can be displayed properly.
docs/extensions/labels.md
Outdated
| `com.docker.extension.screenshots` | No | A list of images in the shape of comma-separated URLs to be displayed in the details dialog, in the order on which they’ve been defined. | `https://foo.bar/image1.png,https://foo.bar/image2.jpg` | | ||
| `com.docker.extension.detailed-description` | No | Additional information in plain text or HTML about the extension to be displayed in the details dialog. | `My detailed description` or `<h1>My detailed description</h1>` | | ||
| `com.docker.extension.publisher-url` | No | The publisher website URL to be displayed in the details dialog. | `https://foo.bar` | | ||
| `com.docker.extension.additional-urls` | No | A list of additional URLs to be displayed displayed in the details dialog, in the order on which they’ve been defined. | `[{"title":"Twitter profile","url":"https://twitter.com/john"},{"title":"Sponsor my work","url":"https://github.com/sponsor/john"}]` | |
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.
This is where I would change the examples to propose "Documentation", "Support", "Terms of services" links. And maybe in the text details, mention the 4 typical ones we have thought about
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've updated the copy and the examples, thanks
2eaa171
to
74358e2
Compare
Co-authored-by: Benjamin Grandfond <benjamin.grandfond@gmail.com>
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
Visit: http://0.0.0.0:8000/extensions/labels/