Skip to content

Commit

Permalink
add copy html files to setup
Browse files Browse the repository at this point in the history
  • Loading branch information
agoscinski committed Sep 12, 2024
1 parent 86731fd commit 102d5e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
environment-file: environment.yml
python-version: "3.12"
auto-activate-base: true
activate-environment: ""
activate-environment: true
- name: "Build HTML docs"
run: |
make -C docs html linkcheck
Expand Down
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,3 +489,6 @@ def copy_html_files(app, exception):
print(f"Copy {html_file} to {destination_file}")
except Exception as e:
print(f"Failed to copy HTML files: {e}")

def setup(app):
app.connect("build-finished", copy_html_files)

0 comments on commit 102d5e8

Please sign in to comment.