Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ htmlcov/
.cache
.pytest_cache
.mypy_cache/
.entangled/

nosetests.xml
coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ metadata is present.

The recommended approach for Sphinx configurations is to use the installed package metadata:

``` {.python file=docs/.entangled/sphinx_conf.py}
```python
from importlib.metadata import version as get_version
release: str = get_version("package-name")
# for example take major/minor
Expand Down
3 changes: 1 addition & 2 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ extras = ["docs"]
[envs.docs.scripts]
build = "mkdocs build --clean --strict"
serve = "mkdocs serve --dev-addr localhost:8000"
init = "mkdocs {args}"
sync = ["entangled sync"]
init = "mkdocs {args}"
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ markdown_extensions:
- pymdownx.superfences

plugins:
- entangled
- search
- include-markdown
- mkdocstrings:
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ toml = []

[dependency-groups]
docs = [
#"entangled-cli~=2.0",
"mkdocs",
"mkdocs-entangled-plugin",
"mkdocs-include-markdown-plugin",
"mkdocs-material",
"mkdocstrings[python]",
Expand Down
Loading
Loading