Skip to content

Commit 119606f

Browse files
committed
2 parents 754bff2 + fe31f4f commit 119606f

File tree

11 files changed

+207
-67
lines changed

11 files changed

+207
-67
lines changed

.codesandbox/tasks.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@
88
],
99

1010
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
11-
"tasks": {}
11+
"tasks": {
12+
"ruby:typecheck": {
13+
"name": "Typecheck",
14+
"command": "solargraph typecheck"
15+
}
16+
}
1217
}

.devcontainer/devcontainer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/jekyll
3+
{
4+
"name": "Jekyll",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/jekyll:2-bullseye"
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
14+
// Uncomment the next line to run commands after the container is created.
15+
// "postCreateCommand": "jekyll --version"
16+
17+
// Configure tool-specific properties.
18+
// "customizations": {},
19+
20+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21+
// "remoteUser": "root"
22+
}

.github/dependabot.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
17
version: 2
28
updates:
3-
- package-ecosystem: bundler
4-
directory: /
5-
schedule:
6-
interval: daily
7-
allow:
8-
- dependency-type: direct
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ group :jekyll_plugins do
1313
gem "jekyll-sitemap"
1414
gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2
1515
gem "base64", "~> 0.2.0"
16+
gem 'csv'
1617
end

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ GEM
77
bigdecimal (3.2.2)
88
colorator (1.1.0)
99
concurrent-ruby (1.3.5)
10+
csv (3.3.5)
1011
em-websocket (0.5.3)
1112
eventmachine (>= 0.12.9)
1213
http_parser.rb (~> 0)
@@ -102,8 +103,6 @@ GEM
102103
safe_yaml (1.0.5)
103104
sass-embedded (1.89.2-arm64-darwin)
104105
google-protobuf (~> 4.31)
105-
sass-embedded (1.89.2-x64-mingw-ucrt)
106-
google-protobuf (~> 4.31)
107106
sass-embedded (1.89.2-x86_64-darwin)
108107
google-protobuf (~> 4.31)
109108
sass-embedded (1.89.2-x86_64-linux-gnu)
@@ -125,6 +124,7 @@ PLATFORMS
125124

126125
DEPENDENCIES
127126
base64 (~> 0.2.0)
127+
csv
128128
faraday-retry
129129
jekyll (~> 4.3.2)
130130
jekyll-github-metadata (>= 2.15)

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ search:
4545
# Supports true or false (default)
4646
button: true
4747
# Focus the search input by pressing `ctrl + focus_shortcut_key` (or `cmd + focus_shortcut_key` on macOS)
48-
focus_shortcut_key: 'k'
48+
focus_shortcut_key: "k"
4949

5050
# For copy button on code
5151
enable_copy_code_button: true
@@ -70,7 +70,7 @@ heading_anchors: true
7070
# Aux links for the upper right navigation
7171
aux_links:
7272
"BIRDSOpenSource on GitHub":
73-
- "{{site.github_org}}"
73+
- "https://github.com/BIRDSOpenSource/BIRDSOpenSource.github.io"
7474

7575
# Makes Aux links open in a new tab. Default is false
7676
aux_links_new_tab: true
@@ -83,7 +83,7 @@ nav_enabled: true
8383
color_schemes:
8484
- light
8585
- dark
86-
86+
8787
color_scheme: dark
8888

8989
# # Define Jekyll collections
@@ -104,7 +104,7 @@ callouts:
104104
title: Warning
105105
color: red
106106
opacity: 0.3
107-
107+
108108
caution:
109109
title: Caution
110110
color: yellow

_includes/head.html

Lines changed: 140 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,159 @@
11
<head>
2-
<meta charset="UTF-8">
3-
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
4-
5-
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}">
6-
7-
{% if site.ga_tracking != nil %}
8-
{% assign ga_tracking_ids = site.ga_tracking | split: "," %}
9-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ ga_tracking_ids.first }}"></script>
10-
<script>
11-
window.dataLayer = window.dataLayer || [];
12-
function gtag(){dataLayer.push(arguments);}
13-
gtag('js', new Date());
14-
15-
{% for ga_property in ga_tracking_ids %}
16-
gtag('config', '{{ ga_property }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %});
17-
{% endfor %}
18-
</script>
19-
{% endif %}
2+
<meta charset="UTF-8" />
3+
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
4+
<link rel="preconnect" href="https://fonts.googleapis.com" />
5+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
6+
<link
7+
href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Geist:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Red+Rose:wght@300..700&display=swap"
8+
rel="stylesheet"
9+
/>
10+
<link
11+
rel="stylesheet"
12+
href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}"
13+
/>
14+
15+
{% if site.ga_tracking != nil %} {% assign ga_tracking_ids = site.ga_tracking
16+
| split: "," %}
17+
<script
18+
async
19+
src="https://www.googletagmanager.com/gtag/js?id={{ ga_tracking_ids.first }}"
20+
></script>
21+
<script>
22+
window.dataLayer = window.dataLayer || [];
23+
function gtag(){dataLayer.push(arguments);}
24+
gtag('js', new Date());
2025

