Skip to content

Commit 32d5dd3

Browse files
committed
Make fonts local, instant loading, add prettier
Signed-off-by: Reece Dunham <[email protected]>
1 parent f6e19f4 commit 32d5dd3

36 files changed

+405
-390
lines changed

.cirrus.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
container:
2-
image: python:latest
2+
image: python:latest
33

44
Deploy_task:
5-
only_if: $CIRRUS_BRANCH == 'master'
6-
env:
7-
DEPLOY_TOKEN: ENCRYPTED[2e1b3879f879c57eefa69d7b97272ff580fe771b21acd3ab5ccadd70942c21c717435b2756aa270c4dc960009a6fd03c]
8-
deps_script: |
9-
python3 -m pip install --upgrade pip
10-
python3 -m pip install --upgrade -r requirements.txt
11-
deploy_script: |
12-
git config --global user.name "Cirrus CI"
13-
git config --global user.name "[email protected]"
14-
git remote set-url origin https://[email protected]/rdilweb/docs/
15-
mkdocs gh-deploy --force --remote-branch gh-pages
5+
only_if: $CIRRUS_BRANCH == 'master'
6+
env:
7+
DEPLOY_TOKEN: ENCRYPTED[2e1b3879f879c57eefa69d7b97272ff580fe771b21acd3ab5ccadd70942c21c717435b2756aa270c4dc960009a6fd03c]
8+
install_dependencies_script: |
9+
python3 -m pip install --upgrade pip
10+
python3 -m pip install --upgrade -r requirements.txt
11+
deploy_script: |
12+
git config --global user.name "Cirrus CI"
13+
git config --global user.name "[email protected]"
14+
git remote set-url origin https://[email protected]/rdilweb/docs/
15+
mkdocs gh-deploy --force --remote-branch gh-pages
1616
1717
task:
18-
name: PR Build
19-
only_if: $CIRRUS_PR != ""
20-
deps_script: |
21-
python3 -m pip install --upgrade pip
22-
python3 -m pip install --upgrade -r requirements.txt
23-
build_script: |
24-
mkdocs build
25-
deploy_preview_artifacts:
26-
path: site
18+
name: PR Build
19+
only_if: $CIRRUS_PR != ""
20+
install_dependencies_script: |
21+
python3 -m pip install --upgrade pip
22+
python3 -m pip install --upgrade -r requirements.txt
23+
build_script: |
24+
mkdocs build
25+
deploy_preview_artifacts:
26+
path: site

.github/dependabot.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22
updates:
3-
- package-ecosystem: pip
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
open-pull-requests-limit: 10
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10

.gitpod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
image: rdilpickle/better-wsfull:latest
22

33
ports:
4-
- port: 8000
4+
- port: 8000
55

66
tasks:
7-
- command: python3 -m pip install --upgrade -r requirements.txt && mkdocs serve
7+
- command: python3 -m pip install --upgrade -r requirements.txt && mkdocs serve

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.theia
2+
docs/javadocs

.theia/settings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"python.pythonPath": "/usr/local/bin/python3"
2+
"python.pythonPath": "/usr/local/bin/python3",
3+
"editor.tabSize": 4,
4+
"editor.insertSpaces": true,
35
}

docs/CODE_OF_CONDUCT.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ appearance, race, religion, or sexual identity and orientation.
1717
Examples of behavior that contributes to creating a positive environment
1818
include:
1919

20-
* Using welcoming and inclusive language
21-
* Being respectful of differing viewpoints and experiences
22-
* Gracefully accepting constructive criticism
23-
* Focusing on what is best for the community
24-
* Showing empathy towards other community members
20+
- Using welcoming and inclusive language
21+
- Being respectful of differing viewpoints and experiences
22+
- Gracefully accepting constructive criticism
23+
- Focusing on what is best for the community
24+
- Showing empathy towards other community members
2525

2626
Examples of unacceptable behavior by participants include:
2727

28-
* The use of sexualized language or imagery and unwelcome sexual attention or
29-
advances
30-
* Trolling, insulting/derogatory comments, and personal or political attacks
31-
* Public or private harassment
32-
* Publishing others' private information, such as a physical or electronic
33-
address, without explicit permission
34-
* Other conduct which could reasonably be considered inappropriate in a
35-
professional setting
28+
- The use of sexualized language or imagery and unwelcome sexual attention or
29+
advances
30+
- Trolling, insulting/derogatory comments, and personal or political attacks
31+
- Public or private harassment
32+
- Publishing others' private information, such as a physical or electronic
33+
address, without explicit permission
34+
- Other conduct which could reasonably be considered inappropriate in a
35+
professional setting
3636

