Skip to content

Commit af7290c

Browse files
Niramisa WeissNiramisa Weiss
authored andcommitted
first commit
0 parents  commit af7290c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1529
-0
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.code
2+
.idea
3+
site/
4+
venv/
5+
env/
6+
*.out
7+
node_modules/
8+
.DS_Store
9+
**/.DS_Store
10+
*.iml

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM python:3.9-alpine
2+
3+
RUN apk update
4+
RUN apk add rsync
5+
RUN apk add git
6+
RUN apk add nodejs npm
7+
COPY requirements.txt requirements.txt
8+
RUN pip install -r requirements.txt --no-cache-dir
9+
10+
# Build doc by default
11+
ENTRYPOINT ["mkdocs"]
12+
CMD ["serve", "--dev-addr", "0.0.0.0:8000"]

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Polygon Labs
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 22 additions & 0 deletions

docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: "3.6"
2+
3+
services:
4+
developer-docs:
5+
image: "polygon-docs"
6+
ports:
7+
- "0.0.0.0:8000:8000"
8+
container_name: "serve-polygon-docs"
9+
working_dir: /workspace/
10+
volumes:
11+
- type: bind
12+
source: .
13+
target: /workspace
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[data-md-color-scheme="slate"] {
2+
--md-footer-bg-color: black;
3+
.md-footer, .md-footer__inner, .md-footer-meta {
4+
background-color: black;
5+
}
6+
}
7+
8+
[data-md-color-scheme="default"] {
9+
--md-footer-bg-color: white;
10+
--md-footer-fg-color: charcoal;
11+
--md-default-bg-color: white;
12+
--md-footer-fg-color--light: charcoal;
13+
--md-footer-fg-color--lighter: charcoal;
14+
.md-footer, .md-footer__inner, .md-footer-meta {
15+
background-color: white;
16+
}
17+
}
18+
19+
/*
20+
.md-footer, .md-footer__inner, .md-footer-meta {
21+
background-color: black;
22+
}
23+
*/
24+
25+
.md-footer__inner {
26+
display: none !important;
27+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
div.section-nav {
2+
}
3+
4+
div.section-nav .section-nav-item {
5+
border-radius: 20px;
6+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
7+
padding: 10px 10px 10px 220px;
8+
height: 150px;
9+
margin: 40px 0;
10+
max-width: 700px;
11+
background-position: left;
12+
background-size: auto 200px;
13+
background-repeat: no-repeat;
14+
15+
}
16+
17+
div.section-nav .section-nav-item h2 {
18+
margin: 0 0 0px 0;
19+
}
20+
21+
div.section-nav .section-nav-item p {
22+
font-size: 0.8em;
23+
}

docs/img/cdk/cdk-1.excalidraw.png

2.05 MB
169 KB
25.3 KB

0 commit comments

Comments
 (0)