Code

Changes between Version 4 and Version 5 of DjangoSpecifications/Docs/ConvertingRestToOtherFormats


Ignore:
Timestamp:
03/20/08 14:44:35 (6 years ago)
Author:
mrts
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoSpecifications/Docs/ConvertingRestToOtherFormats

    v4 v5  
    2222 
    2323The proposal has been mostly implemented, though neither inter-page links nor images have been dealt with. 
     24 
     25Usage: 
     26{{{ 
     27$ trunk/django/bin/django-admin.py help htmldocs 
     28Usage: django-admin.py htmldocs [options] [Django documentation directory] [output directory] 
     29 
     30Converts Django documentation to HTML. Uses the given Django documentation directory for reading documentation source and output directory for writing HTML files. Creates the output directory if it does not exist. 
     31 
     32Options: 
     33  --settings=SETTINGS   The Python path to a settings module, e.g. 
     34                        "myproject.settings.main". If this isn't provided, the 
     35                        DJANGO_SETTINGS_MODULE environment variable will be 
     36                        used. 
     37  --pythonpath=PYTHONPATH 
     38                        A directory to add to the Python path, e.g. 
     39                        "/home/djangoprojects/myproject". 
     40  --traceback           Print traceback on exception 
     41  --single              Write a single combined HTML file. Not recommended, 
     42                        produces output that is harder to navigate. 
     43  --version             show program's version number and exit 
     44  -h, --help            show this help message and exit 
     45}}} 
    2446 
    2547This is an example run: