From 0f0fef8b46d7d41715ed4c1446c06fbbc62747b4 Mon Sep 17 00:00:00 2001 From: driAn Date: Sat, 17 May 2008 20:50:48 +0000 Subject: [PATCH] docs git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2017 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/reference.xml | 32 +++++----- docs/styles/cuberef.css | 30 ++++++++- docs/transformations/cuberef2xhtml.xslt | 82 ++++++++++++++++++------- 3 files changed, 105 insertions(+), 39 deletions(-) diff --git a/docs/reference.xml b/docs/reference.xml index 01d0ff6a..ee9fc484 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -60,16 +60,13 @@ - - - Determines if two values are equal. - + Determines if a value is smaller than a second value. @@ -77,7 +74,7 @@ - + Determines if a value is bigger than a second value. @@ -85,10 +82,14 @@ - + - + Random value + + + + Determines if two strings are equal. @@ -96,7 +97,7 @@ - + Controls the script flow based on a boolean expression. @@ -161,16 +162,11 @@ Concatenates multiple strings with spaces inbetween. - - - The newly created string is saved to the alias 's'. - - @@ -182,6 +178,7 @@ + Concatenates multiple strings. @@ -194,7 +191,7 @@ @@ -206,6 +203,7 @@ + Grabs a word out of a string. @@ -254,6 +252,10 @@ + + The number of arguments passed to the current alias + +
diff --git a/docs/styles/cuberef.css b/docs/styles/cuberef.css index 7c4840ed..a08625fb 100644 --- a/docs/styles/cuberef.css +++ b/docs/styles/cuberef.css @@ -255,4 +255,32 @@ div.section div.identifier div.references a.external div.section div.identifier div.references span.none { -} \ No newline at end of file +} + +/* examples */ + +div.section div.identifier div.examples +{ + margin: 0; + padding : 0; +} + +div.section div.identifier div.examples div.code +{ + margin: 10px 0 10px 0; + padding: 0; +} + +div.section div.identifier div.examples div.exampleExplanation +{ + margin: 0; + padding: 0; +} + + +/* return value */ + +div.section div.identifier div.return +{ +} + diff --git a/docs/transformations/cuberef2xhtml.xslt b/docs/transformations/cuberef2xhtml.xslt index 59ab216a..96059a22 100644 --- a/docs/transformations/cuberef2xhtml.xslt +++ b/docs/transformations/cuberef2xhtml.xslt @@ -11,16 +11,18 @@ - - - - - - - - + + + + + + + + + + - , + - @@ -281,29 +283,63 @@ +

- Return value: + Return value: ,

+ +
- - - default key: - - - - default keys: -
- - +

+ + + default key: + + + + default keys:
- -
-
+ + +
+
+ + +