Skip to content

Commit 6b0352a

Browse files
committed
Update the pipeline
1 parent 4a0f486 commit 6b0352a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
python-version: 3.12
2828
- run: pip install -r requirements.txt
29-
- run: ./.scripts/gen_markdown_chapters.py
29+
- run: python ./.scripts/gen_markdown_chapters.py
3030
- run: copy docs/README.md docs/index.md
3131
- run: mkdocs build --site-dir ./_site
3232
- name: Upload artifact

.scripts/gen_markdown_chapters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ def main() -> None:
8888
)
8989
parser.add_argument(
9090
"--examples-dir",
91-
default="../examples",
91+
default="examples",
9292
help="Directory containing example .py files",
9393
)
9494
parser.add_argument(
9595
"--output-dir",
96-
default="../docs",
96+
default="docs",
9797
help="Directory where Markdown files will be written",
9898
)
9999
args = parser.parse_args()

0 commit comments

Comments
 (0)