Skip to content

Commit

Permalink
Add quartodoc build step.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMoutafis committed Jun 7, 2024
1 parent cfce258 commit 61a6dcd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/publish_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ permissions:
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -28,12 +26,18 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docs
- name: Install Quartodoc dependencies
run: pip install .[docs]

- name: Qartodoc Build
run: quartodoc build --config docs/_quarto.yam

- name: Render Docs
uses: quarto-dev/quarto-actions/render@v2
with:
path: docs/

- name: Publish Docs
- name: Publish Rendered Docs
# if: github.event_name == 'release'
uses: quarto-dev/quarto-actions/publish@v2
with:
Expand Down
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,3 @@ venv.bak/

.idea
src/tiledb/cloud/version.py

# Quarto
/.quarto/
reference/
_site/
## Quarto interlinks
objects.json
_sidebar.yml
6 changes: 6 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
/.quarto/
_build
reference

# interlinks
objects.json
_sidebar.yml
1 change: 1 addition & 0 deletions docs/_quarto.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
project:
type: website
output-dir: _build

website:
# title: "Cloud-Py"
Expand Down

0 comments on commit 61a6dcd

Please sign in to comment.