Skip to content

Commit e5d520f

Browse files
authored
Merge pull request #16 from jcook3701/feat-006
Feat 006
2 parents 4c71e12 + cfc2595 commit e5d520f

File tree

9 files changed

+39
-30
lines changed

9 files changed

+39
-30
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ endef
4949
# --------------------------------------------------
5050
PACKAGE_NAME := "nutri-matic"
5151
AUTHOR := "Jared Cook"
52-
VERSION := "0.1.7"
52+
VERSION := "0.1.8"
5353
RELEASE := v$(VERSION)
5454
# --------------------------------------------------
5555
# 🐙 Github Build Settings

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<h1 id="nutri-matic">Nutri-Matic</h1>
77

88
<p><strong>Author:</strong> Jared Cook<br />
9-
<strong>Version:</strong> 0.1.7</p>
9+
<strong>Version:</strong> 0.1.8</p>
1010

1111
<h2 id="overview">Overview</h2>
1212

changelogs/CHANGELOG.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,8 @@
66

77
### ⚙️ Miscellaneous
88

9-
- *(version)* Bumped to version 0.1.7!
10-
11-
### 🐛 Fixed
12-
13-
- *(docs)* Quick fix for documentation template generation.
14-
## [0.1.6] - 2025-12-18
15-
16-
### ⚙️ Miscellaneous
17-
18-
- *(version)* Version update to 1.6!
19-
- *(changelog)* Updates changelogs.
20-
21-
### 🐛 Fixed
22-
23-
- *(build)* Forgot to add virtual environment source for bump-my-version command.
24-
25-
### 🚀 Added
26-
27-
- *(hooks)* Added make.py to hooks so that different make commands can be chosen within the cookiecutter.json file rather than needing to template a ton for each variance of make commands that need to be run per-template. I also refactored the make_dirs command out of hooks/utils and moved it to the core/utils directory.
28-
## [0.1.5] - 2025-12-17
9+
- *(version)* Version bump to 1.8!
10+
## [0.1.7] - 2025-12-23
2911

3012
### ⚙️ Miscellaneous
3113

@@ -61,7 +43,26 @@ Feat 003 (#9)
6143
- Merge pull request #12 from jcook3701/develop
6244

6345
Feat 004 (#11)
64-
- *(changelog)* Updates to changelog for release.
46+
- Feat 005 (#14)
47+
48+
* chore(changelog): Updates to changelog for release.
49+
50+
* fix(build): forgot to add virtual environment source for bump-my-version command.
51+
52+
* chore(version): Version update to 1.6!
53+
54+
* feat(hooks): Added make.py to hooks so that different make commands can be chosen within the cookiecutter.json file rather than needing to template a ton for each variance of make commands that need to be run per-template. I also refactored the make_dirs command out of hooks/utils and moved it to the core/utils directory.
55+
56+
* chore(changelog): updates changelogs.
57+
58+
* chore(version): bumped to version 0.1.7!
59+
60+
* fix(docs): Quick fix for documentation template generation.
61+
62+
* fix(lint): lint fix.
63+
- Merge pull request #15 from jcook3701/develop
64+
65+
Feat 005 (#14)
6566
## [0.1.3] - 2025-12-12
6667

6768
### ⚙️ Miscellaneous

changelogs/releases/v0.1.8.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# --------------------------------------------------
2+
# Changelog:
3+
# --------------------------------------------------
4+
5+
## [0.1.8] - 2025-12-27
6+
7+
### ⚙️ Miscellaneous
8+
9+
- *(version)* Version bump to 1.8!

docs/jekyll/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ endef
3636
# --------------------------------------------------
3737
PACKAGE_NAME := "nutri-matic"
3838
AUTHOR := "Jared Cook"
39-
VERSION := "0.1.7"
39+
VERSION := "0.1.8"
4040
# --------------------------------------------------
4141
# 📚 Documentation (Jekyll)
4242
# --------------------------------------------------

docs/jekyll/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
title: "Nutri-Matic"
55
author: "Jared Cook"
6-
version: "0.1.7"
6+
version: "0.1.8"
77
description: "Cookiecutter utilities for streamlining development and utilization of Cookiecutter templates."
88
remote_theme: "pmarsceill/just-the-docs"
99
ga_tracking: "G-C7PWLWSHB9"

docs/sphinx/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
project = "nutri-matic"
3434
copyright = "2025, Jared Cook" # noqa: A001
3535
author = "Jared Cook"
36-
release = "0.1.7"
36+
release = "0.1.8"
3737

3838
# Main Sphinx Entry Point
3939
root_doc = "api"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
88

99
[project]
1010
name = "nutri-matic"
11-
version = "0.1.7"
11+
version = "0.1.8"
1212
description = "Cookiecutter utilities for jcook3701's cookiecutter templates."
1313
authors = [
1414
{ name = "Jared Cook", email = "jcook3701+github@gmail.com" }
@@ -101,7 +101,7 @@ include = [
101101
# Version Bumping (bump-my-version):
102102
# ====================================
103103
[tool.bumpversion]
104-
current_version = "0.1.7"
104+
current_version = "0.1.8"
105105
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
106106
serialize = ["{major}.{minor}.{patch}"]
107107
search = "{current_version}"

src/nutrimatic/hooks/post_gen_logic/docs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ def generate_docs_templates(context: dict[str, Any]) -> None:
7575
extra_ctx = cfg["extra_ctx"]
7676

7777
logger.info(f"📦 Generating {name} docs from {repo}{target}")
78-
7978
try:
8079
# Bake template into temp directory
8180
cookiecutter(
@@ -94,7 +93,7 @@ def generate_docs_templates(context: dict[str, Any]) -> None:
9493
generated_dir = subdirs[0]
9594

9695
if target.exists():
97-
shutil.rmtree(target)
96+
continue
9897

9998
shutil.move(generated_dir, target)
10099

0 commit comments

Comments
 (0)