Skip to content

Commit

Permalink
Fixed code snippets + added full support on all pages (buttons --!)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushYadlapati committed Jul 22, 2024
1 parent c533653 commit 5034d79
Show file tree
Hide file tree
Showing 12 changed files with 760 additions and 760 deletions.
3 changes: 1 addition & 2 deletions book/book.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,9 @@ function playground_text(playground, hidden = true) {
//ace_theme = "ace/theme/tomorrow_night";
ace_theme = "ace/theme/solvers-light";
}

else {
stylesheets.ayuHighlight.disabled = true;
stylesheets.tomorrowNight.disabled = false;
stylesheets.tomorrowNight.disabled = true;
stylesheets.highlight.disabled = true;
stylesheets.solversLightHighlight.disabled = true;
stylesheets.solversDarkHighlight.disabled = false;
Expand Down
2 changes: 1 addition & 1 deletion book/odometry/CombinedTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="stylesheet" href="../tomorrow-night.css">
<link rel="stylesheet" href="../ayu-highlight.css">
<link rel="stylesheet" href="../solvers-light-highlight.css">
<link rel="stylesheet" href="solvers-dark-highlight.css">
<link rel="stylesheet" href="../solvers-dark-highlight.css">

<!-- Custom theme stylesheets -->

Expand Down
2 changes: 1 addition & 1 deletion book/odometry/SplineTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="stylesheet" href="../tomorrow-night.css">
<link rel="stylesheet" href="../ayu-highlight.css">
<link rel="stylesheet" href="../solvers-light-highlight.css">
<link rel="stylesheet" href="solvers-dark-highlight.css">
<link rel="stylesheet" href="../solvers-dark-highlight.css">
<!-- Custom theme stylesheets -->

<!-- MathJax -->
Expand Down
2 changes: 1 addition & 1 deletion book/odometry/StraightTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="stylesheet" href="../tomorrow-night.css">
<link rel="stylesheet" href="../ayu-highlight.css">
<link rel="stylesheet" href="../solvers-light-highlight.css">
<link rel="stylesheet" href="solvers-dark-highlight.css">
<link rel="stylesheet" href="../solvers-dark-highlight.css">

<!-- Custom theme stylesheets -->

Expand Down
745 changes: 373 additions & 372 deletions book/print.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions book/solvers-dark-highlight.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Solvers Light Theme
* Solvers Dark Theme
*/

/* Comment */
Expand Down Expand Up @@ -49,14 +49,14 @@
/* Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #9d00ec;
color: #BAAD0C;
}

.hljs {
display: block;
overflow-x: auto;
background: #004052;
color: #1eb5fc;
color: #1ed3ba;
}

.hljs-emphasis {
Expand Down
3 changes: 1 addition & 2 deletions src/book.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,9 @@ function playground_text(playground, hidden = true) {
//ace_theme = "ace/theme/tomorrow_night";
ace_theme = "ace/theme/solvers-light";
}

else {
stylesheets.ayuHighlight.disabled = true;
stylesheets.tomorrowNight.disabled = false;
stylesheets.tomorrowNight.disabled = true;
stylesheets.highlight.disabled = true;
stylesheets.solversLightHighlight.disabled = true;
stylesheets.solversDarkHighlight.disabled = false;
Expand Down
2 changes: 1 addition & 1 deletion src/odometry/CombinedTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="stylesheet" href="../tomorrow-night.css">
<link rel="stylesheet" href="../ayu-highlight.css">
<link rel="stylesheet" href="../solvers-light-highlight.css">
<link rel="stylesheet" href="solvers-dark-highlight.css">
<link rel="stylesheet" href="../solvers-dark-highlight.css">

<!-- Custom theme stylesheets -->

Expand Down
2 changes: 1 addition & 1 deletion src/odometry/SplineTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="stylesheet" href="../tomorrow-night.css">
<link rel="stylesheet" href="../ayu-highlight.css">
<link rel="stylesheet" href="../solvers-light-highlight.css">
<link rel="stylesheet" href="solvers-dark-highlight.css">
<link rel="stylesheet" href="../solvers-dark-highlight.css">
<!-- Custom theme stylesheets -->

<!-- MathJax -->
Expand Down
2 changes: 1 addition & 1 deletion src/odometry/StraightTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="stylesheet" href="../tomorrow-night.css">
<link rel="stylesheet" href="../ayu-highlight.css">
<link rel="stylesheet" href="../solvers-light-highlight.css">
<link rel="stylesheet" href="solvers-dark-highlight.css">
<link rel="stylesheet" href="../solvers-dark-highlight.css">

<!-- Custom theme stylesheets -->

Expand Down
745 changes: 373 additions & 372 deletions src/print.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/solvers-dark-highlight.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Solvers Light Theme
* Solvers Dark Theme
*/

/* Comment */
Expand Down Expand Up @@ -49,14 +49,14 @@
/* Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #9d00ec;
color: #BAAD0C;
}

.hljs {
display: block;
overflow-x: auto;
background: #004052;
color: #1eb5fc;
color: #1ed3ba;
}

.hljs-emphasis {
Expand Down

0 comments on commit 5034d79

Please sign in to comment.