Skip to content

Commit b562ee8

Browse files
authored
Merge branch 'main' into refactor/move-goat-counter-into-includes
2 parents 3c9f3b6 + 63ce9bd commit b562ee8

File tree

9 files changed

+57
-80
lines changed

9 files changed

+57
-80
lines changed

.cz.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.commitizen]
2-
version = "0.16.1"
2+
version = "0.16.4"
33
bump_message = "build(version): :bookmark: update version from $current_version to $new_version"
44
version_schema = "semver"
55
version_provider = "commitizen"

.vscode/json.code-snippets

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
2-
// Place your snippets for Quarto here.
3-
// Each snippet is defined under a snippet name and has a prefix, body and description.
4-
// The prefix is what is used to trigger the snippet and the body will be expanded and inserted.
5-
// Possible variables are:
6-
//
7-
// - $1 and $2 for tab stops,
8-
// - $0 for the final cursor position, and
9-
// - ${1:label}, ${2:another} for placeholders
10-
//
11-
// Placeholders with the same ids are connected.
12-
//
13-
// How to use the code snippets:
14-
// After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when
15-
// you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet.
162
"Insert TODO formatting": {
173
"scope": "quarto,markdown",
184
"prefix": "TODO",
@@ -31,21 +17,6 @@
3117
],
3218
"description": "Insert bash formatted text"
3319
},
34-
"Insert YAML header for blogs": {
35-
"scope": "quarto,markdown",
36-
"prefix": "post_yaml",
37-
"body": [
38-
"---",
39-
"title: \"\"",
40-
"description: \"Our reasons for ...\"",
41-
"author: \"\"",
42-
"date: last-modified",
43-
"categories:",
44-
" ${0:Type 'category_keywords' to insert categories}",
45-
"---"
46-
],
47-
"description": "Insert YAML header for Quarto blog posts."
48-
},
4920
"Insert a hidden comment section": {
5021
"scope": "quarto,markdown",
5122
"prefix": "hidden",
@@ -75,29 +46,5 @@
7546
"| | | |"
7647
],
7748
"description": "Insert a 3 col table"
78-
},
79-
"Insert video": {
80-
"scope": "quarto,markdown",
81-
"prefix": "video",
82-
"body": [
83-
"{{< video ${0:Insert link here} >}}"
84-
],
85-
"description": "Insert video that will be shown"
86-
},
87-
"Insert paneltab": {
88-
"scope": "quarto,markdown",
89-
"prefix": "paneltab",
90-
"body": [
91-
"::: panel-tabset",
92-
"### ${0:Header}",
93-
"",
94-
"${1:Text body}",
95-
"",
96-
"### ${2:Header}",
97-
"",
98-
"${3:Text body}",
99-
":::"
100-
],
101-
"description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers."
10249
}
10350
}

.vscode/settings.json

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,34 @@
22
"files.autoSave": "onFocusChange",
33
"editor.wordWrap": "off",
44
"editor.formatOnSave": true,
5-
"editor.codeActionsOnSave": {
6-
"source.organizeImports": "always"
7-
},
85
"git.autofetch": false,
96
"quarto.visualEditor.markdownWrap": "column",
107
"quarto.visualEditor.markdownWrapColumn": 72,
11-
"autoDocstring.customTemplatePath": ".vscode/google-notypes.mustache",
128
"editor.tabCompletion": "on",
139
"editor.snippetSuggestions": "inline",
1410
"conventional-branch.type": [
15-
"build", // Changes that affect the build system or external dependencies
16-
"ci", // Changes to our CI configuration files and scripts
17-
"docs", // Documentation only changes
18-
"feat", // A new feature
19-
"fix", // A bug fix
20-
"refactor", // A code change that neither fixes a bug nor adds a feature
21-
"style", // Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
22-
"test", // Adding missing tests or correcting existing tests
23-
"chore", // Misc things, like renaming or deleting files
11+
"build",
12+
"ci",
13+
"docs",
14+
"feat",
15+
"fix",
16+
"refactor",
17+
"style",
18+
"test",
19+
"chore",
20+
"revert",
21+
"perf"
2422
],
2523
"conventional-branch.format": "{Type}/{Branch}",
26-
"[quarto][qmd]": {
24+
"[quarto][qmd][jinja]": {
2725
"editor.formatOnSave": false
2826
},
29-
"python.defaultInterpreterPath": "${workspaceFolder}/.venv",
30-
"python.languageServer": "Pylance",
31-
"files.insertFinalNewline": true,
3227
"files.associations": {
3328
"justfile.jinja": "plaintext",
3429
"*.yml.jinja": "jinja-yaml",
3530
"*.cff.jinja": "jinja-yaml",
3631
"*.toml.jinja": "jinja-toml",
3732
"*.qmd.jinja": "jinja-md"
3833
},
34+
"files.insertFinalNewline": true
3935
}

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ a day. It also means any individual release will not have many changes
1010
within it. Below is a list of releases along with what was changed
1111
within it.
1212

