include asset dir in pkg, and fix import-time errors #279
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test documentation generation | |
on: | |
pull_request: | |
paths: | |
- '*.md' | |
- '.github/**' | |
- 'INSTALL' | |
- 'LICENSE' | |
- 'assets/**' | |
- 'docs/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v2 | |
- uses: nikeee/setup-pandoc@v1 | |
- uses: quarto-dev/quarto-actions/[email protected] | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install python dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -r docs/requirements.txt | |
- name: Render Quarto docs | |
run: python tools/render_quarto_docs.py | |
- name: Build and Commit | |
uses: sphinx-notes/[email protected] # requires checkout with `fetch-depth: 0` | |
with: | |
documentation_path: docs | |
target_branch: gh-pages |