Closed inn0minatus closed 1 month ago
@klemens-morgenstern , it seems that the documentation builds of cobalt are using puppeteer, which in turn requires Google Chrome, and numerous other system packages to be installed. In the past I have found that a way to ensure the necessary Ubuntu packages are available is to install Firefox also, not because Firefox itself is needed, but because that will install everything else.
Usually, all Boost documentation is generated together by release-tools https://github.com/boostorg/release-tools
Since no other Boost libraries are using the Chrome toolchain, packages are missing. Cobalt docs are getting puppeteer errors.
Adding all the required packages in release-tools adds many other packages, including browsers and much more, and increases the maintenance and debugging of release-tools.
So, it's worth asking, is this necessary? It would be better to avoid.
For example, let's say Cobalt includes a few flowcharts. You could render the flowcharts out-of-band, creating images, and then check-in the images to git. Embed those images in the documentation. But, not requiring the images be re-rendered/re-generated on every run of CI that's building all of Boost (multiple times per day).
Sent a copy of the images via email.
Not absolutely sure, but an idea might be to switch
image::{docdir}/images/lazy_eager2.png[]
to
image::../images/lazy_eager2.png[]
It seems there's some kind of error in the documentation: https://www.boost.org/doc/libs/1_84_0/libs/cobalt/doc/html/index.html#awaitables
After an Info block there is a browser error displayed:
Tried in Firefox and Chrome.