From: Alexey Shamrin Date: Wed, 15 Mar 2006 13:39:11 +0000 (+0000) Subject: Tutorial draft (not finished) and documentation framework improvements X-Git-Tag: rel_0_1_5~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33e30aacc3b69b5d90b32d4d8e16bc9c77c43835;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Tutorial draft (not finished) and documentation framework improvements * a first step to a new documentation framework, using Markdown syntax, with some extensions (detailed in txt2myt.py docstrings): * `rel:something` for internal links * `{@name=something}` to override default header names (used when linking) * `{python}` to force code block to use Python syntax highlighting (not needed when using examples with `>>>` prompt) * txt2myt.py -- converter from .txt to .myt * a draft of tutorial.txt, which uses new syntax * testdocs.py -- check examples in documentation using doctest (currently only in tutorial.txt) --- diff --git a/doc/build/content/document_base.myt b/doc/build/content/document_base.myt index f37857e25f..f45a022e10 100644 --- a/doc/build/content/document_base.myt +++ b/doc/build/content/document_base.myt @@ -3,6 +3,7 @@ <%python scope="global"> files = [ + 'tutorial', 'trailmap', 'pooling', 'dbengine', diff --git a/doc/build/content/trailmap.myt b/doc/build/content/trailmap.myt index d672b07886..e0ea2d1b6c 100644 --- a/doc/build/content/trailmap.myt +++ b/doc/build/content/trailmap.myt @@ -1,7 +1,8 @@ <%flags>inherit='document_base.myt' -<%attr>title='Introduction' -<&|doclib.myt:item, name="intro", description="Introduction" &> -

SQLAlchemy features a lot of tools and patterns to help in every area of writing applications that talk to relational databases. To achieve this, it has a lot of areas of functionality which work together to provide a cohesive package. Ultimately, just a little bit of familiarity with each concept is all thats needed to get off the ground.

+<%attr>title='How to Read this Manual' +<&|doclib.myt:item, name="howtoread", description="How to Read this Manual" &> + +

SQLAlchemy features a lot of tools and patterns to help in every area of writing applications that talk to relational databases. To achieve this, it has a lot of areas of functionality which work together to provide a cohesive package. Ultimately, just a little bit of familiarity with each concept is all that's needed to get off the ground.

That said, here's two quick links that summarize the two most prominent features of SQLAlchemy: