added doc tools

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3136 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-10-18 12:47:05 +00:00
parent 6252f829b9
commit 14a471d6cb
3 changed files with 19 additions and 0 deletions
+8
View File
@@ -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
}
@@ -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
+2
View File
@@ -0,0 +1,2 @@
msxsl.exe -o ..\out.html -v ..\reference.html ..\transformations\cuberef2xhtml.xslt
pause