3737
## Our Responsibilities
3838

docs/SECURITY.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ If you find a security vulnerability in one of my projects, please follow these
99

1010
```none
1111
Subject: (PROJECT NAME HERE) Security Risk
12-
13-
HOW TO EXPLOIT
14-
15-
Give exact details I can replicate it.
16-
17-
OTHER INFORMATION
18-
12+
13+
Give exact details I can replicate it with.
1914
If anything else needs to be said, put it here.
15+
In cases of security risks, there is no such thing as
16+
too little information.
2017
```
2118
2219
3. Please be patient. You will get an email back soon.

docs/about/rdilweb.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ You can find all the open source components at @github:rdilweb.
77

88
RDILWeb owns and operates the following domains:
99

10-
* rdil.rocks
11-
* hyperiumjailbreak.com
12-
* cakebot.club
10+
- rdil.rocks
11+
- hyperiumjailbreak.com
12+
- cakebot.club
1313

1414
## DNS
1515

@@ -19,19 +19,19 @@ RDILWeb has published most of its DNS records at @github:rdilweb/DNS-Records.
1919

2020
Here is a list of all the open source RDILWeb projects, and their statusus:
2121

22-
| **Link** | **Description** | **Status** |
23-
|----------|-----------------|------------|
24-
| @rdilweb/docs | Documentation for a lot of my projects. | Active |
25-
| @rdilweb/PickleCore | A cool Jekyll theme built for rdil.rocks. | Active |
26-
| @rdilweb/DNS-Records | RDILWeb's DNS records. | Active |
27-
| @rdilweb/privacy | A site for all my thoughts, ideas, and rants related to privacy. | Active |
28-
| @rdilweb/cirrus-builder-v2 | Cirrus CI configuration builder in webapp form. | :white_check_mark: Stable |
29-
| @rdilweb/static-server | An easy and basic static server. | :white_check_mark: Stable |
30-
| @rdilweb/mkdocs-plugin-progress | A plugin for MkDocs that lets you know exactly what is happening during the build. | :white_check_mark: Stable |
31-
| @rdilweb/intutils | Basic Python integer toolkit. | :white_check_mark: Stable |
32-
| @rdilweb/cra-template-ready | Ready-to-use Create React App template, so you can ignore the useless files and get right to coding. | :white_check_mark: Stable |
33-
| @rdilweb/Flask-Talisman-RDIL | Fork of Flask-Talisman used on my backend server. | :x: Archived |
34-
| @rdilweb/skyblock-minion-calc | A calculator for prices of different minions in Hypixel Skyblock. | :x: Archived |
35-
| @rdilweb/am-i-cool.pw | A dumb website. | :x: Archived |
36-
| @rdilweb/Flask-ColoredLogging | Extension for Flask that adds colorful logging to the console! | :x: Archived |
37-
| @rdilweb/Classroom-Dark | Google Classroom dark theme. | :warning: Alpha |
22+
| **Link** | **Description** | **Status** |
23+
| ------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------- |
24+
| @rdilweb/docs | Documentation for a lot of my projects. | Active |
25+
| @rdilweb/PickleCore | A cool Jekyll theme built for rdil.rocks. | Active |
26+
| @rdilweb/DNS-Records | RDILWeb's DNS records. | Active |
27+
| @rdilweb/privacy | A site for all my thoughts, ideas, and rants related to privacy. | Active |
28+
| @rdilweb/cirrus-builder-v2 | Cirrus CI configuration builder in webapp form. | :white_check_mark: Stable |
29+
| @rdilweb/static-server | An easy and basic static server. | :white_check_mark: Stable |
30+
| @rdilweb/mkdocs-plugin-progress | A plugin for MkDocs that lets you know exactly what is happening during the build. | :white_check_mark: Stable |
31+
| @rdilweb/intutils | Basic Python integer toolkit. | :white_check_mark: Stable |
32+
| @rdilweb/cra-template-ready | Ready-to-use Create React App template, so you can ignore the useless files and get right to coding. | :white_check_mark: Stable |
33+
| @rdilweb/Flask-Talisman-RDIL | Fork of Flask-Talisman used on my backend server. | :x: Archived |
34+
| @rdilweb/skyblock-minion-calc | A calculator for prices of different minions in Hypixel Skyblock. | :x: Archived |
35+
| @rdilweb/am-i-cool.pw | A dumb website. | :x: Archived |
36+
| @rdilweb/Flask-ColoredLogging | Extension for Flask that adds colorful logging to the console! | :x: Archived |
37+
| @rdilweb/Classroom-Dark | Google Classroom dark theme. | :warning: Alpha |

