Generate UNO documentation for Dash

Creating Extension - Shared Libraries
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by OpenOffice.org [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This forum is not for asking questions about writing your own macros.

Generate UNO documentation for Dash

Postby sasa » Sun Jul 02, 2017 10:47 pm

Dash is offline documentation browser. Dash-like apps are: Dash for OS X, Velocity for Windows, Zeal for Linux, Dash for iOS and LovelyDocs for Android.

IDE Plugins: Atom, Brackets, Emacs, KDevelop, PyCharm, Sublime Text, VIM, Visual Studio Code...

Generate docset
1. Download and install the latest LibreOffice SDK (or use HTTrack)
2. Download or clone this repo
3. Copy content of the SDK documentation folder ref (e.g. on Ubuntu /opt/libreoffice5.3/sdk/docs/idl/ref) to UNO.docset/Contents/Resources/Documents/ folder (~ 300 MB)
4. Run script UNO2Dash.py
5. Place UNO.docset in Dash-like apps path (e.g on Ubuntu $USER/.local/share/Zeal/Zeal/docsets/)
6. Uninstall SDK (optional).

Hope this could be useful to the community.
Please send me any comment, suggestion or correction you may have.
LibreOffice 5.2 on Xubuntu 16.04
sasa
 
Posts: 3
Joined: Wed Feb 08, 2017 12:54 am

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 2 guests