p12tic / cppreference-doc

C++ standard library reference
en.cppreference.com
GNU General Public License v3.0
411 stars 102 forks source link

QCH file is missing the whole 'common/' folder #129

Open sjoubert opened 1 year ago

sjoubert commented 1 year ago

The QCH file/database is missing all the files from the common/ folder, only the en/ folder is packaged. This folder is quite important as it contains some Javascript, but also the CSS of the website and a bunch of UML diagram referenced in various pages.

I'm displaying the qch content in my own application (using my own Qt interface), and everything looks terrible as I can't retrieve the required common/ files from the qch file.

sjoubert commented 1 year ago

In addition the file contents (found for the C++ homepage en/cpp.html, not tested for others) reference data from the en/skins folder (and sub-folders) which is not in the database either. What's weird with this case is that the equivalent HTML tree does not have this folder at en/skins but at common/skins.

So I guess it's related to the common folder missing. In any case the qch file is not complete.

sjoubert commented 1 year ago

Mmmm, ok, after a closer look at the repo code I think I understand what's happening with the preprocessing of the content in order to display ok-ish in QtAssistant/QTextBrowser.

Any plan on also providing a full unmodified QCH file that could display identically to the HTML version in a more complete browser (I'm using QWebEngineView for example)?