docs/api.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The production version is hosted at `https://backend.rdil.rocks/`.
99
## HyperiumJailbreak Specifics
1010

1111
| **HTTP Method** | **Endpoint** | **Description** |
12-
|-----------------|---------------------------------|-----------------------------------|
12+
| --------------- | ------------------------------- | --------------------------------- |
1313
| `GET` | `/checkUpdate` | Get the latest version of HJB. |
1414
| `GET` | `/getOnline` | Get the number of online players. |
1515
| `GET` | `/words.txt` | Get the NickHider word list. |
@@ -18,7 +18,7 @@ The production version is hosted at `https://backend.rdil.rocks/`.
1818
## Hypixel Timers
1919

2020
| **HTTP Method** | **Endpoint** | **Description** |
21-
|-----------------|------------------------|-------------------------------------------|
21+
| --------------- | ---------------------- | ----------------------------------------- |
2222
| `GET` | `/timers/dark-auction` | Get the time until the next dark auction. |
2323

2424
## Source
@@ -28,21 +28,21 @@ To prevent abuse, the server's source is no longer public.
2828
## Privacy Policy
2929

3030
!!! warning
31-
These details only apply to `backend.rdil.rocks`.
31+
These details only apply to `backend.rdil.rocks`.
3232

3333
When you make a request to the API, your request is processed by [Cloudflare](https://cloudflare.com/privacypolicy/), and then us.
3434
We do keep logs of visits, which are one-line strings that contain the following infomation:
3535

36-
* The IP that made the request
37-
* The timestamp
38-
* The request method (e.g. `POST`)
39-
* The HTTP protocol version you are using
40-
* The response code (e.g. `200` or `404`)
41-
* The requested endpoint
42-
* Your user agent
43-
* How long it took the server to provide a response in seconds
36+
- The IP that made the request
37+
- The timestamp
38+
- The request method (e.g. `POST`)
39+
- The HTTP protocol version you are using
40+
- The response code (e.g. `200` or `404`)
41+
- The requested endpoint
42+
- Your user agent
43+
- How long it took the server to provide a response in seconds
4444

4545
In addition, we make these promises about the data:
4646

47-
* We *do not* keep these logs more than two months.
48-
* We *do not* sell this data.
47+
- We _do not_ keep these logs more than two months.
48+
- We _do not_ sell this data.

docs/archive/perf.md

-75
This file was deleted.

docs/assets/fonts/roboto-300.woff2

15.4 KB
Binary file not shown.

docs/assets/fonts/roboto-400.woff2

15.4 KB
Binary file not shown.

docs/assets/fonts/roboto-400i.woff2

16.9 KB
Binary file not shown.

docs/assets/fonts/roboto-700.woff2

15.4 KB
Binary file not shown.
12 KB
Binary file not shown.

docs/assets/images/Perf_logo.png

-19.7 KB
Binary file not shown.
File renamed without changes.
+13-13
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
/* Indentation. */
22
div.doc-contents:not(.first) {
3-
padding-left: 25px;
4-
border-left: 2px solid rgba(230, 230, 230);
5-
margin-bottom: 80px;
3+
padding-left: 25px;
4+
border-left: 2px solid rgba(230, 230, 230);
5+
margin-bottom: 80px;
66
}
77

88
/* Don't capitalize names. */
99
h5.doc-heading {
10-
text-transform: none !important;
10+
text-transform: none !important;
1111
}
1212

1313
/* Don't use vertical space on hidden ToC entries. */
1414
h6.hidden-toc {
15-
margin: 0 !important;
16-
position: relative;
17-
top: -70px;
15+
margin: 0 !important;
16+
position: relative;
17+
top: -70px;
1818
}
1919
h6.hidden-toc::before {
20-
margin-top: 0 !important;
21-
padding-top: 0 !important;
20+
margin-top: 0 !important;
21+
padding-top: 0 !important;
2222
}
2323

2424
/* Don't show permalink of hidden ToC entries. */
2525
h6.hidden-toc a.headerlink {
26-
display: none;
26+
display: none;
2727
}
2828

2929
/* Avoid breaking parameters name, etc. in table cells. */
3030
td code {
31-
word-break: normal !important;
31+
word-break: normal !important;
3232
}
3333

3434
/* For pieces of Markdown rendered in table cells. */
3535
td p {
36-
margin-top: 0 !important;
37-
margin-bottom: 0 !important;
36+
margin-top: 0 !important;
37+
margin-bottom: 0 !important;
3838
}

docs/assets/stylesheets/docstrings.min.css

-1
This file was deleted.

0 commit comments

Comments
 (0)