Hello all,
I've done some changes in docs to work with the new extensions I'm
developing.
The actual implementation only includes sections (delimited with markers)
from
external sources which could be more interesting for some kinds of
documents,
where sections are used to show specific examples.
For tutorial purposes I think the best approach is (as mentioned by Mark
Ramm
before):
*Building up sample projects from patchsets (this was an idea from
Ben Bangert)*
Most of the tutorials are made in a constructive way:
1) start with a simple example
2) include some others basic features
3) include an advanced feature
4) and so on...
I was thinking about import from revisions (svn, mercurial, etc)??
example:
.. code:: /path/to/code.py
:revision: 9
:section: hello
and code.py (at revision 9):
##{hello}
def hello():
print 'hello'
##
What you think about??
BTW, the resulting docs (not committed yet) with the import directive are
here:
http://sandbox.dubita.com/turbogears/
http://sandbox.dubita.com/turbogears/main/Wiki20/wiki20.html (using the new
directive when possible)
Regards,
On Mon, Jun 23, 2008 at 8:44 AM, Sanjiv <[EMAIL PROTECTED]> wrote:
>
>
> > * Sanjiv was going to post the wiki20 code to SVN
>
> Done. Works for me. Can somebody else check it out too?
>
> $ svn co http://svn.turbogears.org/trunk/docs/project_code/Wiki-20
> Wiki-20 <http://svn.turbogears.org/trunk/docs/project_code/Wiki-20Wiki-20>
> $ cd Wiki-20
> $ python initializeDB.py
> $ paster serve --reload development.ini
>
> Thanks
> Sanjiv
>
> >
>
--
bj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Docs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-docs?hl=en
-~----------~----~----~----~------~----~------~--~---