Skip to content

Commit 4415b18

Browse files
Try to fix doc build
1 parent d0d307a commit 4415b18

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build_docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
paths:
66
- "doc/*.md" # Trigger on changes to any markdown file
7-
- "**/*.py" # Optionally include changes in Python files
7+
- "synapse_net/**/*.py" # Optionally include changes in Python files
88
branches:
99
- main # Run the workflow only on pushes to the main branch
1010
workflow_dispatch:
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Generate Documentation
4040
shell: bash -l {0}
41-
run: pdoc synapse_net -d google -o doc/
41+
run: pdoc synapse_net/ -d google -o doc/
4242

4343
- name: Verify Documentation Output
4444
run: ls -la doc/

build_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
if args.out:
1313
cmd.extend(["--out", "tmp/"])
14-
cmd.append("synapse_net")
14+
cmd.append("synapse_net/")
1515

1616
run(cmd)

0 commit comments

Comments
 (0)