Skip to content

Commit b8f9eb9

Browse files
authored
[Wiki] Iris, GDO and Transceiver documentation (#152)
* Document Iris, GDO & transceiver, update just-the-docs to 0.9.0 document transceiver functions create transceiver page for computercraft functions Update events with peripheral name Document CC functions for iris control Update readme with package dependencies for Ubuntu remove custom header with warning remove future note transceiver description linking to GDO and transceiver GDO item description GDO redstone circuit update interface modes iris WIP basic iris page rename vortex to strudel Update just-the-docs to 0.9.0 * Describe switching interface mode * improve getIrisProgress() description
1 parent 19c3181 commit b8f9eb9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+990
-63
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ gem "github-pages", group: :jekyll_plugins
55

66
# theme
77
# https://github.com/just-the-docs/just-the-docs
8-
gem "just-the-docs", "~> 0.8.2"
8+
gem "just-the-docs", "~> 0.9.0"
99

1010
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
1111
# and associated library.

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ GEM
205205
gemoji (>= 3, < 5)
206206
html-pipeline (~> 2.2)
207207
jekyll (>= 3.0, < 5.0)
208-
just-the-docs (0.8.2)
208+
just-the-docs (0.9.0)
209209
jekyll (>= 3.8.5)
210210
jekyll-include-cache
211211
jekyll-seo-tag (>= 2.0)
@@ -271,7 +271,7 @@ PLATFORMS
271271
DEPENDENCIES
272272
github-pages
273273
http_parser.rb (~> 0.6.0)
274-
just-the-docs (~> 0.8.2)
274+
just-the-docs (~> 0.9.0)
275275
tzinfo (>= 1, < 3)
276276
tzinfo-data
277277
wdm (~> 0.1.1)

README.md

+13

_includes/header_custom.html

-8
This file was deleted.

_includes/js/custom.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
document.addEventListener("DOMContentLoaded", () => {
2-
{% include js/open-details.js %}
3-
});
1+
{% include js/open-details.js %}

_includes/js/open-details.js

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
// TODO: this definitely needs some tweaks, it does not work as intended
12
/**
2-
* Once the page is loaded, it will extract the fragment (part after {@code #}) from the url
3+
* Once the page is loaded, it will extract the fragment from the url
34
* and if it refers to a {@code details} or {@code summary} element, it will add {@code open} attribute
45
* to the relevant {@code details} element.
56
*/
6-
(() => {
7+
function onHashChange() {
78
const fragment = window.location.hash.substring(1);
89
if (fragment == null || fragment.trim() === "") return;
910
const details = document.querySelectorAll("#" + fragment);
@@ -16,4 +17,8 @@
1617
el.setAttribute("open", "true");
1718
}
1819
})
19-
})();
20+
}
21+
22+
document.addEventListener("DOMContentLoaded", onHashChange);
23+
document.addEventListener("hashchange", onHashChange);
24+
// document.addEventListener("click", onHashChange);

_sass/custom/custom.scss

+4
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,9 @@ details {
2929
border-left: 3px solid #44434d;
3030
}
3131

32+
.flex-align-items-center {
33+
align-items: center;
34+
}
35+
3236
// located in /assets/css
3337
@import "./youtubePlayer.css";
9.72 KB

assets/img/items/functional/gdo.png

442 Bytes
2.87 KB

blocks/index.md

+6

blocks/stargate_variants.md

+2-2

blocks/technological_blocks.md

+24

computercraft/events.md

+52-20

0 commit comments

Comments
 (0)