Changeset 517:c69bef5306f6 in livinglogic.python.www

Show
Ignore:
Timestamp:
01/30/08 11:21:47 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Use ReST docs for orasql and pycoco. Parse files with expat.

Location:
site
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • site/m.py

    r515 r517  
    7878 
    7979        xmlbuilder = parsers.Builder( 
     80            parser=parsers.ExpatParser(), 
    8081            prefixes={None: (chars, abbr, doc, specials, html), "py": "http://xmlns.livinglogic.de/Python"}, 
    8182            pool=xsc.Pool(chars, abbr, doc, specials, code, html) 
     
    142143            "xist/OldMigration": "LivingLogic.Python.xist/OLDMIGRATION.rst", 
    143144            "url/Howto": "LivingLogic.Python.xist/docs/URL_Howto.xml", 
    144             "orasql/History": "LivingLogic.Python.orasql/NEWS.xml", 
    145             "orasql/Installation": "LivingLogic.Python.orasql/INSTALL.xml", 
     145            "orasql/History": "LivingLogic.Python.orasql/NEWS.rst", 
     146            "orasql/Installation": "LivingLogic.Python.orasql/INSTALL.rst", 
    146147            "nightshade/History": "LivingLogic.Python.nightshade/NEWS.rst", 
    147148            "nightshade/Installation": "LivingLogic.Python.nightshade/INSTALL.rst", 
    148149            "aplora/History": "LivingLogic.Python.aplora/NEWS.rst", 
    149150            "aplora/Installation": "LivingLogic.Python.aplora/INSTALL.rst", 
    150             "pycoco/History": "LivingLogic.Python.pycoco/NEWS.xml", 
    151             "pycoco/Installation": "LivingLogic.Python.pycoco/INSTALL.xml", 
     151            "pycoco/History": "LivingLogic.Python.pycoco/NEWS.rst", 
     152            "pycoco/Installation": "LivingLogic.Python.pycoco/INSTALL.rst", 
    152153        } 
    153154 
  • site/orasql/History.htmlxsc

    r514 r517  
    22<py:page path="orasql/history" xmlns:py="http://xmlns.livinglogic.de/Python" xmlns="http://xmlns.livinglogic.de/xist/ns/doc"> 
    33<?pyeval 
    4     from ll.xist import xsc, parsers 
    5     return parsers.parsefile("~/checkouts/LivingLogic.Python.orasql/NEWS.xml", prefixes=xsc.docprefixes()) 
     4    from ll.xist.ns import rest, doc 
     5    return rest.fromfile("~/checkouts/LivingLogic.Python.orasql/NEWS.rst", tab_width=4).conv(target=doc) 
    66?> 
    77</py:page> 
  • site/orasql/Installation.htmlxsc

    r514 r517  
    22<py:page path="orasql/installation" xmlns:py="http://xmlns.livinglogic.de/Python" xmlns="http://xmlns.livinglogic.de/xist/ns/doc"> 
    33<?pyeval 
    4     from ll.xist import xsc, parsers 
    5     return parsers.parsefile("~/checkouts/LivingLogic.Python.orasql/INSTALL.xml", prefixes=xsc.docprefixes()) 
     4    from ll.xist.ns import rest, doc 
     5    return rest.fromfile("~/checkouts/LivingLogic.Python.orasql/INSTALL.rst", tab_width=4).conv(target=doc) 
    66?> 
    77</py:page> 
  • site/pycoco/Installation.htmlxsc

    r514 r517  
    22<py:page path="pycoco/installation" xmlns:py="http://xmlns.livinglogic.de/Python" xmlns="http://xmlns.livinglogic.de/xist/ns/doc"> 
    33<?pyeval 
    4     from ll.xist import xsc, parsers 
    5     return parsers.parsefile("~/checkouts/LivingLogic.Python.pycoco/INSTALL.xml", prefixes=xsc.docprefixes()) 
     4    from ll.xist.ns import rest, doc 
     5    return rest.fromfile("~/checkouts/LivingLogic.Python.pycoco/INSTALL.rst", tab_width=4).conv(target=doc) 
    66?> 
    77</py:page>