Changeset 8112

Show
Ignore:
Timestamp:
02/14/08 15:39:00 (2 years ago)
Author:
haypo
svm:headrev:

c624a6cb-57d4-0310-9736-a25a8df6d016:12830
svk:copy_cache_prev:
8095
Message:
  • Use RST section-numbering
  • intro.rst: list all other documentations
  • move vocabulary.rst text into intro.rst
Location:
mirror/edenwall/nulog2/trunk/doc
Files:
1 removed
4 modified

Legend:

Unmodified
Added
Removed
  • mirror/edenwall/nulog2/trunk/doc/Makefile

    r8039 r8112  
    1  
    2 TXT_FILES = intro.rst pages.rst tables.rst sessions.rst vocabulary.rst gettext.rst ajax.rst nucentral.rst 
    3 HTML_FILES = $(TXT_FILES:.rst=.html) 
     1RST_FILES = $(wildcard *.rst) 
     2HTML_FILES = $(RST_FILES:.rst=.html) 
    43 
    54all: $(HTML_FILES) 
     
    76 
    87%.html: %.rst 
    9         rst2html < $< > $@ 
     8        rst2html $< $@ 
    109 
    1110clean: 
  • mirror/edenwall/nulog2/trunk/doc/intro.rst

    r6513 r8112  
    33************ 
    44 
    5 I. Presentation 
    6 =============== 
     5.. section-numbering:: 
    76 
    8 Nulog 2 works with Nevow+Twisted framework. 
     7Presentation 
     8============ 
     9 
     10Nulog 2 works with `Nevow`_ + `Twisted`_ framework. 
    911 
    1012There are three components: 
    1113 
    12 1. Nulog-core 
    13 ------------- 
     14Nulog-core 
     15---------- 
    1416 
    1517This is the backend of Nulog2. All operations will be do here. 
    1618 
    17 2. Nulog-web 
    18 ------------ 
     19Nulog-web 
     20--------- 
    1921 
    2022Nulog2's frontend, it uses Nevow framework to create webpages, listen 
     
    2224create HTML render. 
    2325 
    24 3. NuCentral 
    25 ------------ 
     26NuCentral 
     27--------- 
    2628 
    2729Nulog2 is designed to be a part of NuCentral. 
     
    3436doesn't care about. Call will be cloaking. 
    3537 
    36 To have more informations about NuCentral, see its documentation. 
     38To have more informations about NuCentral, see `NuCentral`_ documentation. 
    3739 
    3840If you don't want to use NuCentral, you can launch the wrapper, nulog.tac. 
    3941 
    4042It simulates NuCentral work but will only work in local mode. 
     43 
     44 
     45Documentations list 
     46=================== 
     47 
     48 * `Ajax`_ 
     49 * `Create a new page`_ 
     50 * `Gettext`_ 
     51 * `NuCentral`_ 
     52 * `Sessions`_ 
     53 * `Tables`_ 
     54 
     55 
     56Vocabulary (HTML names) 
     57======================= 
     58 
     59* **Page**: The name of the page. This is the main HTML document. 
     60* **Content**: This is the content of the page, between left menu, search bar and title bar. 
     61* **Fragment**: This is a part of page. 
     62* **function**: Function name of a fragment table. 
     63 
     64.. _Ajax: ajax.html 
     65.. _Gettext: gettext.html 
     66.. _Create a new page: pages.html 
     67.. _Sessions: sessions.html 
     68.. _NuCentral documentation: nucentral.html 
     69.. _Tables: tables.html 
     70 
     71.. _Nevow: http://divmod.org/trac/wiki/DivmodNevow 
     72.. _Twisted: http://twistedmatrix.com/ 
     73 
  • mirror/edenwall/nulog2/trunk/doc/pages.rst

    r6513 r8112  
    1 ***** 
    2 Pages 
    3 ***** 
     1************************** 
     2Create a new page in NuLog 
     3************************** 
    44 
    5 I. Introduction 
    6 =============== 
     5.. contents:: 
     6.. section-numbering:: 
     7 
     8Introduction 
     9============ 
    710 
    811Add a page on Nulog-web is really easy. 
     
    1518When you'll read this documentation, I think Nulog2 will have already this page. 
    1619 
    17 II. XML Creation 
    18 ================ 
     20XML Creation 
     21============ 
    1922 
    2023First, you can create the .xml file like this:: 
     
    5053python functions. 
    5154 
    52 III. UserInfo Object 
    53 ==================== 
     55UserInfo Object 
     56=============== 
    5457 
    5558You can move in **nulog-web/**, open **infopage.py** and go to 
     
    124127                                     multitable=True, switch=False, pie=True)] 
    125128 
    126 III. BackEnd 
    127 ============ 
     129BackEnd 
     130======= 
    128131 
    129132Some details must be changed in backend. 
     
    142145                                            None]}) 
    143146 
    144 IV. Conclusion 
    145 ============== 
     147Conclusion 
     148========== 
    146149 
    147150You have made a page for nulog. It was really easy, no? 
  • mirror/edenwall/nulog2/trunk/doc/sessions.rst

    r6513 r8112  
    1 ******** 
    2 Sessions 
    3 ******** 
     1************** 
     2NuLog sessions 
     3************** 
     4 
     5.. section-numbering:: 
    46 
    57This file will describe how NuLog2 store user parameters into persistant sessions. 
    68 
    7 I. Architecture 
    8 =============== 
     9Architecture 
     10============ 
    911 
    1012Because we save datas into files, we must formalize them with some key/value lines. 
     
    2325An object 
    2426 
    25 1. Pages 
    26 -------- 
     27Pages 
     28----- 
    2729 
    2830Each page we want to store paramters will have a tuple in this syntax:: 
     
    3234A page have an uniq ID which is his name in nulog-web. 
    3335 
    34 2. Fragments 
    35 ------------ 
     36Fragments 
     37--------- 
    3638 
    3739A fragment jave an uniq ID which is in this form::