Skip to content

Commit f043992

Browse files
bump template to v2024.27 and add support for Django 5.1
1 parent 5979fa0 commit f043992

File tree

13 files changed

+41
-28
lines changed

13 files changed

+41
-28
lines changed

.copier/package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: v2024.23
2+
_commit: v2024.27
33
_src_path: gh:westerveltco/django-twc-package
44
author_email: [email protected]
55
author_name: Josh Thomas
66
current_version: 0.11.0
77
django_versions:
88
- '4.2'
99
- '5.0'
10+
- '5.1'
1011
docs_domain: westervelt.dev
1112
github_owner: westerveltco
1213
github_repo: django-simple-nav

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* @westerveltco/oss
2+
/docs/ @westerveltco/web-dev-docs

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424

2525
- uses: actions/setup-python@v5
2626
with:
27-
python-version: 3.12
27+
python-version: "3.13"
28+
allow-prereleases: true
2829

2930
- name: Install dependencies
3031
run: |

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424

2525
- uses: actions/setup-python@v5
2626
with:
27-
python-version: 3.8
27+
python-version: "3.8"
28+
allow-prereleases: true
2829

2930
- name: Install dependencies
3031
run: |
@@ -47,7 +48,7 @@ jobs:
4748

4849
- uses: actions/setup-python@v5
4950
with:
50-
python-version: ${{ matrix.python-version }}
51+
python-version: "${{ matrix.python-version }}"
5152
allow-prereleases: true
5253

5354
- name: Install dependencies
@@ -78,7 +79,8 @@ jobs:
7879

7980
- uses: actions/setup-python@v5
8081
with:
81-
python-version: 3.8
82+
python-version: "3.13"
83+
allow-prereleases: true
8284

8385
- name: Install dependencies
8486
run: |
@@ -96,7 +98,8 @@ jobs:
9698

9799
- uses: actions/setup-python@v5
98100
with:
99-
python-version: 3.8
101+
python-version: "3.8"
102+
allow-prereleases: true
100103

101104
- name: Install dependencies
102105
run: |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
<!-- intro-start -->
44
[![PyPI](https://img.shields.io/pypi/v/django-simple-nav)](https://pypi.org/project/django-simple-nav/)
55
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-simple-nav)
6-
![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.0-%2344B78B?labelColor=%23092E20)
6+
![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.0%20%7C%205.1-%2344B78B?labelColor=%23092E20)
77
<!-- https://shields.io/badges -->
8-
<!-- django-4.2 | 5.0-#44B78B -->
8+
<!-- django-4.2 | 5.0 | 5.1-#44B78B -->
99
<!-- labelColor=%23092E20 -->
1010

1111
`django-simple-nav` is a Python/Django application designed to simplify the integration of navigation and menu bars in your Django projects. With a straightforward API and customizable options, you can easily add and manage navigational elements in your web applications. It is designed to be simple to start with, but flexible enough to handle complex navigation structures while maintaining that same simplicity.
1212

1313
## Requirements
1414

1515
- Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
16-
- Django 4.2, 5.0
16+
- Django 4.2, 5.0, 5.1
1717

1818
## Installation
1919

docs/_static/css/custom.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
// no idea if this will screw a lot up with the furo theme
2-
// but this does fix the line of badges in the README. only
3-
// one of them has a link which furo makes the vertical-align
4-
// different than just a standard img
1+
/*
2+
no idea if this will screw a lot up with the furo theme
3+
but this does fix the line of badges in the README. only
4+
one of them has a link which furo makes the vertical-align
5+
different than just a standard img
6+
*/
57
p a.reference img {
6-
vertical-align: inherit;
8+
vertical-align: inherit;
79
}

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@
5959
# -- MyST configuration ------------------------------------------------------
6060
myst_heading_anchors = 3
6161

62-
copybutton_selector = "div.copy pre"
63-
copybutton_prompt_text = "$ "
64-
6562
# -- Options for autodoc2 -----------------------------------------------------
6663
autodoc2_packages = [f"../src/{project.replace('-', '_')}"]
67-
6864
autodoc2_render_plugin = "myst"
6965

66+
# -- Options for sphinx_copybutton -----------------------------------------------------
67+
copybutton_selector = "div.copy pre"
68+
copybutton_prompt_text = "$ "
69+
7070
# -- Options for HTML output -------------------------------------------------
7171

7272
# The theme to use for HTML and HTML Help pages. See the documentation for

docs/development/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
33
```
44

5-
The next section has more information about which `just` commands are available.
5+
See the [documentation](./just.md) for more information.

docs/development/releasing.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# Releasing
2-
3-
## Releasing a New Version
4-
51
```{include} ../../RELEASING.md
6-
:start-after: <!-- releasing-start -->
7-
:end-before: <!-- releasing-end -->
2+
83
```

docs/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,20 @@ changelog.md
2222
apidocs/index.rst
2323
```
2424

25+
```{toctree}
26+
:hidden:
27+
:maxdepth: 3
28+
:caption: API Reference
29+
30+
apidocs/django_simple_nav/django_simple_nav.rst
31+
```
32+
2533
```{toctree}
2634
:hidden:
2735
:maxdepth: 3
2836
:caption: Development
2937
3038
development/contributing.md
3139
development/just.md
32-
development/releasing.md
40+
Releasing <development/releasing.md>
3341
```

0 commit comments

Comments
 (0)