diff --git a/CSS/ksdocs.css b/CSS/ksdocs.css index 08a3831..26ce864 100644 --- a/CSS/ksdocs.css +++ b/CSS/ksdocs.css @@ -101,7 +101,7 @@ a background-color: #ffff99; color: black; padding: 1em; - font-size: 1em; + font-size: 1.5vw; } .exa diff --git a/index.html b/index.html index e81853b..82bc2ec 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - StardustGogeta + StardustGogeta - Home Page diff --git a/ksdocs/embed.html b/ksdocs/embed.html index 1ad7849..655331c 100644 --- a/ksdocs/embed.html +++ b/ksdocs/embed.html @@ -2,7 +2,7 @@ Embedding Python -
Return to Categories
+
Return to Categories
@@ -11,5 +11,10 @@

<python>
    [pythonCode]
</python>Between tags reminiscent of HTML, Python code can be directly inserted into a KerbalSpace document. This will only work when the tags appear on their own lines, and does not work for partial lines of code. +

--[pythonCode]

+
Immediately after two dashes in a row appear at the start of a line, + the line is transcribed directly into the output Python file. This can be used like above, + but is intended for single lines which are currently missing counterparts within KerbalSpace. + Do not place whitespace after the dashes if it is not meant to be included in the transciption.
\ No newline at end of file diff --git a/ksdocs/func.html b/ksdocs/func.html index 184ce87..33a0afa 100644 --- a/ksdocs/func.html +++ b/ksdocs/func.html @@ -2,7 +2,7 @@ Functions -
Return to Categories
+
Return to Categories
diff --git a/ksdocs/import.html b/ksdocs/import.html index 145e3ec..a381cf6 100644 --- a/ksdocs/import.html +++ b/ksdocs/import.html @@ -2,7 +2,7 @@ Importing Files -
Return to Categories
+
Return to Categories
diff --git a/ksdocs/index.html b/ksdocs/index.html index b4ef024..1548dc1 100644 --- a/ksdocs/index.html +++ b/ksdocs/index.html @@ -2,7 +2,7 @@ KerbalSpace Documentation -
Return to Home Page
+
Return to Home Page
@@ -12,13 +12,17 @@

KerbalSpace Documentation

any way. The language is free to use and examples are available on GitHub. The official KS to Python compiler will also be maintained on GitHub under my account.

Within this documentation, all parameters will appear as mixedCase, and all - optional parameters will be enclosed in [square brackets]. + optional parameters will be enclosed in [square brackets].
+ If you want more advanced documentation or need to clarify anything, ask by messaging me on + Steam or on + Google+.

Categories

    -
  1. Input and Output
  2. -
  3. Functions
  4. -
  5. Importing Files
  6. -
  7. Embedding Python
  8. +
  9. Input and Output
  10. +
  11. Loops and Conditionals
  12. +
  13. Functions
  14. +
  15. Importing Files
  16. +
  17. Embedding Python
\ No newline at end of file diff --git a/ksdocs/io.html b/ksdocs/io.html index c8b2083..f0729f3 100644 --- a/ksdocs/io.html +++ b/ksdocs/io.html @@ -2,7 +2,7 @@ Input and Output -
Return to Categories
+
Return to Categories
@@ -10,7 +10,7 @@

KerbalSpace - Input and Output

> [text]

This is the printing function, converting the contents of the line into an argument for print() in Python.
-

< (storageVariable) [, promptString]

+

< storageVariable [, promptString]

This is the reading function, representing storageVariable = input([promptString]) in Python.
\ No newline at end of file diff --git a/ksdocs/loops.html b/ksdocs/loops.html new file mode 100644 index 0000000..4390a2a --- /dev/null +++ b/ksdocs/loops.html @@ -0,0 +1,16 @@ + + + + Loops and Conditionals +
Return to Categories
+ + + +

KerbalSpace - Loops and Conditionals

+

? condition [: ifTrue] [: ifFalse]
+     [ifTrue]

+
Similar to a ternary statement in Python, an entire if / else structure + can be placed on one line. Additionally, this does not require colons when only the condition + is included, and instead detects only from the indents on the next lines.
+ + \ No newline at end of file