comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Dash Docset for IDL 8.1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Dash Docset for IDL 8.1 [message #81254 is a reply to message #81252] Tue, 04 September 2012 04:23 Go to previous messageGo to previous message
kidpix is currently offline  kidpix
Messages: 23
Registered: July 2007
Junior Member
Hi,
I produced a sort of IDLdoc to Docset translator, in form of a python script.

To translate an existing IDLdoc documentation follow this steps:

1. Build the directories structure as described in http://kapeli.com/docsets/ ( or use an empty docset I prepared here http://bit.ly/Sg7C0n)
2. copy you documentation in IDLdoc.docset/Contents/Resources/Documents/
3. run the IDLdoc_docset_creation.py in the Resources/ directory

Optional : change the IDLdoc.docset/icon.png and adjust the IDLdoc.docset/Contents/nfo.plist

The python code does the following:
- scans only 2 level deep in the Documents folder
- deletes some files (all-dirs.html,all-files.html etc)
- sets as start page the dir-overview.html changing it to index.html
- gets the title from each html page
- modifies the html erasing the top banner
- writes all in the sqlite DB docSet.dsidx

In order to run properly you need to have the sqlite3,urllib,BeautifulSoup and glob modules along your python distribution.

Have fun!

Cheers,
Mario.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: finding the center of gravity of an irregularly shaped roi within a 2d array
Next Topic: Re: IDL HELP!!!!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:55:54 PDT 2025

Total time taken to generate the page: 0.00433 seconds