From 14a471d6cb7b24a4590600714969487c4c30eee9 Mon Sep 17 00:00:00 2001 From: driAn Date: Sat, 18 Oct 2008 12:47:05 +0000 Subject: [PATCH] added doc tools git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3136 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/autogen/win32_cubedoc2xhtml.ps1 | 8 ++++++++ docs/autogen/win32_cuberef2cubescript.bat | 9 +++++++++ docs/autogen/win32_cuberef2xhtml.bat | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 docs/autogen/win32_cubedoc2xhtml.ps1 create mode 100644 docs/autogen/win32_cuberef2cubescript.bat create mode 100644 docs/autogen/win32_cuberef2xhtml.bat diff --git a/docs/autogen/win32_cubedoc2xhtml.ps1 b/docs/autogen/win32_cubedoc2xhtml.ps1 new file mode 100644 index 00000000..4316d6cd --- /dev/null +++ b/docs/autogen/win32_cubedoc2xhtml.ps1 @@ -0,0 +1,8 @@ +$files = dir ..\* -include *.html + +foreach($f in $files) +{ + $in = $f.FullName + $out = [system.io.path]::ChangeExtension($f.FullName, "html") + msxsl.exe -o "$out" -v "$in" ..\transformations\cubedoc2xhtml.xslt +} \ No newline at end of file diff --git a/docs/autogen/win32_cuberef2cubescript.bat b/docs/autogen/win32_cuberef2cubescript.bat new file mode 100644 index 00000000..a1a2b908 --- /dev/null +++ b/docs/autogen/win32_cuberef2cubescript.bat @@ -0,0 +1,9 @@ +@echo off +rem windows only. +rem automatically transforms the reference to a cubescript. +rem requires MSXSL, available at +rem http://www.microsoft.com/downloads/details.aspx?familyid=2fb55371-c94e-4373-b0e9-db4816552e41&displaylang=en +@echo on + +msxsl.exe -o ..\..\config\docs.cfg -v ..\reference.html ..\transformations\cuberef2cubescript.xslt +pause \ No newline at end of file diff --git a/docs/autogen/win32_cuberef2xhtml.bat b/docs/autogen/win32_cuberef2xhtml.bat new file mode 100644 index 00000000..6926881e --- /dev/null +++ b/docs/autogen/win32_cuberef2xhtml.bat @@ -0,0 +1,2 @@ +msxsl.exe -o ..\out.html -v ..\reference.html ..\transformations\cuberef2xhtml.xslt +pause \ No newline at end of file