Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed Jun 11, 2024
1 parent 3ece257 commit 7c8ca6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
- name: Install pandoc
run: |
sudo wget https://github.com/jgm/pandoc/releases/download/3.1.8/pandoc-3.1.8-1-amd64.deb
sudo dpkg -i pandoc-3.1.8-1-amd64.deb
sudo dpkg -i pandoc-3.1.8-1-amd64.deb > /dev/null 2>&1
- name: Remove SXP notebook
run: |
rm $GITHUB_WORKSPACE/tutorial/5_sxp_workflow.ipynb
- name: Cache notebook outputs
- name: Cache build
id: cache-notebooks
uses: actions/cache@v3
with:
Expand All @@ -72,7 +72,6 @@ jobs:
find tutorial -name "*.ipynb" | sort | xargs sha256sum > tutorial_checksums.txt
- name: Move cached executed notebooks
if: steps.cache-notebooks.outputs.cache-hit == 'true'
run: python docs/move_executed_notebooks.py

# - name: Build Flash parquet files
Expand All @@ -83,15 +82,6 @@ jobs:
- name: Build Sphinx docs
run: poetry run sphinx-build -b html $GITHUB_WORKSPACE/docs $GITHUB_WORKSPACE/_build

- name: Cache built documentation
id: cache-docs
uses: actions/cache@v3
with:
path: _build
key: ${{ runner.os }}-docs-${{ hashFiles('tutorial_checksums.txt') }}
restore-keys: |
${{ runner.os }}-docs-
- name: Setup Pages
uses: actions/configure-pages@v4

Expand Down
1 change: 1 addition & 0 deletions docs/move_changed_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def main():
print("No cached checksums found. Copying tutorials.")
for file in tutorial_src_dir.glob("*.ipynb"):
shutil.copy(file, cache_dir)
return

current_checksums = load_checksums(current_checksums_file)
cached_checksums = load_checksums(cached_checksums_file)
Expand Down

0 comments on commit 7c8ca6f

Please sign in to comment.