Skip to content

Commit 84b06a3

Browse files
committed
chore: adjust logic in docs conf.py to prevent a ruff error in the resulting project
1 parent 08a03ee commit 84b06a3

File tree

1 file changed

+1
-1
lines changed
  • {{cookiecutter.project_name}}/docs

1 file changed

+1
-1
lines changed

{{cookiecutter.project_name}}/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
copyright = "{{cookiecutter.copyright_year}}, {{cookiecutter.author}}" # noqa
66

77
release = "{{cookiecutter.version}}"
8-
version = ".".join("{{cookiecutter.version}}".split(".")[:2])
8+
version = ".".join(release.split(".")[:2])
99

1010
extensions = [
1111
"sphinx.ext.intersphinx",

0 commit comments

Comments
 (0)