Commit graph

7 commits

Author SHA1 Message Date
Olivier Goffart
c296a00286 Preview in documentation: make sure the preview is not duplicated for C++ 2021-08-13 13:27:03 +02:00
Olivier Goffart
f6e2b97aab Prospective fix for the double preview in the C++ docs 2021-08-12 20:37:31 +02:00
Olivier Goffart
ff441d3db6 Improve a bit the preview in the documentation with nightly rustdoc
The example are in a layout so "float:right" doesn't have an effect in that div
Instread, just put the preview inside the example.

This also remove the "Preview:" text
2021-08-12 13:57:36 +02:00
Olivier Goffart
bdeb64c518 Fix documentation preview and hightlighting of .60 code with nightly rustdoc
rustdoc changed the html generated. The code used to be in a `<code>`, now it is
in a `<pre>`
So this should wotk with both stable rust and nightly rust
2021-08-11 18:24:44 +02:00
Simon Hausmann
31ac05341a rust docs: Don't use depreacted highlightjs.highlightBlock, use highlightElement instead 2021-07-12 16:05:51 +02:00
Simon Hausmann
163625fcd3 C++ docs: finish re-organzing the C++ docs entry
Instead of repeating the table of contents, provide a proper intro
page - based on the Github README - and group the remaining content
into Getting Started, Reference and Integration sections.
2021-07-10 08:13:13 +02:00
Simon Hausmann
be47f708d9 Cleanup: Move docs/html to docs/resources 2021-07-08 07:01:51 +02:00