Skip to content

Commit

Permalink
deploy: 7b650bf
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 1, 2024
1 parent 0df2f95 commit e5327be
Show file tree
Hide file tree
Showing 65 changed files with 312 additions and 281 deletions.
2 changes: 1 addition & 1 deletion 404.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion CNAME

This file was deleted.

2 changes: 1 addition & 1 deletion alter-min-max/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion animations/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion array-functions/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions arrays/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion art-and-appearance/index.html

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions assets/css/just-the-docs-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -403,18 +403,22 @@ blockquote { margin: 10px 0; margin-block-start: 0; margin-inline-start: 0; padd
.side-bar { z-index: 0; display: flex; flex-wrap: wrap; background-color: #27262b; }
@media (min-width: 50rem) { .side-bar { flex-flow: column nowrap; position: fixed; width: 15.5rem; height: 100%; border-right: 1px solid #44434d; align-items: flex-end; } }
@media (min-width: 66.5rem) { .side-bar { width: calc((100% - 66.5rem) / 2 + 16.5rem); min-width: 16.5rem; } }
@media (min-width: 50rem) { .side-bar + .main { margin-left: 15.5rem; } }
@media (min-width: 66.5rem) { .side-bar + .main { margin-left: Max(16.5rem, calc((100% - 66.5rem) / 2 + 16.5rem)); } }
.side-bar + .main .main-header { display: none; background-color: #27262b; }
@media (min-width: 50rem) { .side-bar + .main .main-header { display: flex; background-color: #27262b; } }
.side-bar + .main .main-header.nav-open { display: block; }
@media (min-width: 50rem) { .side-bar + .main .main-header.nav-open { display: flex; } }

@media (min-width: 50rem) { .main { position: relative; max-width: 50rem; margin-left: 15.5rem; } }
@media (min-width: 66.5rem) { .main { margin-left: Max(16.5rem, calc((100% - 66.5rem) / 2 + 16.5rem)); } }
.main { margin: auto; }
@media (min-width: 50rem) { .main { position: relative; max-width: 50rem; } }

.main-content-wrap { padding-right: 1rem; padding-left: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
@media (min-width: 50rem) { .main-content-wrap { padding-right: 2rem; padding-left: 2rem; } }
@media (min-width: 50rem) { .main-content-wrap { padding-top: 2rem; padding-bottom: 2rem; } }

.main-header { z-index: 0; display: none; background-color: #27262b; }
@media (min-width: 50rem) { .main-header { display: flex; justify-content: space-between; height: 3.75rem; background-color: #27262b; border-bottom: 1px solid #44434d; } }
.main-header.nav-open { display: block; }
@media (min-width: 50rem) { .main-header.nav-open { display: flex; } }
.main-header { z-index: 0; border-bottom: 1px solid #44434d; }
@media (min-width: 50rem) { .main-header { display: flex; justify-content: space-between; height: 3.75rem; } }

.site-nav, .site-header, .site-footer { width: 100%; }
@media (min-width: 66.5rem) { .site-nav, .site-header, .site-footer { width: 16.5rem; } }
Expand Down
16 changes: 10 additions & 6 deletions assets/css/just-the-docs-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -283,18 +283,22 @@ blockquote { margin: 10px 0; margin-block-start: 0; margin-inline-start: 0; padd
.side-bar { z-index: 0; display: flex; flex-wrap: wrap; background-color: #f5f6fa; }
@media (min-width: 50rem) { .side-bar { flex-flow: column nowrap; position: fixed; width: 15.5rem; height: 100%; border-right: 1px solid #eeebee; align-items: flex-end; } }
@media (min-width: 66.5rem) { .side-bar { width: calc((100% - 66.5rem) / 2 + 16.5rem); min-width: 16.5rem; } }
@media (min-width: 50rem) { .side-bar + .main { margin-left: 15.5rem; } }
@media (min-width: 66.5rem) { .side-bar + .main { margin-left: Max(16.5rem, calc((100% - 66.5rem) / 2 + 16.5rem)); } }
.side-bar + .main .main-header { display: none; background-color: #f5f6fa; }
@media (min-width: 50rem) { .side-bar + .main .main-header { display: flex; background-color: #fff; } }
.side-bar + .main .main-header.nav-open { display: block; }
@media (min-width: 50rem) { .side-bar + .main .main-header.nav-open { display: flex; } }

@media (min-width: 50rem) { .main { position: relative; max-width: 50rem; margin-left: 15.5rem; } }
@media (min-width: 66.5rem) { .main { margin-left: Max(16.5rem, calc((100% - 66.5rem) / 2 + 16.5rem)); } }
.main { margin: auto; }
@media (min-width: 50rem) { .main { position: relative; max-width: 50rem; } }

.main-content-wrap { padding-right: 1rem; padding-left: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
@media (min-width: 50rem) { .main-content-wrap { padding-right: 2rem; padding-left: 2rem; } }
@media (min-width: 50rem) { .main-content-wrap { padding-top: 2rem; padding-bottom: 2rem; } }

.main-header { z-index: 0; display: none; background-color: #f5f6fa; }
@media (min-width: 50rem) { .main-header { display: flex; justify-content: space-between; height: 3.75rem; background-color: #fff; border-bottom: 1px solid #eeebee; } }
.main-header.nav-open { display: block; }
@media (min-width: 50rem) { .main-header.nav-open { display: flex; } }
.main-header { z-index: 0; border-bottom: 1px solid #eeebee; }
@media (min-width: 50rem) { .main-header { display: flex; justify-content: space-between; height: 3.75rem; } }

.site-nav, .site-header, .site-footer { width: 100%; }
@media (min-width: 66.5rem) { .site-nav, .site-header, .site-footer { width: 16.5rem; } }
Expand Down
16 changes: 10 additions & 6 deletions assets/css/just-the-docs-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,18 +275,22 @@ blockquote { margin: 10px 0; margin-block-start: 0; margin-inline-start: 0; padd
.side-bar { z-index: 0; display: flex; flex-wrap: wrap; background-color: #f5f6fa; }
@media (min-width: 50rem) { .side-bar { flex-flow: column nowrap; position: fixed; width: 15.5rem; height: 100%; border-right: 1px solid #eeebee; align-items: flex-end; } }
@media (min-width: 66.5rem) { .side-bar { width: calc((100% - 66.5rem) / 2 + 16.5rem); min-width: 16.5rem; } }
@media (min-width: 50rem) { .side-bar + .main { margin-left: 15.5rem; } }
@media (min-width: 66.5rem) { .side-bar + .main { margin-left: Max(16.5rem, calc((100% - 66.5rem) / 2 + 16.5rem)); } }
.side-bar + .main .main-header { display: none; background-color: #f5f6fa; }
@media (min-width: 50rem) { .side-bar + .main .main-header { display: flex; background-color: #fff; } }
.side-bar + .main .main-header.nav-open { display: block; }
@media (min-width: 50rem) { .side-bar + .main .main-header.nav-open { display: flex; } }

@media (min-width: 50rem) { .main { position: relative; max-width: 50rem; margin-left: 15.5rem; } }
@media (min-width: 66.5rem) { .main { margin-left: Max(16.5rem, calc((100% - 66.5rem) / 2 + 16.5rem)); } }
.main { margin: auto; }
@media (min-width: 50rem) { .main { position: relative; max-width: 50rem; } }

.main-content-wrap { padding-right: 1rem; padding-left: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
@media (min-width: 50rem) { .main-content-wrap { padding-right: 2rem; padding-left: 2rem; } }
@media (min-width: 50rem) { .main-content-wrap { padding-top: 2rem; padding-bottom: 2rem; } }

.main-header { z-index: 0; display: none; background-color: #f5f6fa; }
@media (min-width: 50rem) { .main-header { display: flex; justify-content: space-between; height: 3.75rem; background-color: #fff; border-bottom: 1px solid #eeebee; } }
.main-header.nav-open { display: block; }
@media (min-width: 50rem) { .main-header.nav-open { display: flex; } }
.main-header { z-index: 0; border-bottom: 1px solid #eeebee; }
@media (min-width: 50rem) { .main-header { display: flex; justify-content: space-between; height: 3.75rem; } }

.site-nav, .site-header, .site-footer { width: 100%; }
@media (min-width: 66.5rem) { .site-nav, .site-header, .site-footer { width: 16.5rem; } }
Expand Down
37 changes: 28 additions & 9 deletions assets/js/just-the-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function disableHeadStyleSheets() {

function initSearch() {
var request = new XMLHttpRequest();
request.open('GET', '/assets/js/search-data.json', true);
request.open('GET', '/sfall/assets/js/search-data.json', true);

request.onload = function(){
if (request.status >= 200 && request.status < 400) {
Expand Down Expand Up @@ -456,18 +456,35 @@ jtd.getTheme = function() {

jtd.setTheme = function(theme) {
var cssFile = document.querySelector('[rel="stylesheet"]');
cssFile.setAttribute('href', '/assets/css/just-the-docs-' + theme + '.css');
cssFile.setAttribute('href', '/sfall/assets/css/just-the-docs-' + theme + '.css');
}

// Note: pathname can have a trailing slash on a local jekyll server
// and not have the slash on GitHub Pages

function navLink() {
var href = document.location.pathname;
if (href.endsWith('/') && href != '/') {
href = href.slice(0, -1);
var pathname = document.location.pathname;

var navLink = document.getElementById('site-nav').querySelector('a[href="' + pathname + '"]');
if (navLink) {
return navLink;
}
return document.getElementById('site-nav').querySelector('a[href="' + href + '"], a[href="' + href + '/"]');

// The `permalink` setting may produce navigation links whose `href` ends with `/` or `.html`.
// To find these links when `/` is omitted from or added to pathname, or `.html` is omitted:

if (pathname.endsWith('/') && pathname != '/') {
pathname = pathname.slice(0, -1);
}

if (pathname != '/') {
navLink = document.getElementById('site-nav').querySelector('a[href="' + pathname + '"], a[href="' + pathname + '/"], a[href="' + pathname + '.html"]');
if (navLink) {
return navLink;
}
}

return null; // avoids `undefined`
}

// Scroll site-nav to ensure the link to the current page is visible
Expand Down Expand Up @@ -502,10 +519,12 @@ function activateNav() {
// Document ready

jtd.onReady(function(){
initNav();
if (document.getElementById('site-nav')) {
initNav();
activateNav();
scrollNav();
}
initSearch();
activateNav();
scrollNav();
});

// Copy button on code
Expand Down
Loading

0 comments on commit e5327be

Please sign in to comment.