On Tue, Mar 25, 2008 at 1:29 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

>
> Hi,
>
> I upload a modified script get_tgdoc.py to trac
> http://trac.turbogears.org/ticket/34
>
> It could:
>
> * download rst docs (2.0, can be specified for other version)
> * replace <2.0/....>_ links to <....>_
>
>
> To work with sphinx,
>
> 1. generated default doc framework by 'sphinx-quickstart' command,
> 2. place 'get_tgdoc.py' into source folder
> 3. run 'python get_tgdoc.py' to get rst sources
> 4. add '2.0/indx' and '2.0/RoughDocs' to index.rst
> 5. run 'make html'
>
> Then there's a rough html doc available.
>
> --
> Fred
>

I get the following traceback when running get_tgdoc.py on WinXP (Py 2.5)

C:\Documents and
Settings\khorn\Desktop\mine_scs\tg2_doc_test\source>get_tgdoc.py
download http://docs.turbogears.org/2.0?action=raw
Traceback (most recent call last):
  File "C:\Documents and
Settings\khorn\Desktop\mine_scs\tg2_doc_test\source\get_tgdoc.py", line 150,
in <module>
    process_docs(targets)
  File "C:\Documents and
Settings\khorn\Desktop\mine_scs\tg2_doc_test\source\get_tgdoc.py", line 140,
in process_docs
    proc_doc(link, doc, targets)
  File "C:\Documents and
Settings\khorn\Desktop\mine_scs\tg2_doc_test\source\get_tgdoc.py", line 117,
in proc_doc
    for doclink in extra:
NameError: global name 'extra' is not defined

What is "extra"?

Kevin Horn

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to