Skip to content

Commit 1b633d2

Browse files
committed
Merge branch 'cookiecutter-template' into feat-012
2 parents 8e81b76 + cef9d37 commit 1b633d2

6 files changed

Lines changed: 24 additions & 8 deletions

File tree

.github/workflows/jekyll-gh-pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
ruby-version: '3.3' # Recommended for Jekyll 4.4 in 2026
6161
bundler-cache: true # Runs 'bundle install' and caches gems automatically
6262
working-directory: ./docs/jekyll
63+
- name: Install Ruby Packages
64+
run: |
65+
make ruby-install
6366
- name: Setup Pages
6467
uses: actions/configure-pages@v5
6568
- name: Build with Jekyll site in /docs/jekyll

Makefile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ TOML_FILE_LIST := ( \
230230
)
231231
# --------------------------------------------------
232232
.PHONY: \
233-
all list-folders venv install \
233+
all list-folders venv python-install \
234234
pre-commit-init security dependency-check black-formatter-check \
235235
black-formatter-fix render-cookiecutter jinja2-lint-check ruff-lint-check \
236236
ruff-lint-fix toml-lint-check yaml-lint-check format-check \
@@ -243,7 +243,7 @@ TOML_FILE_LIST := ( \
243243
# --------------------------------------------------
244244
# Default: run lint, typecheck, spellcheck, tests, & docs
245245
# --------------------------------------------------
246-
all: install lint-check typecheck spellcheck test build-docs
246+
all: python-install lint-check typecheck spellcheck test build-docs
247247
# --------------------------------------------------
248248
# Make Internal Utilities
249249
# --------------------------------------------------
@@ -269,7 +269,7 @@ venv:
269269
$(AT)$(CREATE_VENV)
270270
$(AT)echo "✅ Virtual environment created."
271271

272-
install: venv
272+
python-install: venv
273273
$(AT)echo "📦 Installing project dependencies..."
274274
$(AT)$(PIP) install --upgrade pip setuptools wheel
275275
# $(AT)$(PIP) install -e $(DEPS)
@@ -333,7 +333,8 @@ render-cookiecutter:
333333
$(AT)rm -rf $(RENDERED_COOKIE_DIR)
334334
$(AT)$(COOKIECUTTER) . --no-input \
335335
--output-dir $(RENDERED_COOKIE_DIR) \
336-
--overwrite-if-exists
336+
--overwrite-if-exists \
337+
--keep-project-on-failure
337338

338339
djlint-lint-check:
339340
$(AT)echo "🔍 djlint lint..."
@@ -414,6 +415,9 @@ test:
414415
# --------------------------------------------------
415416
# 📚 Documentation (Jekyll + nutrimatic)
416417
# --------------------------------------------------
418+
ruby-install:
419+
$(MAKE) -C $(JEKYLL_DIR) ruby-install;
420+
417421
jekyll:
418422
$(MAKE) -C $(JEKYLL_DIR) all;
419423

@@ -479,7 +483,7 @@ git-release:
479483
# 📢 Release
480484
# --------------------------------------------------
481485
pre-commit: test security dependency-check format-fix lint-check spellcheck typecheck
482-
pre-release: clean install pre-commit build-docs changelog build
486+
pre-release: clean python-install pre-commit build-docs changelog build
483487
release: git-release bump-version-patch
484488
# --------------------------------------------------
485489
# 🧹 Clean artifacts

changelogs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ Feat 011 cla fix (#35)
103103
### 🐛 Fixed
104104

105105
- *(template)* Updates to template cookiecutter.json file.
106+
- *(cla)* Fix for CLA fix for master branch.
106107

107108
### 🚀 Added
108109

changelogs/releases/v0.1.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ Feat 011 cla fix (#35)
103103
### 🐛 Fixed
104104

105105
- *(template)* Updates to template cookiecutter.json file.
106+
- *(cla)* Fix for CLA fix for master branch.
106107

107108
### 🚀 Added
108109

docs/cookiecutter_input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"build-docs": false,
2525
"changelog": false,
2626
"git-init": false,
27-
"install": false,
27+
"python-install": false,
2828
"pre-commit-init": false
2929
}
3030
},

docs/jekyll/Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,23 @@ PUBLISHDIR ?=
4141
# --------------------------------------------------
4242
# 📘 Documentation (Sphinx + Jekyll)
4343
# --------------------------------------------------
44+
RUBY_INSTALL := bundle install
4445
JEKYLL_BUILD := bundle exec jekyll build --quiet
4546
JEKYLL_CLEAN := bundle exec jekyll clean
4647
JEKYLL_SERVE := bundle exec jekyll serve
4748
# --------------------------------------------------
48-
.PHONY: all jekyll jekyll-serve build run clean help
49+
.PHONY: all ruby-install jekyll jekyll-serve build run clean help
4950
# --------------------------------------------------
5051
# Default:
5152
# --------------------------------------------------
5253
all: build
5354
# --------------------------------------------------
54-
# 📘 Documentation (Jekyll)
55+
# ♦️ Ruby
56+
# --------------------------------------------------
57+
ruby-install:
58+
$(AT)$(RUBY_INSTALL)
59+
# --------------------------------------------------
60+
# 📚 Documentation (Jekyll)
5561
# --------------------------------------------------
5662
jekyll:
5763
$(AT)echo "🔨 Building Jekyll site 📘..."
@@ -80,6 +86,7 @@ help:
8086
$(AT)echo " version: $(PACKAGE_VERSION)"
8187
$(AT)echo ""
8288
$(AT)echo "Usage:"
89+
$(AT)echo " make ruby-install Installs Gemfile packages."
8390
$(AT)echo " make build Generate Jekyll documentation"
8491
$(AT)echo " make run Serve Jekyll site locally"
8592
$(AT)echo " make clean Clean Jekyll build artifacts"

0 commit comments

Comments
 (0)