Skip to content

Commit b6e1d91

Browse files
authored
Merge pull request #20 from 56kyle/release/0.15.0
Release/0.15.0
2 parents a65b743 + 069a21b commit b6e1d91

File tree

7 files changed

+25
-15
lines changed

7 files changed

+25
-15
lines changed

.cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_commit": "802e9d5321387ec3a4d43ccccac95426c484b3bc",
2+
"_commit": "7ade588e584688544482379ce3b50740f61702c3",
33
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
44
"add_rust_extension": false,
55
"author": "Kyle Oliver",

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
3-
"commit": "802e9d5321387ec3a4d43ccccac95426c484b3bc",
3+
"commit": "7ade588e584688544482379ce3b50740f61702c3",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -18,7 +18,7 @@
1818
"license": "MIT",
1919
"development_status": "Development Status :: 1 - Planning",
2020
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
21-
"_commit": "802e9d5321387ec3a4d43ccccac95426c484b3bc"
21+
"_commit": "7ade588e584688544482379ce3b50740f61702c3"
2222
}
2323
},
2424
"directory": null

.github/workflows/docs-build.yml renamed to .github/workflows/build-docs.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
# .github/workflows/docs-build.yml
1+
# .github/workflows/build-docs.yml
22
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
33

44
name: Build Documentation
55

66
on:
77
pull_request:
88
paths:
9-
- "docs/**" # Documentation source files
10-
- "src/**/*.py" # Code changes might impact API docs
9+
- "docs/**"
10+
- "src/**/*.py"
1111
- "noxfile.py"
1212
- "pyproject.toml"
13-
- ".github/workflows/docs-build.yml"
14-
# Include relevant config files that affect docs build
15-
- ".ruff.toml" # Affects docstrings via linting
16-
- "pyrightconfig.json" # Affects type hints in docs
13+
- ".github/workflows/build-docs.yml"
14+
- ".ruff.toml" # Affects docstrings via linting
15+
- "pyrightconfig.json" # Affects type hints in docs
1716

1817
push:
1918
branches:
@@ -24,7 +23,7 @@ on:
2423
- "src/**/*.py"
2524
- "noxfile.py"
2625
- "pyproject.toml"
27-
- ".github/workflows/docs-build.yml"
26+
- ".github/workflows/build-docs.yml"
2827

2928
workflow_dispatch:
3029

@@ -46,11 +45,10 @@ jobs:
4645
python-version-file: ".github/workflows/.python-version"
4746

4847
- name: Build documentation
49-
run: uvx nox -s docs-build
48+
run: uvx nox -s build-docs
5049

5150
- name: Upload documentation (HTML) Artifact
5251
uses: actions/upload-artifact@v4
5352
with:
5453
name: html-docs
5554
path: docs/_build/html/
56-
retention-days: 5

.readthedocs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: "3.13"
7+
sphinx:
8+
configuration: docs/conf.py

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## v0.15.0 (2025-07-18)
1+
## v0.15.0 (2025-07-26)
22

33
## v0.14.0 (2025-07-18)
44

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def tests_python(session: Session) -> None:
128128
)
129129

130130

131-
@nox.session(python=DEFAULT_PYTHON_VERSION, name="docs-build", tags=[DOCS, BUILD])
131+
@nox.session(python=DEFAULT_PYTHON_VERSION, name="build-docs", tags=[DOCS, BUILD])
132132
def docs_build(session: Session) -> None:
133133
"""Build the project documentation (Sphinx)."""
134134
session.log("Installing documentation dependencies...")

scripts/setup-remote.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ def get_parser() -> argparse.ArgumentParser:
5252
parser.add_argument("-u", "--user", dest="github_user", help="GitHub user name.")
5353
parser.add_argument("-n", "--name", dest="repo_name", help="Name of the repo.")
5454
return parser
55+
56+
57+
if __name__ == "__main__":
58+
main()

0 commit comments

Comments
 (0)