Changeset 20807 for lang/cplusplus

Show
Ignore:
Timestamp:
10/05/08 19:01:43 (7 weeks ago)
Author:
tokuhirom
Message:

added about-llv8call page

Location:
lang/cplusplus/llv8call/trunk
Files:
3 added
3 modified

Legend:

Unmodified
Added
Removed
  • lang/cplusplus/llv8call/trunk/manual/index.html

    r20802 r20807  
    2121            <li><a href="./ext/index.html">extension libraries</a></li> 
    2222        </ul> 
     23        <h3>articles(written in japanese)</h3> 
     24        <ul> 
     25            <li><a href="./articles/about-llv8call.html">current status(jp)</a></li> 
     26        </ul> 
    2327        <h3>links</h3> 
    2428        <ul> 
  • lang/cplusplus/llv8call/trunk/tools/makedoc/make-docs.js

    r20802 r20807  
    155155        of.Close(); 
    156156    }; 
    157     var processTOP = function (pages) { 
    158         var html = (function(pages) { 
     157    var processSimple = function (tmpl, ofname) { 
     158        var html = (function() { 
    159159            var hdf = new clearsilver.HDF(); 
    160160            var cs = new clearsilver.CS(hdf); 
    161             cs.ParseFile(TMPLDIR + "/top.cs"); 
     161            cs.ParseFile(TMPLDIR + tmpl); 
    162162            var ret = cs.Render(); 
    163163            hdf.Close(); 
    164164            cs.Close(); 
    165165            return ret; 
    166         }(pages)); 
     166        }()); 
    167167 
    168         var of = new File("manual/index.html", 'w'); 
     168        var of = new File(ofname, 'w'); 
    169169        of.Write(html); 
    170170        of.Close(); 
     
    173173    var pages = processExtDocs(); 
    174174    processTOC(pages); 
    175     processTOP(); 
     175    processSimple("/top.cs", "manual/index.html"); 
     176    processSimple("/about-llv8call.cs", "manual/articles/about-llv8call.html"); 
    176177}()); 
  • lang/cplusplus/llv8call/trunk/tools/makedoc/tmpl/top.cs

    r20802 r20807  
    88            <li><a href="./ext/index.html">extension libraries</a></li> 
    99        </ul> 
     10        <h3>articles(written in japanese)</h3> 
     11        <ul> 
     12            <li><a href="./articles/about-llv8call.html">current status(jp)</a></li> 
     13        </ul> 
    1014        <h3>links</h3> 
    1115        <ul>