Skip to content

Commit

Permalink
Fixed type in readme and added auto generation of apiv2 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jessevz committed Jan 15, 2025
1 parent ca1ad75 commit 8ed4671
Show file tree
Hide file tree
Showing 3 changed files with 30,504 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ jobs:
pip3 install $(mkdocs get-deps)
sudo apt-get update
sudo apt-get install -y lftp
sudo apt-get install nodejs
sudo apt-get install npm
sudo npm i openapi-to-md -g
- name: Start application containers #same steps as in ci.yml, might make it more modular in the future
working-directory: .devcontainer
run: docker compose up -d
- name: Wait until entrypoint is finished and Hashtopolis is started
run: bash .github/scripts/await-hashtopolis-startup.sh
- name: Download newest apiv2 spec
run: |
wget http://localhost:8080/api/v2/openapi.json -P /tmp/
openapi-to-md /tmp/openapi.json /docs/api/
- name: Build MkDocs site
run: |
mkdocs build
Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ virtualenv venv
source venv/bin/activate
pip3 install mkdocs
pip3 install $(mkdocs get-deps)
mkdocs server
mkdocs serve
```
Loading

0 comments on commit 8ed4671

Please sign in to comment.