Generate UNO documentation for Dash

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 section is not for asking questions about writing your own macros.
Post Reply
sasa
Posts: 11
Joined: Wed Feb 08, 2017 12:54 am

Generate UNO documentation for Dash

Post by sasa »

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 6.3 on Xubuntu 18.04
Post Reply