Skip to content

Commit de0670b

Browse files
authored
fix: Fix packaging (missing __init__ module)
Issue #17: #17 Issue mkdocstrings/mkdocstrings#398: mkdocstrings/mkdocstrings#398 PR #18: #18
1 parent 81faf3d commit de0670b

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
key: tests-cache-${{ runner.os }}-${{ matrix.python-version }}
104104

105105
- name: Install dependencies
106-
run: pdm install -G duty -G tests
106+
run: pdm install --no-editable -G duty -G tests
107107

108108
- name: Run the test suite
109109
run: pdm run duty test

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ autorefs = "mkdocs_autorefs.plugin:AutorefsPlugin"
5252
[tool.pdm]
5353
version = {use_scm = true}
5454
package-dir = "src"
55+
editable-backend = "editables"
5556

5657
[tool.pdm.dev-dependencies]
5758
duty = ["duty>=0.7"]

src/mkdocs_autorefs/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""mkdocs-autorefs package.
2+
3+
Automatically link across pages in MkDocs.
4+
"""

0 commit comments

Comments
 (0)