Skip to content

Commit f805c33

Browse files
committed
Convert docs to MkDocs
1 parent 1b8c6b3 commit f805c33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1197
-7221
lines changed

CHANGELOG.md

+24-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- Fix encoding when reading text. [c03476a](https://github.com/callowayproject/bump-my-version/commit/c03476ac51b94cd136c39bb9c48fee4f1a815b42)
1111

1212
Fixes #68
13+
1314
### Other
1415

1516
- [pre-commit.ci] pre-commit autoupdate. [491b4aa](https://github.com/callowayproject/bump-my-version/commit/491b4aa4edc0241edbf5d77cfcf609c6de56f301)
@@ -25,6 +26,7 @@
2526
- Refactored VersionComponentConfig to VersionComponentSpec. [b538308](https://github.com/callowayproject/bump-my-version/commit/b53830826c81446576b3979080b05930d71c34e2)
2627

2728
More consistent with VersionSpec
29+
2830
### New
2931

3032
- Added mental model documentation. [5cbd250](https://github.com/callowayproject/bump-my-version/commit/5cbd250ab412f0f56af14a0fcc450cb31643e3e4)
@@ -97,6 +99,7 @@
9799
- Refactored the create subcommand. [f529d28](https://github.com/callowayproject/bump-my-version/commit/f529d283fb3a32eddee9daf368f9ce17ba5efcf1)
98100

99101
- Also organized the CLI tests
102+
100103
### New
101104

102105
- Added `show-bump` subcommand. [0bbd814](https://github.com/callowayproject/bump-my-version/commit/0bbd81489ea0484962e9b3c207e6c6860cab6c55)
@@ -105,6 +108,7 @@
105108
- Added sample-config feature. [3d0f67d](https://github.com/callowayproject/bump-my-version/commit/3d0f67dbf9f42ffad1583e1fe08bd0971262257c)
106109

107110
- Initial implementation
111+
108112
### Updates
109113

110114
- Updated documentation. [4f90348](https://github.com/callowayproject/bump-my-version/commit/4f903486338af31557c3647fc0ae00d7cc8e4213)
@@ -122,6 +126,7 @@
122126
- Removed dotted-notation from requirements. There is an issue on how dotted-notation sets values in the TOMLkit data structure.
123127

124128
- Added `get_nested_value` and `set_nested_value` as replacements for dotted-notation.
129+
125130
### Other
126131

127132
- [pre-commit.ci] pre-commit autoupdate. [ee4d2f3](https://github.com/callowayproject/bump-my-version/commit/ee4d2f32af28c650651b9242c09e3b125e0101e2)
@@ -184,6 +189,7 @@
184189
- Fixed regression in config update. [2bbbd74](https://github.com/callowayproject/bump-my-version/commit/2bbbd74fe4b80895b3719692d1fe0023cc388bbb)
185190

186191
Fixes #108
192+
187193
### New
188194

189195
- Added a test case for line-start regexes. [ef4823c](https://github.com/callowayproject/bump-my-version/commit/ef4823c0cdb92660439095aacdbac6801953e4ae)
@@ -297,6 +303,7 @@
297303
- Added key_path to FileConfig. [e160b40](https://github.com/callowayproject/bump-my-version/commit/e160b401b0d14cef77255bbd87748721db4e2e3d)
298304

299305
- Also made all attributes required except `filename`, `glob`, and `key_path`
306+
300307
### Other
301308

302309
- [pre-commit.ci] auto fixes from pre-commit.com hooks. [8188a42](https://github.com/callowayproject/bump-my-version/commit/8188a42d1e25efab1f45499b448f2c007738cbbe)
@@ -343,6 +350,7 @@
343350
- Add -h for help option. [fda71b0](https://github.com/callowayproject/bump-my-version/commit/fda71b0fce4115514fa85cf1d627e5f3673dba66)
344351

345352
Fixes #67
353+
346354
### Other
347355

348356
- Drop Python3.7 as compatible version. [890edc8](https://github.com/callowayproject/bump-my-version/commit/890edc8a0c0911ad3696a9bc0ddca7a9a72c5afd)
@@ -373,6 +381,7 @@
373381

374382
- Changed the flags to --regex/--no-regex
375383
- updated tests and docs
384+
376385
## 0.11.0 (2023-09-26)
377386
[Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.10.0...0.11.0)
378387

@@ -516,6 +525,7 @@
516525
- The `--search` and `--replace` options now completely override any other search and replace logic.
517526

518527
Fixes #34
528+
519529
### Other
520530

521531
- [pre-commit.ci] pre-commit autoupdate. [531738d](https://github.com/callowayproject/bump-my-version/commit/531738d62d3a2583c7831d17151cb8ae7b14677c)
@@ -540,6 +550,7 @@
540550

541551
- Declared SourceCodeManager attributes as `ClassVar[List[str]]`
542552
- `_TEST_USABLE_COMMAND`, `_COMMIT_COMMAND`, and `_ALL_TAGS_COMMAND` affected
553+
543554
### New
544555

545556
- Added tests for CLI replace command. [a53cddc](https://github.com/callowayproject/bump-my-version/commit/a53cddc3c13bb21f5432d1cd331a51027a25981f)
@@ -559,6 +570,7 @@
559570
- `short_branch_name` is the branch name, lower case, containing only a-z and 0-9, and truncated to 20 characters.
560571

561572
Fixes #28
573+
562574
### Other
563575

564576
- Check config before tagging. [3a6e3ee](https://github.com/callowayproject/bump-my-version/commit/3a6e3eebdbc16ae509754fd977625a4c9b19d82a)
@@ -586,6 +598,7 @@
586598

587599
- `tomlkit.parse()` returns a `TOMLDocument`.
588600
- `unwrap()` converts it into a `dict`
601+
589602
### New
590603

591604
- Adds `branch_name` to SCM information. [173be1a](https://github.com/callowayproject/bump-my-version/commit/173be1a7a107639be912d0fb76149accb54b0332)
@@ -602,6 +615,7 @@
602615
- Can output in YAML, JSON, and default
603616
- Can specify one or more items to display
604617
- Can use dotted-notation to pull items from nested data structures.
618+
605619
### Updates
606620

607621
- Changes bump-my-version into subcommands. [31ffbcf](https://github.com/callowayproject/bump-my-version/commit/31ffbcf839e2491c31d90b51041d1e840371108f)
@@ -619,6 +633,7 @@
619633

620634
- Fixes issue #20
621635
- Renders the correct `current_version` for each file being modified.
636+
622637
### Other
623638

624639
- [pre-commit.ci] auto fixes from pre-commit.com hooks. [5476cdf](https://github.com/callowayproject/bump-my-version/commit/5476cdf8b66666e06e9bfd4d71eaf2610103079a)
@@ -646,12 +661,14 @@
646661
- Added documentation for replacing strings in different files. [893ec03](https://github.com/callowayproject/bump-my-version/commit/893ec03f6ceaf2a050c31f10006aa63c0411af4e)
647662

648663
Fixes #6
664+
649665
### Other
650666

651667
- Made `VERSION_PART` optional. [f236b7d](https://github.com/callowayproject/bump-my-version/commit/f236b7de94d9f58e493c617848e3eb02e85a24c7)
652668

653669
- Fixes #16
654670
- `VERSION_PART` is detected from the arguments based on the configuration
671+
655672
### Updates
656673

657674
- Updated docs indicated VERSION_PART is optional. [22edeac](https://github.com/callowayproject/bump-my-version/commit/22edeac9018e75f79d7167fbfc6ca56cda4d3b07)
@@ -673,6 +690,7 @@
673690
- Fixes release.yaml. [01870d5](https://github.com/callowayproject/bump-my-version/commit/01870d5878b5f0a6e601863c4b9c25572db6cbb0)
674691

675692
Outputs the notes to a file instead of an environment variable.
693+
676694
### Other
677695

678696
- [pre-commit.ci] auto fixes from pre-commit.com hooks. [266002f](https://github.com/callowayproject/bump-my-version/commit/266002f4d60ed6fe3623ba5f713318dc6220ec00)
@@ -708,6 +726,7 @@
708726
- Fixes test package. [7c12072](https://github.com/callowayproject/bump-my-version/commit/7c12072b11938385ec81c5e9cd285d91ac1c00d7)
709727

710728
- The build-and-inspect action didn't save the dist packages
729+
711730
### New
712731

713732
- Added tests for logging branches. [f8f0278](https://github.com/callowayproject/bump-my-version/commit/f8f027846349df4c66377c2cf4cc6903cd1f9bf7)
@@ -757,6 +776,7 @@
757776

758777
- changed name to bump-my-version in setup.cfg
759778
- added PAT in release pipeline to (hopefully) allow committing and tagging to master without issue.
779+
760780
### New
761781

762782
- Added codecov to workflow. [a5009e0](https://github.com/callowayproject/bump-my-version/commit/a5009e04068787bb98363c3e6803f84a338ee798)
@@ -804,10 +824,12 @@
804824

805825
- Added bumpversion.yaml to increase the version when a PR is closed
806826

807-
- Added release.yaml to create a github relase and upload things to PyPI
827+
- Added release.yaml to create a github release and upload things to PyPI
828+
808829
- Added PYTHONUTF8 mode. [91a73e2](https://github.com/callowayproject/bump-my-version/commit/91a73e26af94185194aea1ddb803ac621c0ae84a)
809830

810831
- see https://docs.python.org/3/using/windows.html#utf-8-mode
832+
811833
- Added explicit environment variable declarations. [80fe7ef](https://github.com/callowayproject/bump-my-version/commit/80fe7ef0cf1005333143cce38835dbc9ad811884)
812834

813835
- Added a github CI workflow. [2b3b358](https://github.com/callowayproject/bump-my-version/commit/2b3b3585afe3fdcf13ff47a229b4e3d3b5dacdc9)
@@ -816,6 +838,7 @@
816838

817839
- __main__.py
818840
- aliases.py
841+
819842
- Added LICENSE. [34a9be5](https://github.com/callowayproject/bump-my-version/commit/34a9be5617a24b9d7eb042dc12e657ef1eb4258c)
820843

821844
- Added tests for version parsing errors. [71a204b](https://github.com/callowayproject/bump-my-version/commit/71a204b0eb1ea2e7ae291055f26f5c499d429f1b)

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ Example output:
121121
`-h, --help`
122122
Print help and exit
123123

124-
## Using bump-my-version in a script
124+
## Using Bump My Version in a script
125125

126-
If you need to use the version generated by bump-my-version in a script, you can make use of the `show` subcommand.
126+
If you need to use the version generated by Bump My Version in a script, you can make use of the `show` subcommand.
127127

128128
Say, for example, that you are using git-flow to manage your project and want to automatically create a release. When you issue `git flow release start` you need to know the new version before applying the change.
129129

@@ -151,6 +151,6 @@ workflow, as it is intended to be very versatile.
151151

152152
## License
153153

154-
bump-my-version is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
154+
Bump My Version is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
155155

156156
<!--end-->

0 commit comments

Comments
 (0)