From 0ec771bf7d8d95f24b46d2f608cccc109ec2de4f Mon Sep 17 00:00:00 2001 From: Jeija Date: Fri, 20 Nov 2015 20:14:50 +0100 Subject: Major change: Documentation is now included with mesecons, the website just extracts the documentation in a more readable format This makes development of new features easier, as documentation can automatically be updated on the website without modifying the website's code! Every mod that has nodes in the mesecons modpack has a "doc" folder that contains subfolders with recipe, description and preview of the block. The website will discover which documentation is available by reading the documentation.json file. --- mesecons_gates/doc/and/description.html | 1 + mesecons_gates/doc/and/preview.png | Bin 0 -> 69906 bytes mesecons_gates/doc/and/recipe.png | Bin 0 -> 2732 bytes mesecons_gates/doc/diode/description.html | 1 + mesecons_gates/doc/diode/preview.png | Bin 0 -> 72562 bytes mesecons_gates/doc/diode/recipe.png | Bin 0 -> 2058 bytes mesecons_gates/doc/nand/description.html | 1 + mesecons_gates/doc/nand/preview.png | Bin 0 -> 63320 bytes mesecons_gates/doc/nand/recipe.png | Bin 0 -> 2733 bytes mesecons_gates/doc/nor/description.html | 1 + mesecons_gates/doc/nor/preview.png | Bin 0 -> 27039 bytes mesecons_gates/doc/nor/recipe.png | Bin 0 -> 2468 bytes mesecons_gates/doc/not/description.html | 1 + mesecons_gates/doc/not/preview.png | Bin 0 -> 70313 bytes mesecons_gates/doc/not/recipe.png | Bin 0 -> 2083 bytes mesecons_gates/doc/or/description.html | 1 + mesecons_gates/doc/or/preview.png | Bin 0 -> 26286 bytes mesecons_gates/doc/or/recipe.png | Bin 0 -> 2417 bytes mesecons_gates/doc/xor/description.html | 1 + mesecons_gates/doc/xor/preview.png | Bin 0 -> 70940 bytes mesecons_gates/doc/xor/recipe.png | Bin 0 -> 2659 bytes 21 files changed, 7 insertions(+) create mode 100644 mesecons_gates/doc/and/description.html create mode 100644 mesecons_gates/doc/and/preview.png create mode 100644 mesecons_gates/doc/and/recipe.png create mode 100644 mesecons_gates/doc/diode/description.html create mode 100644 mesecons_gates/doc/diode/preview.png create mode 100644 mesecons_gates/doc/diode/recipe.png create mode 100644 mesecons_gates/doc/nand/description.html create mode 100644 mesecons_gates/doc/nand/preview.png create mode 100644 mesecons_gates/doc/nand/recipe.png create mode 100644 mesecons_gates/doc/nor/description.html create mode 100644 mesecons_gates/doc/nor/preview.png create mode 100644 mesecons_gates/doc/nor/recipe.png create mode 100644 mesecons_gates/doc/not/description.html create mode 100644 mesecons_gates/doc/not/preview.png create mode 100644 mesecons_gates/doc/not/recipe.png create mode 100644 mesecons_gates/doc/or/description.html create mode 100644 mesecons_gates/doc/or/preview.png create mode 100644 mesecons_gates/doc/or/recipe.png create mode 100644 mesecons_gates/doc/xor/description.html create mode 100644 mesecons_gates/doc/xor/preview.png create mode 100644 mesecons_gates/doc/xor/recipe.png (limited to 'mesecons_gates') diff --git a/mesecons_gates/doc/and/description.html b/mesecons_gates/doc/and/description.html new file mode 100644 index 0000000..eafbeda --- /dev/null +++ b/mesecons_gates/doc/and/description.html @@ -0,0 +1 @@ +And gates power their output if both inputs (from left and right) are powered. diff --git a/mesecons_gates/doc/and/preview.png b/mesecons_gates/doc/and/preview.png new file mode 100644 index 0000000..b2b5301 Binary files /dev/null and b/mesecons_gates/doc/and/preview.png differ diff --git a/mesecons_gates/doc/and/recipe.png b/mesecons_gates/doc/and/recipe.png new file mode 100644 index 0000000..ae6bf63 Binary files /dev/null and b/mesecons_gates/doc/and/recipe.png differ diff --git a/mesecons_gates/doc/diode/description.html b/mesecons_gates/doc/diode/description.html new file mode 100644 index 0000000..174fd64 --- /dev/null +++ b/mesecons_gates/doc/diode/description.html @@ -0,0 +1 @@ +Mesecon diodes, just like real ones, only transfer power (signals) in one direction only. diff --git a/mesecons_gates/doc/diode/preview.png b/mesecons_gates/doc/diode/preview.png new file mode 100644 index 0000000..ced541b Binary files /dev/null and b/mesecons_gates/doc/diode/preview.png differ diff --git a/mesecons_gates/doc/diode/recipe.png b/mesecons_gates/doc/diode/recipe.png new file mode 100644 index 0000000..71086bf Binary files /dev/null and b/mesecons_gates/doc/diode/recipe.png differ diff --git a/mesecons_gates/doc/nand/description.html b/mesecons_gates/doc/nand/description.html new file mode 100644 index 0000000..a520fd2 --- /dev/null +++ b/mesecons_gates/doc/nand/description.html @@ -0,0 +1 @@ +Nand gates do not power their output if both inputs (from left and right) are powered, but power it in every other case. diff --git a/mesecons_gates/doc/nand/preview.png b/mesecons_gates/doc/nand/preview.png new file mode 100644 index 0000000..d8db780 Binary files /dev/null and b/mesecons_gates/doc/nand/preview.png differ diff --git a/mesecons_gates/doc/nand/recipe.png b/mesecons_gates/doc/nand/recipe.png new file mode 100644 index 0000000..e6118b3 Binary files /dev/null and b/mesecons_gates/doc/nand/recipe.png differ diff --git a/mesecons_gates/doc/nor/description.html b/mesecons_gates/doc/nor/description.html new file mode 100644 index 0000000..cfcd4c0 --- /dev/null +++ b/mesecons_gates/doc/nor/description.html @@ -0,0 +1 @@ +Nor gates only power their output if none of their two inputs is powered. They are basically or gates with a not gate at their output. diff --git a/mesecons_gates/doc/nor/preview.png b/mesecons_gates/doc/nor/preview.png new file mode 100644 index 0000000..b6d2781 Binary files /dev/null and b/mesecons_gates/doc/nor/preview.png differ diff --git a/mesecons_gates/doc/nor/recipe.png b/mesecons_gates/doc/nor/recipe.png new file mode 100644 index 0000000..a2063c7 Binary files /dev/null and b/mesecons_gates/doc/nor/recipe.png differ diff --git a/mesecons_gates/doc/not/description.html b/mesecons_gates/doc/not/description.html new file mode 100644 index 0000000..8bd6795 --- /dev/null +++ b/mesecons_gates/doc/not/description.html @@ -0,0 +1 @@ +Not gates invert signals, just like a mesecon torch does, but faster. The input is at the opposite side of the output. diff --git a/mesecons_gates/doc/not/preview.png b/mesecons_gates/doc/not/preview.png new file mode 100644 index 0000000..4a33cd1 Binary files /dev/null and b/mesecons_gates/doc/not/preview.png differ diff --git a/mesecons_gates/doc/not/recipe.png b/mesecons_gates/doc/not/recipe.png new file mode 100644 index 0000000..ee1c0d6 Binary files /dev/null and b/mesecons_gates/doc/not/recipe.png differ diff --git a/mesecons_gates/doc/or/description.html b/mesecons_gates/doc/or/description.html new file mode 100644 index 0000000..0a74abd --- /dev/null +++ b/mesecons_gates/doc/or/description.html @@ -0,0 +1 @@ +Or gates power their output if either of their inputs (or both) are powered. You could basically get the same behaviour with two diodes, but or gates save some space. diff --git a/mesecons_gates/doc/or/preview.png b/mesecons_gates/doc/or/preview.png new file mode 100644 index 0000000..b7a8cdc Binary files /dev/null and b/mesecons_gates/doc/or/preview.png differ diff --git a/mesecons_gates/doc/or/recipe.png b/mesecons_gates/doc/or/recipe.png new file mode 100644 index 0000000..b94169d Binary files /dev/null and b/mesecons_gates/doc/or/recipe.png differ diff --git a/mesecons_gates/doc/xor/description.html b/mesecons_gates/doc/xor/description.html new file mode 100644 index 0000000..f52f3fc --- /dev/null +++ b/mesecons_gates/doc/xor/description.html @@ -0,0 +1 @@ +XOR gates power their output if only one input is powered, they're off if either both or none of the inputs is powered. diff --git a/mesecons_gates/doc/xor/preview.png b/mesecons_gates/doc/xor/preview.png new file mode 100644 index 0000000..3d3941e Binary files /dev/null and b/mesecons_gates/doc/xor/preview.png differ diff --git a/mesecons_gates/doc/xor/recipe.png b/mesecons_gates/doc/xor/recipe.png new file mode 100644 index 0000000..1e129bf Binary files /dev/null and b/mesecons_gates/doc/xor/recipe.png differ -- cgit v1.2.3