Skip to content

Commit 246ea90

Browse files
committed
Restructured
1 parent a5f1ee5 commit 246ea90

File tree

5 files changed

+22
-2
lines changed

5 files changed

+22
-2
lines changed

build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
set -o errexit
44

55
npx redocly build-docs sodoto --output ./public/sodoto.html
6+
cp -R ./src/index* ./public

redocly.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apis:
22
sodoto:
3-
root: ./openapi/sodoto.yaml
3+
root: ./src/openapi/sodoto.yaml
44

src/index.css

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
body {
2+
margin: 1rem;
3+
padding: 1rem;
4+
text-align: center;
5+
}

src/index.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<html>
2+
<head>
3+
<link href="./index.css" rel="stylesheet">
4+
<title>Docs</title>
5+
</head>
6+
<body>
7+
8+
<h1>Docs</h1>
9+
10+
<p>
11+
<a href="./sodoto.html" target="_blank">Sodoto</a>
12+
</p>
13+
</body>
14+
</html>

openapi/sodoto.yaml renamed to src/openapi/sodoto.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
openapi: 3.0.3
33
info:
4-
title: sodoto
4+
title: Sodoto
55
version: 1.0.0
66
servers:
77
- url: https://sodoto-api.onrender.com

0 commit comments

Comments
 (0)