[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Ind
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly |
Date: |
Wed, 31 Jan 2018 10:18:39 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #9, bug #53006 (project octave):
I attached the latest version of the python html parser so that it can serve
as an example for a rewrite in whatever language (including python since I am
far from fluent in this language).
The workflow for preparing a qhc file is to copy the python script in the
parent directory of octave.html, cd into that directory and then run:
python prepare_qhelp.py octave_qhelp octave.html
qcollectiongenerator octave_qhelp.qhcp -o octave_qhelp.qhc
You now have a qhc file that can be used in assistant to see the full
browse/search capabilities of the QtHelp framework
assistant -collectionFile ./octave_qhelp.qhc
Or you can look at the simple python script (based on PyQt4, mostly borrowed
on SO IIRC) attached to see how easy it is to create a browser on those qhc
files.
python octave-pydoc.py
The search capabilities still have to be added but I think it should not be
very hard.
(file #43139, file #43140)
_______________________________________________________
Additional Item Attachment:
File name: prepare_qhelp.py Size:4 KB
File name: octave-pydoc.py Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53006>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, Rik, 2018/01/29
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, John W. Eaton, 2018/01/29
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, Rik, 2018/01/29
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, Dan Sebald, 2018/01/29
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, Rik, 2018/01/29
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, Pantxo Diribarne, 2018/01/30
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, Rik, 2018/01/30
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, Dan Sebald, 2018/01/30
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly, Pantxo Diribarne, 2018/01/31
- [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly,
Pantxo Diribarne <=