Skip to content

Commit bbf68d4

Browse files
authored
Release 0.13.0 preparation (#2412)
1 parent 52aa677 commit bbf68d4

File tree

10 files changed

+66
-43
lines changed

10 files changed

+66
-43
lines changed

docsy.dev/content/en/blog/2025/0.13.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: >-
66
[Patrice Chalin](https://github.com/chalin) ([CNCF](https://www.cncf.io/)),
77
for the [Docsy Steering Committee](/blog/2022/hello/#introducing-the-psc)
88
message: Hello, world!
9-
body_class: release-highlights published-draft-post
9+
body_class: release-highlights # published-draft-post
1010
params:
1111
# Icon usage: {{% _param FA iconName color %}}
1212
BREAKING:

docsy.dev/content/en/site/changelog.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ See [semver].
5454

5555
## v0.13.0
5656

57-
> **UNRELEASED: this planned version is still under development**
58-
5957
**Resources**:
6058

6159
- [Release 0.13.0 report and upgrade guide][0.13.0-blog]

docsy.dev/content/en/site/contributing.md

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,22 @@ repo.
5252

5353
1. **Change directory** to your local Docsy repo.
5454

55-
2. **Create or update a [CHANGELOG] entry** for v0.X.Y. The section should
56-
provide a brief summary of breaking changes using the section template at
57-
the end of the file. (Note that change details are autogenerated by GitHub
58-
in a later step.)
55+
2. **Create or update a [CHANGELOG] entry** for v0.X.Y.
56+
- The section should provide a brief summary of breaking changes using the
57+
section template at the end of the file.
58+
- Ensure to remove the UNRELEASED note.
59+
- You'll create a new section for the next release in a later step.
5960

60-
3. Run `npm run fix`.
61+
3. **Update the release report blog post** for v0.X.Y, if any. Remove draft
62+
status.
63+
64+
4. Run `npm run fix`.
6165

6266
> Note: This might update the version in `package.json` via `fix:version`,
6367
> but you can ignore this change since you'll be setting the version
6468
> explicitly in the next step.
6569
66-
4. **Update Docsy version** to v0.X.Y using the following from a (bash or zsh)
70+
5. **Update Docsy version** to v0.X.Y using the following from a (bash or zsh)
6771
terminal:
6872

6973
```sh
@@ -74,13 +78,18 @@ repo.
7478
This updates both `version` keys in [package.json] and
7579
[docsy.dev/hugo.yaml].
7680

77-
5. Run `npm run ci:test`, which runs `ci:prepare` and more to ensure that,
81+
6. Run `npm run ci:test`, which runs `ci:prepare` and more to ensure that,
7882
e.g., vendor assets and [go.mod] dependencies are up-to-date, etc.
7983

80-
6. **Submit a PR with your changes**, using a title like "Release v0.X.Y
81-
preparation".
84+
7. **Submit a PR with your changes**, using a title like "Release v0.X.Y
85+
preparation". Use this command to create the PR via the web interface:
86+
87+
```sh
88+
gh pr create --web --title "Release $VERSION preparation" \
89+
--body "- Contributes to #<ADD-RELEASE-PREP-ISSUE-HERE>"
90+
```
8291

83-
7. **Test the PR** branch from selected sites, and push any required
92+
8. **Test the PR** branch from selected sites, and push any required
8493
adjustments.
8594
- If the test site uses Docsy as a Git submodule:
8695

@@ -90,15 +99,15 @@ repo.
9099
git switch -t REPO/BRANCH-NAME # e.g. chalin/chalin-m25-0.13.0-prerelease
91100
```
92101

93-
8. **Get PR approved and merged**.
102+
9. **Get PR approved and merged**.
94103

95-
9. **Pull in `main`** to get the last PR.
104+
10. **Pull in `main`** to get the last PR.
96105

97-
10. **Ensure** that you're:
106+
11. **Ensure** that you're:
98107
- On the default branch, `main`
99108
- At the commit that you want to tag as v0.X.Y
100109
101-
11. **Create and push a tag** for v0.X.Y. Set the REL variable to the actual
110+
12. **Create and push a tag** for v0.X.Y. Set the REL variable to the actual
102111
version, or use the VERSION variable if you set it in the previous step.
103112
104113
```sh
@@ -112,7 +121,7 @@ repo.
112121
git tag $REL
113122
```
114123
115-
12. **Push the new tags** to the main remote (`origin` or `upstream` depending
124+
13. **Push the new tags** to the main remote (`origin` or `upstream` depending
116125
on your setup) as well as any secondary remotes, if any:
117126
118127
```console
@@ -121,7 +130,7 @@ repo.
121130
* [new tag] v0.X.Y -> v0.X.Y
122131
```
123132
124-
13. **[Draft a new release][]** using GitHub web; fill in the fields as follows:
133+
14. **[Draft a new release][]** using GitHub web; fill in the fields as follows:
125134
- From the **release/tag dropdown**: Select the new release tag that you
126135
just pushed, v0.X.Y.
127136
- Set the **release title** to the release number (without the "v").
@@ -139,9 +148,9 @@ repo.
139148
140149
- Select **Create a discussion for this release**.
141150
142-
14. **Publish the release**: click _Publish release_.
143-
15. Test the release with a downstream project, such as [docsy-example].
144-
16. If you find issues, determine whether they need to be fixed immediately. If
151+
15. **Publish the release**: click _Publish release_.
152+
16. Test the release with a downstream project, such as [docsy-example].
153+
17. If you find issues, determine whether they need to be fixed immediately. If
145154
so, get fixes submitted, reviewed and approved. Then publish a dot release:
146155
go back to step 1.
147156

docsy.dev/hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ params:
6363
from_year: 2018
6464
privacy_policy: https://policies.google.com/privacy
6565
archived_version: false
66-
version: 0.12.0
66+
version: 0.13.0
6767
url_latest_version: https://example.com
6868
github_repo: https://github.com/google/docsy
6969
github_project_repo: https://github.com/google/docsy

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docsy",
3-
"version": "0.13.0-dev+82-gec833d2",
3+
"version": "0.13.0",
44
"repository": "github:google/docsy",
55
"homepage": "https://www.docsy.dev",
66
"license": "Apache-2.0",
@@ -57,14 +57,14 @@
5757
},
5858
"devDependencies": {
5959
"cpy-cli": "^6.0.0",
60-
"markdownlint-cli2": "^0.19.0",
60+
"markdownlint-cli2": "^0.19.1",
6161
"prettier": "^3.6.2"
6262
},
6363
"config": {
6464
"hugo_version": "0.151.0"
6565
},
6666
"engines": {
67-
"node": ">=24"
67+
"node": ">=22"
6868
},
6969
"spelling": "cSpell:ignore docsy hugo fortawesome fontawesome onedark -"
7070
}

scripts/git/check-version.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ if [ "$current_branch" = "main" ]; then
1111
exit 0
1212
fi
1313

14+
if [ -n "${SKIP_VERSION_CHECK:-}" ]; then
15+
exit 0
16+
fi
17+
1418
output="$(npm run -s fix:version -- --silent 2>&1)"
1519
status=$?
1620

@@ -31,5 +35,9 @@ if [ -n "$output" ]; then
3135
else
3236
echo 'Commit again if you are ok with the new ID.' >&2
3337
fi
38+
echo >&2
39+
echo "Don't want the version to be changed, maybe because this is a release" >&2
40+
echo "branch? Set SKIP_VERSION_CHECK=1" >&2
41+
echo >&2
3442
exit 1
3543
fi

tasks/0.13/commit-inventory.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: 2025-11-12
44
cSpell:ignore: docsy
55
---
66

7-
> Report refreshed for commits through `f59cbb8` on `main`.
7+
> Report refreshed for commits through `52aa677` on `main`.
88
99
Chronological list of [commits since v0.12.0][], broadly grouped into a few
1010
categories. We'll do a more detailed analysis and groupings when we create the
@@ -85,6 +85,11 @@ client projects.
8585
- `d3b5749` (`#2405`) Document `notoc`, and update TOC CSS class names
8686
- `f59cbb8` (`#2406`) [UX] Show left/right scroll indicators for the navbar on
8787
mobile
88+
- `39ee7ca` (`#2407`) Update changelog for navbar scroll indicators and notoc
89+
docs
90+
- `15a3823` (`#2408`) Change link title from 'Documentation' to 'Docs'
91+
- `ec833d2` (`#2368`) [Blog] Release 0.13.0 report and upgrade guide
92+
- `52aa677` (`#2411`) Pre-0.13.0 release adjustments
8893

8994
## CI / tooling only
9095

tasks/0.13/issue-mapping.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: 2025-11-12
44
cSpell:ignore: docsy sidemenu FOUC katex mhchem sidenav
55
---
66

7-
> Report refreshed for commits through `f59cbb8` on `main`.
7+
> Report refreshed for commits through `52aa677` on `main`.
88
99
Mapping [commits since v0.12.0][] to their originating issues (when known).
1010

@@ -82,6 +82,10 @@ Mapping [commits since v0.12.0][] to their originating issues (when known).
8282
| `bd7f023` | `#2402` | Document i18n support for TOC labels, update task docs | `#2289` | Documentation follow-up for TOC i18n |
8383
| `d3b5749` | `#2405` | Document `notoc`, and update TOC CSS class names | `#2289` | Documentation for `notoc` parameter and TOC CSS class updates |
8484
| `f59cbb8` | `#2406` | [UX] Show left/right scroll indicators for the navbar on mobile || UX improvement for mobile navbar scrolling |
85+
| `39ee7ca` | `#2407` | Update changelog for navbar scroll indicators and notoc docs | `#2406`, `#2405` | Release documentation maintenance |
86+
| `15a3823` | `#2408` | Change link title from 'Documentation' to 'Docs' || Documentation terminology update |
87+
| `ec833d2` | `#2368` | [Blog] Release 0.13.0 report and upgrade guide | `#2266` | Release blog post for 0.13.0 |
88+
| `52aa677` | `#2411` | Pre-0.13.0 release adjustments | `#2266` | Final release preparation adjustments |
8589

8690
## CI / tooling commits
8791

tasks/0.13/release-wrapup.plan.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 0.13 Release wrapup plan
33
date: 2025-11-12
4-
last-main-commit: f59cbb8
4+
last-main-commit: 52aa677
55
cSpell:ignore: docsy
66
---
77

@@ -79,9 +79,8 @@ Repeat when new commits land on `main` do the following:
7979
- Take note of fixes and features that are not yet documented in the blog post
8080
or changelog.
8181

82-
Report refreshed for commits through [f59cbb8] (includes mobile navbar scroll
83-
indicators, TOC i18n support, TOC style customization docs, KaTeX build-time
84-
rendering, dark mode enhancements, ScrollSpy fixes, and documentation updates).
82+
Report refreshed for commits through [52aa677] (includes release blog post,
83+
changelog updates, final release adjustments, and documentation improvements).
8584

8685
### 0.13.0 blog post
8786

@@ -109,6 +108,5 @@ rendering, dark mode enhancements, ScrollSpy fixes, and documentation updates).
109108

110109
[0.13.0 release report]: ../docsy.dev/content/en/blog/2025/0.13.0.md
111110
[0.13.0-changelog]: ../../docsy.dev/content/en/site/changelog/#v0130
112-
[f59cbb8]: https://github.com/google/docsy/commit/f59cbb8
113111
[v0.12.0...main]: https://github.com/google/docsy/compare/v0.12.0...main
114112
[0.13.0 blog post]: ../docsy.dev/content/en/blog/2025/0.13.0.md

tasks/0.13/wrapup-report.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: 2025-11-12
44
cSpell:ignore: docsy
55
---
66

7-
> Report refreshed for commits through `f59cbb8` on `main`.
7+
> Report refreshed for commits through `52aa677` on `main`.
88
99
## Highlights since v0.12.0
1010

@@ -83,22 +83,23 @@ Blog posts:
8383

8484
Example site:
8585

86-
- [ ] Update to adopt new alert shortcode and language menu defaults
87-
- [ ] Update to adopt new sidebar-root feature
86+
- [x] Update to adopt new alert shortcode - done via OTel website and Docsy
87+
example site
88+
- [x] Update to adopt new sidebar-root feature - done via OTel website and Docsy
89+
example site
8890

8991
Verification, testing, and QA:
9092

91-
- [ ] Sanity:
92-
- [ ] Verify that the `docsy-example` site builds cleanly with the new
93+
- [x] Sanity:
94+
- [x] Verify that the `docsy-example` site builds cleanly with the new
9395
dependencies
94-
- [ ] Ensure other reference projects build cleanly with dependency
96+
- [x] Ensure other reference projects build cleanly with dependency
9597
reorganizations
9698

97-
- [ ] Testing & QA:
98-
- [ ] Run visual regression/snapshot checks for navigation, ScrollSpy, and
99+
- [x] Testing & QA:
100+
- [x] Run visual regression/snapshot checks for navigation, ScrollSpy, and
99101
dark-mode fixes
100-
- [ ] Validate new locales/translations render correctly
101-
- [ ] Review narrow-screen language menu screenshots and guidance
102+
- [x] Review narrow-screen language menu screenshots and guidance
102103
(#2035/#2001)
103104

104105
## Release Report Blog

0 commit comments

Comments
 (0)