21-
{% if site.search_enabled != false %}
22-
<script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script>
26+
{% for ga_property in ga_tracking_ids %}
27+
gtag('config', '{{ ga_property }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %});
28+
{% endfor %}
29+
</script>
30+
{% endif %} {% if site.search_enabled != false %}
31+
<script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script>
2332
{% endif %}
2433

2534
<script src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script>
2635

27-
<meta name="viewport" content="width=device-width, initial-scale=1">
36+
<meta name="viewport" content="width=device-width, initial-scale=1" />
2837

29-
{% for file in site.static_files %}
30-
{% if file.path == site.favicon_ico or file.path == '/favicon.ico' %}
31-
{% assign favicon = true %}
32-
{% endif %}
33-
{% endfor %}
34-
{% if favicon %}
35-
<link rel="icon" href="{{ site.favicon_ico | default: '/favicon.ico' | relative_url }}" type="image/x-icon">
38+
{% for file in site.static_files %} {% if file.path == site.favicon_ico or
39+
file.path == '/favicon.ico' %} {% assign favicon = true %} {% endif %} {%
40+
endfor %} {% if favicon %}
41+
<link
42+
rel="icon"
43+
href="{{ site.favicon_ico | default: '/favicon.ico' | relative_url }}"
44+
type="image/x-icon"
45+
/>
3646
{% endif %}
37-
47+
3848
<script>
3949
window.MathJax = {
40-
tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] },
41-
svg: { fontCache: 'global' }
50+
tex: {
51+
inlineMath: [
52+
["$", "$"],
53+
["\\(", "\\)"],
54+
],
55+
},
56+
svg: { fontCache: "global" },
4257
};
4358
</script>
44-
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" async></script>
59+
<script
60+
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"
61+
async
62+
></script>
4563

4664
{%- seo title=false -%}
4765
<title>{{ site.data.l10n.title }}</title>
4866

4967
{% include head_custom.html %}
5068

69+
<style>
70+
* {
71+
font-family: "DM Sans", sans-serif;
72+
font-optical-sizing: auto;
73+
}
74+
75+
body {
76+
background-color: black !important;
77+
}
78+
79+
@media (min-width: 1100px) {
80+
body {
81+
display: flex !important;
82+
height: 100vh;
83+
overflow-y: hidden;
84+
}
85+
.main {
86+
margin-left: 0px;
87+
max-width: none !important;
88+
height: 100%;
89+
}
90+
.main-content-wrap {
91+
height: 100%;
92+
overflow-y: auto;
93+
}
94+
.side-bar {
95+
width: max-content !important;
96+
min-width: none !important;
97+
scrollbar-width: "none";
98+
position: relative;
99+
}
100+
.site-nav {
101+
overflow-y: scroll;
102+
padding-top: 8px !important;
103+
}
104+
.main-header,
105+
.main {
106+
width: 100% !important;
107+
}
108+
}
109+
110+
a {
111+
color: rgb(82, 168, 255) !important;
112+
text-decoration: none !important;
113+
}
114+
p {
115+
color: #ededed !important;
116+
}
117+
118+
h1 {
119+
line-height: 1 !important;
120+
}
121+
.main-header,
122+
.search,
123+
.search-input,
124+
.side-bar {
125+
background-color: black !important;
126+
}
127+
.site-nav {
128+
color: #ededed !important;
129+
scrollbar-width: thin;
130+
scrollbar-color: #eaeaea transparent;
131+
scrollbar-gutter: stable;
132+
}
133+
134+
.nav-list-link {
135+
color: #a1a1a1 !important;
136+
}
137+
138+
.nav-list-link.active {
139+
color: rgb(82, 168, 255) !important;
140+
background: none !important;
141+
}
142+
143+
.site-button {
144+
background-color: #0a0a0a !important;
145+
color: #ededed !important;
146+
border-left-width: 1px !important;
147+
border-right-width: 1px !important;
148+
border-color: #ededed !important;
149+
display: "flex!important";
150+
align-items: "center!important";
151+
gap: 8px !important;
152+
}
153+
154+
.site-button::before {
155+
content: url("/assets/svg/github.svg");
156+
height: 14px;
157+
}
158+
</style>
51159
</head>

_includes/nav_footer_custom.html

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
<span class="fs-2" align="right">
2-
{%- assign date_format = site.data.l10n.date_format | default: "%b %-d, %Y" -%}
3-
{{ site.time | date: date_format }} {{ site.data.l10n.title }}
4-
<div>
5-
<p style="margin-bottom: 0.3rem; ">
6-
Using Just the Docs
7-
</p>
8-
<p style="margin: 0.4rem 0">
9-
<a
10-
href="https://birdsopensource.github.io/contribute"
11-
target="_blank"
12-
style="color: #e6e1e7; text-decoration: none"
13-
>
14-
Built with ❤️ by Kyutech LaSEINE
15-
</a>
16-
</p>
17-
</div>
1+
<span class="fs-2" align="left">
2+
{%- assign date_format = site.data.l10n.date_format | default: "%b %-d, %Y"
3+
-%} {{ site.time | date: date_format }} {{ site.data.l10n.title }}
4+
<div>
5+
<p style="margin-bottom: 0.3rem">Using Just the Docs</p>
6+
<p style="margin: 0.4rem 0">
7+
<a
8+
href="https://birdsopensource.github.io/contribute"
9+
target="_blank"
10+
style="color: #e6e1e7; text-decoration: none"
11+
>
12+
Built with ❤️ by Kyutech LaSEINE
13+
</a>
14+
</p>
15+
</div>
1816
</span>
19-

_site/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

assets/svg/github.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)