Skip to content

Commit

Permalink
open docs
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Sep 2, 2024
1 parent bcfd370 commit 8abae4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions {{cookiecutter.project_name}}/docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ repository.

```bash
hatch docs:build
hatch docs:open
```

<!-- Links -->
Expand Down
1 change: 1 addition & 0 deletions {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ features = [ "dev" ]
[tool.hatch.envs.docs]
extra-features = [ "doc" ]
scripts.build = "sphinx-build -M html docs docs/_build {args}"
scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
scripts.clean = "git clean -fdX -- {args:docs}"

[tool.hatch.envs.hatch-test]
Expand Down

0 comments on commit 8abae4e

Please sign in to comment.