13+
## 0.16.4 (2025-09-01)
14+
15+
### Refactor
16+
17+
- :pushpin: update pre-commit versions (#171)
18+
19+
## 0.16.3 (2025-09-01)
20+
21+
### Refactor
22+
23+
- :hammer: use `--upgrade` when installing Python dependencies (#174)
24+
25+
## 0.16.2 (2025-09-01)
26+
27+
### Refactor
28+
29+
- :wrench: add `theme` option in `_quarto.yml`, and `brand` for Seedcase (#170)
30+
1331
## 0.16.1 (2025-09-01)
1432

1533
### Refactor

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
<!-- [![DOI]()]() -->
66

7-
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-teal.json?raw=true)](https://github.com/copier-org/copier)
7+
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-teal.json?raw=true.svg)](https://github.com/copier-org/copier)
88
[![GitHub
99
License](https://img.shields.io/github/license/seedcase-project/template-python-package.svg)](https://github.com/seedcase-project/template-python-package/blob/main/LICENSE.md)
1010
[![GitHub
1111
Release](https://img.shields.io/github/v/release/seedcase-project/template-python-package.svg)](https://github.com/seedcase-project/template-python-package/releases/latest)
12+
[![Test](https://github.com/seedcase-project/template-python-package/actions/workflows/test.yml/badge.svg)](https://github.com/seedcase-project/template-python-package/actions/workflows/test.yml)
1213
[![Build
1314
website](https://github.com/seedcase-project/template-python-package/actions/workflows/build-website.yml/badge.svg)](https://github.com/seedcase-project/template-python-package/actions/workflows/build-website.yml)
1415
[![CodeQL](https://github.com/seedcase-project/template-python-package/actions/workflows/github-code-scanning/codeql/badge.svg?branch=main)](https://github.com/seedcase-project/template-python-package/actions/workflows/github-code-scanning/codeql)

docs/includes/_badges.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-teal.json?raw=true.svg)](https://github.com/copier-org/copier)
33
[![GitHub License](https://img.shields.io/github/license/{{< meta gh.org >}}/{{< meta gh.repo >}}.svg)](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/blob/main/LICENSE.md)
44
[![GitHub Release](https://img.shields.io/github/v/release/{{< meta gh.org >}}/{{< meta gh.repo >}}.svg)](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/releases/latest)
5+
[![Test](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/test.yml/badge.svg)](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/test.yml)
56
[![Build website](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/build-website.yml/badge.svg)](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/build-website.yml)
67
[![CodeQL](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/github-code-scanning/codeql/badge.svg?branch=main)](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/github-code-scanning/codeql)
78
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/{{< meta gh.org >}}/{{< meta gh.repo >}}/main.svg)](https://results.pre-commit.ci/latest/github/{{< meta gh.org >}}/{{< meta gh.repo >}}/main)

template/.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: gitleaks
1212

1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: v5.0.0
14+
rev: v6.0.0
1515
hooks:
1616
- id: trailing-whitespace
1717
- id: end-of-file-fixer
@@ -25,6 +25,6 @@ repos:
2525
# sub-packages, which confuses pre-commit when it tries to find the latest
2626
# version
2727
- repo: https://github.com/adhtruong/mirrors-typos
28-
rev: v1.34.0
28+
rev: v1.35.5
2929
hooks:
3030
- id: typos

template/_quarto.yml.jinja

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
project:
2+
# TODO: change to extension name if using a custom extension
23
type: website
34
# Delete auto-generated files from `quartodoc`
45
post-render: rm -f docs/reference/*.qmd
@@ -72,9 +73,20 @@ metadata-files:
7273
- docs/reference/_sidebar.yml
7374

7475
format:
75-
{{ "seedcase-theme-html" if is_seedcase_project else "html" }}:
76-
include-before-body:
77-
- "docs/includes/site-counter.html"
76+
{% if is_seedcase_project -%}
77+
seedcase-theme-html:
78+
theme:
79+
- brand
80+
{%- else -%}
81+
# TODO: Use Quarto extension if available
82+
html:
83+
theme:
84+
# TODO: Choose a different theme if desired
85+
- litera
86+
{%- endif %}
87+
# TODO: Uncomment if using the goatcounter website visitor counter
88+
# include-before-body:
89+
# - "docs/includes/site-counter.html"
7890

7991
editor:
8092
markdown:

template/justfile.jinja

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ install-precommit:
2424
uvx pre-commit run --all-files
2525
# Update versions of pre-commit hooks
2626
uvx pre-commit autoupdate
27-
{% if is_seedcase_project %}
27+
28+
{%- if is_seedcase_project %}
2829
# Update the Quarto seedcase-theme extension
2930
update-quarto-theme:
3031
quarto add seedcase-project/seedcase-theme --no-prompt
31-
{% endif %}
32+
{%- endif %}
33+
3234
# Install Python package dependencies
3335
install-deps:
34-
uv sync --all-extras --dev
36+
uv sync --all-extras --dev --upgrade
3537

3638
# Run the Python tests
3739
test-python:

0 commit comments

Comments
 (0)