Skip to content

Commit

Permalink
Upgrade build requirements documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Nov 2, 2023
1 parent aa982cd commit d55eaac
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,29 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Checkout plotne-examples
uses: actions/checkout@v3
with:
repository: has2k1/plotnine-examples
path: qdoc/plotnine-examples

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: "1.4.268"
version: "1.4.468"

- name: Install Package
run: |
python -m pip install "git+https://github.com/has2k1/plotnine-examples"
python -m pip install "git+https://github.com/has2k1/quartodoc.git@numpydoc-renderer"
python -m pip install ".[doc]"
- name: Environment Information
shell: bash
run: |
ls -la
ls -la qdoc
pip list
- name: Build docs
run: |
make doc
Expand Down
5 changes: 4 additions & 1 deletion qdoc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ setup:
rm -rf plotnine-examples
git clone https://github.com/has2k1/plotnine-examples.git

interlinks:
quartodoc interlinks

render:
GENERATING_QUARTODOC=1 python -m quartodoc build
quarto render

doc: render
doc: interlinks render

preview:
quarto preview

0 comments on commit d55eaac

Please sign in to comment.