Variants
Views
Actions

Cppreference talk:Archives

From cppreference.com
Revision as of 05:24, 13 October 2017 by 104.236.129.46 (Talk)

Contents

Please update the offline archive

The latest offline archive is old ( html book 20170409.zip ). Meanwhile, the c++17 had been made official and some c++20 support has been added to the website. I tried to contact the website owners but they didn't respond.

TO THE ADMIN: The reason I deleted the previous messages *before* because they were outdated and issued to previous versions of the archive.


Qt Creator prompts "Choose topic" with latest version of qch file

With 20150808 version of docs (File:qch book 20150808.zip) qt creator shows topic selection menu [1] when browsing help and filtering by index. Previous versions of docs were without this problem Checked in qt creator 3.01 - 3.5.0.


Atomic operations library page is missing

Checked files: File:html book 20140323.zip, File:html book 20140323.tar.gz

These files doesn't contain the file "reference/en/cpp/atomic.html" (Atomic operations library), the link from the index.html and Main_Page.html lead to "reference/en/cpp/atomic" (folder) instead.


qch formatting issues

The qch book seems not to obey some of the CSS. In particular, font formatting does not work and thus the code examples are in regular, not monospace, font. Maybe someone could investigate what causes this issue?

Some information that might help:

Everything is contained in File:cppreference-doc-20110121.tar.gz. When extracted, running make all in the resulting directory will build the documentation; make clean will cleanup all newly cleated files (useful for rebuilding from a clean state).

The global CSS file is at reference/en.cppreference.com/mwiki/skins/index31a6.css

It might be useful to know a way to rebuild only the qch book. The following bash code can be used:

cp qch-help-project.xml output/qch.xml
pushd "output"; qhelpgenerator qch.xml -o "../cppreference-doc-en.qch"; popd
rm -f output/qch.xml

Note, that it processes the files at the output directory, so any temporary hacks should go there, not into the reference/ directory. P12 05:32, 7 February 2012 (PST)

qch formatting is broken on qtcreator > 4.1.0

Please note that with the 4.1.0 version of QtCreator, these qch files aren't displayed properly since QtCreator uses QTextBrowser instead of QtWebKit to render the help files. See http://blog.qt.io/blog/2016/08/25/qt-creator-4-1-0-released/#comment-1198193

Ugurkoltuk (talk) 03:12, 9 October 2016 (PDT)


404 on html book 20120620.tar.gz

I get a 404 Not found on the file download itself, for the 20120620 raw and HTML book at least. The URL is [2]


20120620 update links are dead. Could you fix this? Thanks.--195.13.213.82 07:19, 22 June 2012 (PDT)

Fixed. -- P12 05:51, 23 June 2012 (PDT)

qch file not useable without internet connection

Pages have a reference to a JS file from Google Analytics (google-analytics.com/ga.js). Qt Creator displays an error page when it fails to download this file. So, practically, qch file unusable offline.

This issue has been fixed in the 20121202 version of the archive. Thanks for reporting. P12 23:52, 3 December 2012 (PST)

Having man pages considered useful or not?

Could it be a nice addition to have

man c sizeof
man c enum

and such ?
At first thought, having man pages for C operators sounded silly, but when thinking about how it might work, I already have myself looking up man bash or man gawk all the time. man already has section n,l (for new pages, local pages) so perhaps adding it somewhere there. Probably others has thought about it before, and I might be missing the obvious, but. Nothing serious, just a though. 153.159.16.229 12:22, 29 July 2014 (PDT)

Update devhelp book for Debian and Ubuntu?

Until now, the latest version of cppreference(in devhelp format) I can find on Ubuntu&Debian is still 20140827. (See [3] and [4])


It has been a long time since doc-20141118 was released, which includes lots of information about c++11. Therefore, I would like to ask why devhelp version is still 20140827? Any help would be appreciated. --Htfy96 (talk) 00:48, 22 July 2015 (PDT)

I'm working on updating/fixing the scripts that generate the various offline versions...it's been going slow but hopefully I'll be able to post something soon. Hang in there. --Nate (talk) 07:35, 26 July 2015 (PDT)

en.cppreference.com/w/ copy on 2 Aug 2015

Hi! I mirrored this site (english version) and wish to share copy for those who like use offline storage.

Here is the link to archive: [5] (mediafire)

This archive is a copy created using HTTrack.

HTTrack options:

-qwr256C2%Ps2%s%u%I0p7M10737418240m613337,313337T6666R3H0%kf2A133370%c5#L100000000%f0#f -F "Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)" -%F "" -%l "ru, en, *" http://en.cppreference.com/w/ -O1 "C:\MyWebS\cppreference.com" +*.png +*.gif +*.jpg +*.jpeg +*.css +*.js -ad.doubleclick.net/* -mime:application/foobar

Archive info:

Packed with 7-zip

84M cppreference.com.7z

472M unpacked


Perhaps you will recompress better. Thanks.

--AstuteUptake (talk) 03:21, 2 August 2015 (PDT)


Hi folks,

I started reworking the scripts. You find my current version on github.[6]

I'm focussing on the QtCreater version. I fixed/added the additional namespaces for std when using clang and cleaned up the html. I combined the TOC from the C and the C++ part. Furthermore I removed the index-chapers-* files, since they are now automatically generated from the overview pages.

I would like to generate the index-functions-* files, too, but since there seems to be some activity around them I wanted to ask first.

Comments and help welcome.

Regards Mike.

MmMike (talk) 13:18, 6 August 2015 (PDT)

Hi. I'm aware of your changes. I will reply in the github PR. Thanks a lot. --P12 16:05, 6 August 2015 (PDT)

Host devhelp version on Arch on this site

Hi,

I converted cppreference-devhelp.deb to an arch package, and now I want to upload it to Arch User Repository. Since AUR doesn't support any file larger than 500KB, could you please store this file on this site? Then anyone can download this package here.

Here is the file:

[7]

The offline version of cppreference is unformated

It's unformated, and can't really be read, i guess something went wrong with the import? 93.103.13.192 01:59, 14 November 2016 (PST)anon

EPUB version suitable for e-book readers or other single-file format

People willing to waste ~170 minutes of CPU time and 20G of RAM can run ebook-convert reference/en/index.html ./offline.epub and get a 8000-file, ~12000-page epub which FBReader takes ~10 minutes to open and consumes ~500M afterwards, but reads quite fast. Are there other options to prepare a file suitable for e-book readers? -- 93.180.45.228 04:33, 7 December 2016 (PST)

Integration with (neo)vim (preferably YCM)

Is there a way to integrate the offline version into (neo)vim in a nice way? So far I go for the man pages, but that's really not quite optimal. Ideally, it would integrate with YCM. If there is something that can be done, it'd be great if it was included in the offline reading section. 80.147.162.235 05:18, 13 February 2017 (PST)