forked from eddieliao/RobotathonESP32
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing various layouts and customization schemes. Changed Setup to D…
…ocker system for easier and standardized developments
- Loading branch information
Showing
27 changed files
with
234 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian | ||
{ | ||
"name": "Debian", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/base:bullseye", | ||
"features": { | ||
"ghcr.io/devcontainers/features/ruby:1": {} | ||
}, | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [ | ||
// Jekyll server | ||
4000, | ||
// Live reload server | ||
35729 | ||
], | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "sh .devcontainer/install-dependencies.sh" | ||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
# Install the version of Bundler. | ||
if [ -f Gemfile.lock ] && grep "BUNDLED WITH" Gemfile.lock > /dev/null; then | ||
cat Gemfile.lock | tail -n 2 | grep -C2 "BUNDLED WITH" | tail -n 1 | xargs gem install bundler -v | ||
fi | ||
|
||
# Enter directory where website/ Gemfile is stored | ||
cd docs | ||
|
||
# If there's a Gemfile, then run `bundle install` | ||
# It's assumed that the Gemfile will install Jekyll too | ||
if [ -f Gemfile ]; then | ||
bundle install | ||
fi | ||
|
||
# Return (not necessary) | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for more information: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
# https://containers.dev/guide/dependabot | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "devcontainers" | ||
directory: "/" | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
--- | ||
{ % include css/just-the-docs.scss.liquid color_scheme="custom-dark" % } | ||
{% include css/just-the-docs.scss.liquid color_scheme="custom-dark" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
--- | ||
{ % include css/just-the-docs.scss.liquid color_scheme="custom-light" % } | ||
{% include css/just-the-docs.scss.liquid color_scheme="custom-light" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
--- | ||
{% if site.color_scheme and site.color_scheme != "nil" %} | ||
{% assign color_scheme = site.color_scheme %} | ||
{% else %} | ||
{% assign color_scheme = "light" %} | ||
{% endif %} | ||
{% include css/just-the-docs.scss.liquid color_scheme=color_scheme %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
layout: table_wrappers | ||
--- | ||
|
||
<!DOCTYPE html> | ||
|
||
<html lang="{{ site.lang | default: 'en-US' }}"> | ||
{% include head.html %} | ||
|
||
<body> | ||
<a class="skip-to-main" href="#main-content">Skip to main content</a> | ||
{% include icons/icons.html %} | ||
{% if page.nav_enabled == true %} | ||
{% include components/sidebar.html %} | ||
{% elsif layout.nav_enabled == true and page.nav_enabled == nil %} | ||
{% include components/sidebar.html %} | ||
{% elsif site.nav_enabled != false and layout.nav_enabled == nil and page.nav_enabled == nil %} | ||
{% include components/sidebar.html %} | ||
{% endif %} | ||
<div class="main" id="top"> | ||
{% include components/header.html %} | ||
<div class="main-content-wrap"> | ||
{% include components/breadcrumbs.html %} | ||
<div id="main-content" class="main-content"> | ||
<main> | ||
{% if site.heading_anchors != false %} | ||
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg | ||
viewBox=\"0 0 16 16\" aria-hidden=\"true\"> | ||
<use xlink:href=\"#svg-link\"></use> | ||
</svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %} | ||
{% else %} | ||
{{ content }} | ||
{% endif %} | ||
|
||
{% if page.has_children == true and page.has_toc != false %} | ||
{% include components/children_nav.html %} | ||
{% endif %} | ||
</main> | ||
{% include components/footer.html %} | ||
</div> | ||
</div> | ||
{% if site.search_enabled != false %} | ||
{% include components/search_footer.html %} | ||
{% endif %} | ||
</div> | ||
|
||
{% if site.mermaid %} | ||
{% include components/mermaid.html %} | ||
{% endif %} | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
layout: default | ||
nav_enabled: false | ||
--- | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
layout: vendor/compress | ||
--- | ||
|
||
{% assign content_ = content | replace: '<table', '<div class="table-wrapper"><table' %} {% assign content_=content_ | | ||
replace: '</table>' , '</table></div>' %} {{ content_ }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
--- | ||
--- | ||
|
||
@import "{{ site.theme }}"; | ||
|
||
@import "./color_schemes/dark"; | ||
|
||
$color-scheme: custom-dark; | ||
// $body-background-color: $grey-dk-300; | ||
// $body-heading-color: $grey-lt-000; | ||
$body-text-color: $grey-lt-300; | ||
$link-color: $blue-000; | ||
$nav-child-link-color: $grey-dk-000; | ||
$sidebar-color: $grey-dk-300; | ||
$base-button-color: $grey-dk-250; | ||
$btn-primary-color: $blue-200; | ||
$code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid | ||
$code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid | ||
$feedback-color: darken($sidebar-color, 3%); | ||
$table-background-color: $grey-dk-250; | ||
$search-background-color: $grey-dk-250; | ||
$search-result-preview-color: $grey-dk-000; | ||
// $border-color: $grey-dk-200; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
--- | ||
--- | ||
|
||
@import "{{ site.theme }}"; | ||
@import "./color_schemes/light"; | ||
|
||
$color-scheme: custom-light; | ||
$body-background-color: $white; | ||
$body-heading-color: $grey-dk-300; | ||
$body-text-color: $grey-dk-100; | ||
$link-color: $blue-000; | ||
$nav-child-link-color: $grey-dk-100; | ||
$sidebar-color: $grey-lt-000; | ||
$base-button-color: #34d1bf; | ||
$btn-primary-color: $blue-100; | ||
$code-background-color: $grey-lt-000; | ||
$feedback-color: darken($sidebar-color, 3%); | ||
$table-background-color: $white; | ||
$search-background-color: $white; | ||
$search-result-preview-color: $grey-dk-000; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
@import "./vendor/OneDarkJekyll/syntax"; // This is the one-dark-vivid atom syntax theme | ||
|
||
$color-scheme: dark; | ||
$body-background-color: $grey-dk-300; | ||
$body-heading-color: $grey-lt-000; | ||
$body-text-color: $grey-lt-300; | ||
$link-color: $blue-000; | ||
$nav-child-link-color: $grey-dk-000; | ||
$sidebar-color: $grey-dk-300; | ||
$base-button-color: $grey-dk-250; | ||
$btn-primary-color: $blue-200; | ||
$code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid | ||
$code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid | ||
$feedback-color: darken($sidebar-color, 3%); | ||
$table-background-color: $grey-dk-250; | ||
$search-background-color: $grey-dk-250; | ||
$search-result-preview-color: $grey-dk-000; | ||
$border-color: $grey-dk-200; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
@import "./vendor/OneLightJekyll/syntax"; | ||
|
||
$color-scheme: light !default; | ||
$body-background-color: $white !default; | ||
$body-heading-color: $grey-dk-300 !default; | ||
$body-text-color: $grey-dk-100 !default; | ||
$link-color: $purple-000 !default; | ||
$nav-child-link-color: $grey-dk-100 !default; | ||
$sidebar-color: $grey-lt-000 !default; | ||
$base-button-color: #f7f7f7 !default; | ||
$btn-primary-color: $purple-100 !default; | ||
$code-background-color: $grey-lt-000 !default; | ||
$feedback-color: darken($sidebar-color, 3%) !default; | ||
$table-background-color: $white !default; | ||
$search-background-color: $white !default; | ||
$search-result-preview-color: $grey-dk-000 !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// For styles that aren’t defined as SCSS variables, you may want to modify specific CSS classes | ||
// Additionally, you may want to add completely custom CSS specific to your content | ||
// To do this, put your styles in the file _sass/custom/custom.scss | ||
// This will allow for all overrides to be kept in a single file, and for any upstream changes to still be applied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// To define new SCSS variables or functions, place SCSS code in _sass/custom/setup.scss | ||
|
||
// New color scheme variables |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
layout: page | ||
layout: default | ||
title: Forms | ||
nav-include: true | ||
nav-order: 3 | ||
nav_include: true | ||
nav_order: 4 | ||
--- | ||
|
||
TBD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
layout: page | ||
title: Rulebook | ||
nav-include: true | ||
nav-order: 4 | ||
nav_include: true | ||
nav_order: 3 | ||
--- | ||
|
||
TBD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
layout: page | ||
title: Checkpoint & Workshop Schedule | ||
nav-include: true | ||
nav-order: 2 | ||
layout: default | ||
title: Competition Schedule | ||
nav_include: true | ||
nav_order: 2 | ||
--- | ||
|
||
TBD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
layout: page | ||
layout: default | ||
title: Welcome | ||
nav-include: true | ||
nav-order: 5 | ||
nav_include: true | ||
nav_order: 1 | ||
--- | ||
|
||
TBD |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
layout: page | ||
layout: default | ||
title: | ||
--- |
2 changes: 1 addition & 1 deletion
2
docs/_sections/_guide-supplementals/debugging/breadboard-bugs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
layout: page | ||
layout: default | ||
title: Newbie Guide | ||
--- |