Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:Giskard-AI/giskard-hub
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartorn committed May 27, 2024
2 parents dfc7561 + 0574dd6 commit 9522b25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
git config --global user.email '[email protected]'
- name: Merge latest code
run: git merge refs/tags/v0.1.0
run: git merge refs/tags/${{ github.ref_name }}

- name: Set up python
id: setup-python
Expand All @@ -42,15 +42,14 @@ jobs:
installer-parallel: true

- name: Install deps
run: poetry install --sync
run: make setup

- name: Build the docs
run: make doc

- name: Adding built docs
run: |
git add ./docs
git fetch --quiet --tags
git add -f ./docs
git commit -m "Docs for latest tag" --allow-empty
- name: Push to docs
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ doc: setup ## Build the doc
cp ./README.md ./script-docs/README.md
cd ./script-docs && rm -rf _build && poetry run make html
rm -rf ./docs && mkdir -p ./docs && touch ./docs/.nojekyll && mv ./script-docs/_build/html/* ./docs
echo docs-hub.giskard.ai > ./docs/CNAME
.PHONY: setup

quick-doc: ## Build the doc & serve it locally
Expand Down
3 changes: 2 additions & 1 deletion script-docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ README
```{toctree}
:caption: CLI
:maxdepth: 3
:hidden:
./cli
```


```{toctree}
:caption: Code
:caption: Code Documentation
:maxdepth: 2
:hidden:
Expand Down

0 comments on commit 9522b25

Please sign in to comment.