Skip to content

Commit 780de0f

Browse files
committed
Correct entrypoint
1 parent a3fdc22 commit 780de0f

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- id: sphinx-apidoc
22
name: Update Sphinx Documentation
33
description: Fails, if documentation is not complete and updates the sphinx doc.
4-
entry: sphinx_apidoc.py
4+
entry: sphinx_pre_commit
55
args: [--force, --no-toc, -o docs, src]
66
always_run: true
77
files: '^$'

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[project]
2-
name = "sphinx_apidoc"
3-
version = "0.12.0"
2+
name = "sphinx_pre_commit"
3+
version = "0.13.0"
4+
5+
[options.entry_points]
6+
console_scripts =
7+
sphinx_pre_commit = sphinx_pre_commit:main
48

59
[build-system]
610
requires = ["hatchling"]
File renamed without changes.

0 commit comments

Comments
 (0)