Skip to content

Commit 32c943a

Browse files
authored
Merge pull request #84 from code42/chore/prep-docs
Chore/prep docs
2 parents e8426f4 + 922d04f commit 32c943a

21 files changed

Lines changed: 1990 additions & 64 deletions

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,8 @@ coverage.xml
4040
# docs build files
4141
site/
4242
*.csv
43+
44+
# node
45+
package-lock.json
46+
package.json
47+
node_modules/

docs/api-reference.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/api.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
hide:
3+
- navigation
4+
- toc
5+
---
6+
<script>
7+
var opts = {
8+
scrollYOffset: 120,
9+
hideHostname: true,
10+
hideDownloadButton: true,
11+
hideSingleRequestSampleTab: true,
12+
theme: {
13+
colors: {
14+
primary: {
15+
main: "#333333"
16+
}
17+
},
18+
sidebar: {
19+
width: "345px",
20+
backgroundColor: "#FFFFFF",
21+
textColor: "#424242"
22+
},
23+
rightPanel: {
24+
backgroundColor: "#00284c"
25+
},
26+
typography: {
27+
headings: {
28+
fontFamily: "'proxima-nova', sans-serif",
29+
fontWeight: 700
30+
}
31+
},
32+
schema: {
33+
arrow: {
34+
size: '1.4em',
35+
color: '#1d8127'
36+
}
37+
}
38+
}
39+
};
40+
Redoc.init("https://raw.githubusercontent.com/code42/developer.code42.com/gh-pages/api/code42api.json", opts, document.getElementById("redoc-container"))
41+
</script>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)