Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Dec 18, 2023
1 parent 2a0644c commit 0a565c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VERSION 0.7
# Copy all the source we need to build the docs
src:
# Common src setup
DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+SRC
DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/docs-api-template+SRC

# Now copy into that any artifacts we pull from the builds.
COPY --dir ../+repo-docs/repo /docs/includes
Expand All @@ -17,12 +17,12 @@ src:
docs:
FROM +src

DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+BUILD
DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/docs-api-template+BUILD

# Make a locally runable container that can serve the docs.
local:
# Build a self contained service to show built docs locally.
DO github.com/input-output-hk/catalyst-ci/earthly/docs:v2.0.11+PACKAGE
DO github.com/input-output-hk/catalyst-ci/earthly/docs:feat/docs-api-template+PACKAGE

# Copy the static pages into the container
COPY +docs/ /usr/share/nginx/html
Expand Down
6 changes: 1 addition & 5 deletions docs/src/api/cat-gateway/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@ icon: material/server

# OpenAPI docs

[OPEN FILE](./rust-docs/cat-gateway-api.json)

```JSON
{{ include_file('src/api/cat-gateway/rust-docs/cat-gateway-api.json') }}
```
<swagger-ui src="./../rust-docs/cat-gateway-api.json"/>

0 comments on commit 0a565c8

Please sign in to comment.