summaryrefslogtreecommitdiff
path: root/mesecons_gates/doc
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2015-11-20 20:14:50 +0100
committerJeija <norrepli@gmail.com>2015-11-20 20:14:50 +0100
commit0ec771bf7d8d95f24b46d2f608cccc109ec2de4f (patch)
tree646ef2a1e6d7750fa6e12d648986ef2ff7e78fee /mesecons_gates/doc
parent75bd081a67a2ac52b8a0eea1e051a456d288c71d (diff)
downloadmesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.tar
mesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.tar.gz
mesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.tar.bz2
mesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.tar.xz
mesecons-0ec771bf7d8d95f24b46d2f608cccc109ec2de4f.zip
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.
Diffstat (limited to 'mesecons_gates/doc')
-rw-r--r--mesecons_gates/doc/and/description.html1
-rw-r--r--mesecons_gates/doc/and/preview.pngbin0 -> 69906 bytes
-rw-r--r--mesecons_gates/doc/and/recipe.pngbin0 -> 2732 bytes
-rw-r--r--mesecons_gates/doc/diode/description.html1
-rw-r--r--mesecons_gates/doc/diode/preview.pngbin0 -> 72562 bytes
-rw-r--r--mesecons_gates/doc/diode/recipe.pngbin0 -> 2058 bytes
-rw-r--r--mesecons_gates/doc/nand/description.html1
-rw-r--r--mesecons_gates/doc/nand/preview.pngbin0 -> 63320 bytes
-rw-r--r--mesecons_gates/doc/nand/recipe.pngbin0 -> 2733 bytes
-rw-r--r--mesecons_gates/doc/nor/description.html1
-rw-r--r--mesecons_gates/doc/nor/preview.pngbin0 -> 27039 bytes
-rw-r--r--mesecons_gates/doc/nor/recipe.pngbin0 -> 2468 bytes
-rw-r--r--mesecons_gates/doc/not/description.html1
-rw-r--r--mesecons_gates/doc/not/preview.pngbin0 -> 70313 bytes
-rw-r--r--mesecons_gates/doc/not/recipe.pngbin0 -> 2083 bytes
-rw-r--r--mesecons_gates/doc/or/description.html1
-rw-r--r--mesecons_gates/doc/or/preview.pngbin0 -> 26286 bytes
-rw-r--r--mesecons_gates/doc/or/recipe.pngbin0 -> 2417 bytes
-rw-r--r--mesecons_gates/doc/xor/description.html1
-rw-r--r--mesecons_gates/doc/xor/preview.pngbin0 -> 70940 bytes
-rw-r--r--mesecons_gates/doc/xor/recipe.pngbin0 -> 2659 bytes
21 files changed, 7 insertions, 0 deletions
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
--- /dev/null
+++ b/mesecons_gates/doc/and/preview.png
Binary files differ
diff --git a/mesecons_gates/doc/and/recipe.png b/mesecons_gates/doc/and/recipe.png
new file mode 100644
index 0000000..ae6bf63
--- /dev/null
+++ b/mesecons_gates/doc/and/recipe.png
Binary files 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
--- /dev/null
+++ b/mesecons_gates/doc/diode/preview.png
Binary files differ
diff --git a/mesecons_gates/doc/diode/recipe.png b/mesecons_gates/doc/diode/recipe.png
new file mode 100644
index 0000000..71086bf
--- /dev/null
+++ b/mesecons_gates/doc/diode/recipe.png
Binary files 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
--- /dev/null
+++ b/mesecons_gates/doc/nand/preview.png
Binary files differ
diff --git a/mesecons_gates/doc/nand/recipe.png b/mesecons_gates/doc/nand/recipe.png
new file mode 100644
index 0000000..e6118b3
--- /dev/null
+++ b/mesecons_gates/doc/nand/recipe.png
Binary files 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
--- /dev/null
+++ b/mesecons_gates/doc/nor/preview.png
Binary files differ
diff --git a/mesecons_gates/doc/nor/recipe.png b/mesecons_gates/doc/nor/recipe.png
new file mode 100644
index 0000000..a2063c7
--- /dev/null
+++ b/mesecons_gates/doc/nor/recipe.png
Binary files 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
--- /dev/null
+++ b/mesecons_gates/doc/not/preview.png
Binary files differ
diff --git a/mesecons_gates/doc/not/recipe.png b/mesecons_gates/doc/not/recipe.png
new file mode 100644
index 0000000..ee1c0d6
--- /dev/null
+++ b/mesecons_gates/doc/not/recipe.png
Binary files 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
--- /dev/null
+++ b/mesecons_gates/doc/or/preview.png
Binary files differ
diff --git a/mesecons_gates/doc/or/recipe.png b/mesecons_gates/doc/or/recipe.png
new file mode 100644
index 0000000..b94169d
--- /dev/null
+++ b/mesecons_gates/doc/or/recipe.png
Binary files 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
--- /dev/null
+++ b/mesecons_gates/doc/xor/preview.png
Binary files differ
diff --git a/mesecons_gates/doc/xor/recipe.png b/mesecons_gates/doc/xor/recipe.png
new file mode 100644
index 0000000..1e129bf
--- /dev/null
+++ b/mesecons_gates/doc/xor/recipe.png
Binary files differ