Skip to content

Commit 61c0380

Browse files
committed
docs: auto update
Signed-off-by: Carlos Alexandro Becker <[email protected]>
1 parent 97c6d1b commit 61c0380

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

www/docs/customization/npm.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ npms:
107107
# Access level: public or restricted.
108108
access: public
109109

110+
# Tag to publish the package with.
111+
#
112+
# Default: 'latest'.
113+
# Templates: allowed.
114+
# <!-- md:inline_version v2.13-unreleased -->.
115+
tag: latest
116+
110117
# Package format: tar, tgz, tar.gz, zip, or binary.
111118
#
112119
# Required: if more than one archive format is being used.

www/docs/customization/templates.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,23 @@ In fields that support templates, these fields are always available:
6262
| `.IsRelease` | `true` if regular release (not a nightly nor a snapshot) (since v2.8) |
6363
| `.IsMerging` | `true` if you are running with `--merge` (since v2.8) |
6464
| `.Artifacts` | [the current artifacts list](#artifacts) |
65+
| `.Metadata` | [project metadata fields](#metadata) (since v2.13-unreleased) |
66+
67+
## Metadata
68+
69+
<!-- md:featpro -->
70+
<!-- md:since v2.13-unreleased -->
71+
72+
If you use the `.Metadata` field, it evaluates to the project metadata configuration.
73+
You can access all fields defined in the `metadata` section of your config:
74+
75+
| Key | Description |
76+
| ------------------------- | ----------------------------------- |
77+
| `.Metadata.Description` | project description |
78+
| `.Metadata.Homepage` | project homepage URL |
79+
| `.Metadata.License` | project license |
80+
| `.Metadata.Maintainers` | list of project maintainers |
81+
| `.Metadata.ModTimestamp` | modification timestamp template |
6582

6683
## Artifacts
6784

www/docs/static/schema-pro.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)