Skip to content

Commit 20ab9b0

Browse files
authored
Release v1.1.0 (#31)
* Release v1.1.0 * Update release notes * Release notes edits
1 parent 8bd75a6 commit 20ab9b0

File tree

4 files changed

+564
-418
lines changed

4 files changed

+564
-418
lines changed

docs/dev/index.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,25 @@ To extract a JSON metadata file from an ansible collection, use the following co
3838
```
3939
uv run ansible-doc --metadata-dump --no-fail-on-errors networktocode.nautobot > ansible-doc-nautobot.json
4040
```
41+
42+
## Housekeeping
43+
44+
### Upgrading `uv`
45+
46+
To use a newer `uv` version across the board, make sure to upgrade and test locally first, then replace the pinned version in these files:
47+
48+
- `.github/workflows/ci.yaml`
49+
- `.github/workflows/release.yaml`
50+
- `.readthedocs.yaml`
51+
52+
### Release Checklist
53+
54+
To cut a new release (e.g. for `v1.4.2`), follow these steps:
55+
56+
1. Bump the version in `pyproject.toml` with `uv version --bump major/minor/patch`.
57+
2. Create a new branch with the new version `git switch -c release-v1.4.2`.
58+
3. Upgrade lockfile package versions with `uv lock --upgrade`.
59+
4. Update the release notes in `./docs/release_notes.md`.
60+
5. Create PR from `release-v1.4.2` against `main`. Wait for CI to pass and merge PR.
61+
6. Create a new release in GitHub with a new tag, selecting `Create new tag: v1.4.2 on publish`. Copy release notes from docs.
62+
7. Publish the release and verify the `release` workflow succeeds and the package is published to PyPI.

docs/release_notes.md

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
---
2+
hide:
3+
- navigation
4+
---
5+
6+
# Release Notes
7+
8+
This document describes all new features and changes in this project's releases. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9+
10+
## Unreleased
11+
12+
This section contains (if any) changes that have not yet been released.
13+
14+
## [v1.1.0 (2025-07-01)](https://github.com/cmsirbu/mkdocs-ansible-collection/releases/tag/v1.1.0)
15+
16+
This release makes major improvements to the plugin parameters table in line with other ansible documentation sites (see [gql_inventory](https://mkdocs-ansible-collection.readthedocs.io/en/latest/networktocode.nautobot/inventory/gql_inventory.html) for a detailed showcase) and fixes an ugly display bug for plugin descriptions.
17+
18+
### Changed
19+
20+
- [#27](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/27) Improved the template that renders the parameters table for plugins:
21+
- Added data type to the parameter column.
22+
- Moved env vars to the comments column.
23+
- Added defaults and choices column to the parameters table.
24+
- Added suboptions when a parameter has dictionary sub-values.
25+
- Changed parameters table to inline HTML since Markdown tables break with any errant newlines.
26+
27+
### Documentation
28+
29+
- [#27](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/27) Added `opsmill.infrahub` and `nokia.srlinux` collections to showcase.
30+
- [#27](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/27) Fixed page view/edit github links.
31+
- Added Release Notes and Release Checklist to documentation.
32+
33+
### Fixed
34+
35+
- [#23](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/23) Fixed template to account for the plugin description not always being a list.
36+
37+
### Housekeeping
38+
39+
- [#30](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/30) Updated `uv` to `0.7.17`.
40+
41+
## [v1.0.0 (2025-05-10)](https://github.com/cmsirbu/mkdocs-ansible-collection/releases/tag/v1.0.0)
42+
43+
All Ansible plugin types have been enabled and are now rendered with the generic template. While certain plugins would benefit from having dedicated templates, this is now good enough to bump to version `1.0.0`!
44+
45+
The project has also moved to `uv` and now has user and developer documentation.
46+
47+
### Added
48+
49+
- [#19](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/19) Enabled remaining Ansible plugin types.
50+
51+
### Documentation
52+
53+
- [#21](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/21) Added User and Developer Guides to project docs and simplified README.
54+
55+
### Housekeeping
56+
57+
- [#11](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/11) Updated project metadata to allow uv to run alongside poetry 2.0.
58+
- [#13](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/13) Removed poetry as front-end tool.
59+
- [#14](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/14) Changed to `uv` in RTD builds.
60+
- [#15](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/15) Added CI workflow and run.sh tasks file.
61+
- [#21](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/21) Enabled CI testing the mkdocs build on all supported Python versions.
62+
- [#21](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/21) Enabled strict mode in RTD builds.
63+
64+
## [v0.2.1 (2024-11-16)](https://github.com/cmsirbu/mkdocs-ansible-collection/releases/tag/v0.2.1)
65+
66+
### Fixed
67+
68+
- Fixed issues with HTML escaped YAML in code blocks which broke plugin examples.
69+
- [#9](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/9) Enabled auto-escaping only for html and xml templates.
70+
71+
## [v0.2.0 (2024-11-01)](https://github.com/cmsirbu/mkdocs-ansible-collection/releases/tag/v0.2.0)
72+
73+
### Added
74+
75+
- [#6](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/6) Added ability to specify collection tree placement in the nav.
76+
- [#8](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/8) Added quick start steps to README and other instructions.
77+
78+
### Changed
79+
80+
- [#7](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/7) Skip disabled plugin types in index pages.
81+
82+
## [v0.1.4 (2024-10-17)](https://github.com/cmsirbu/mkdocs-ansible-collection/releases/tag/v0.1.4)
83+
84+
### Changed
85+
86+
- Tweaked and used generic plugin template for: filter, lookup, inventory, and module plugins.
87+
88+
## [v0.1.3 (2024-09-24)](https://github.com/cmsirbu/mkdocs-ansible-collection/releases/tag/v0.1.3)
89+
90+
### Added
91+
92+
- [#5](https://github.com/cmsirbu/mkdocs-ansible-collection/pull/5) - Adds templates.
93+
- Integrated `inventory` plugin template.
94+
- Added `networktocode.nautobot` collection to project docs example build.
95+
96+
### Changed
97+
98+
- Tweaked theme width to allow for wider tables on project docs.
99+
100+
## [v0.1.2 (2024-08-16)](https://github.com/cmsirbu/mkdocs-ansible-collection/releases/tag/v0.1.2)
101+
102+
Initial release testing to PyPI.

mkdocs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,10 @@ watch:
8585
- "README.md"
8686

8787
nav: # yamllint disable rule:indentation
88-
- "index.md"
88+
- "Overview": "index.md"
8989
- "User Guide": "user/index.md"
9090
- "Developer Guide": "dev/index.md"
91+
- "Release Notes": "release_notes.md"
9192
- "Collection Showcase":
9293
- "showcase/index.md"
9394
- "ansible.posix"

0 commit comments

Comments
 (0)