kopia lustrzana https://github.com/linuxserver/docker-documentation
Fix the initial load of the api (#302)
rodzic
06b2da308b
commit
18cfd3dcff
|
@ -47,9 +47,6 @@ jobs:
|
||||||
"https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-amd64.tar.gz"
|
"https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-amd64.tar.gz"
|
||||||
tar xzf /tmp/d2.tar.gz -C /tmp/d2 --strip-components=1
|
tar xzf /tmp/d2.tar.gz -C /tmp/d2 --strip-components=1
|
||||||
cp /tmp/d2/bin/d2 /usr/local/bin
|
cp /tmp/d2/bin/d2 /usr/local/bin
|
||||||
# Can remove and swap to swagger-http once they add https://github.com/mkdocs/mkdocs/pull/3851
|
|
||||||
- name: Download API Schema
|
|
||||||
run: curl -o docs/openapi.json -L "https://api.linuxserver.io/openapi.json"
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install -r docs/requirements.txt
|
run: pip install -r docs/requirements.txt
|
||||||
- name: Generate images-by-category.md
|
- name: Generate images-by-category.md
|
||||||
|
@ -99,9 +96,6 @@ jobs:
|
||||||
"https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-amd64.tar.gz"
|
"https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-amd64.tar.gz"
|
||||||
tar xzf /tmp/d2.tar.gz -C /tmp/d2 --strip-components=1
|
tar xzf /tmp/d2.tar.gz -C /tmp/d2 --strip-components=1
|
||||||
cp /tmp/d2/bin/d2 /usr/local/bin
|
cp /tmp/d2/bin/d2 /usr/local/bin
|
||||||
# Can remove and swap to swagger-http once they add https://github.com/mkdocs/mkdocs/pull/3851
|
|
||||||
- name: Download API Schema
|
|
||||||
run: curl -o docs/openapi.json -L "https://api.linuxserver.io/openapi.json"
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install -r docs/requirements.txt
|
run: pip install -r docs/requirements.txt
|
||||||
- name: Generate images-by-category.md
|
- name: Generate images-by-category.md
|
||||||
|
|
|
@ -4,4 +4,4 @@ hide:
|
||||||
---
|
---
|
||||||
|
|
||||||
#
|
#
|
||||||
!!swagger openapi.json!!
|
!!swagger-http https://api.linuxserver.io/openapi.json!!
|
||||||
|
|
Ładowanie…
Reference in New Issue