Skip to content

Commit 710ea39

Browse files
committed
Update gh-pages.yml and mkdocs.yml: adjust fetch depth and modify mkdocstrings setup commands
1 parent 409df98 commit 710ea39

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 0
3032
- name: Setup Python
3133
uses: actions/setup-python@v5
3234
with:

mkdocs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ plugins:
6666
- mkdocstrings:
6767
handlers:
6868
python:
69-
paths: ["uqdd"]
69+
setup_commands:
70+
- import sys
71+
- sys.path.append('.')
72+
paths: ['.']
7073
options:
7174
show_source: false
7275
docstring_style: numpy

0 commit comments

Comments
 (0)