This is admittedly wandering more than a bit off-topic, but speaking of Antora: One thing I think docs contributors could use, from a technical standpoint, is a way to easily preview their work without having to rely on Antora, while still using all of the same rendering tools, stylesheets, etc
Because right now, when editing .adoc
files for docs.fedoraproject.org… sure, you can preview them using whatever asciidoc conversion is built into your editor, but they’ll look almost nothing like they will on-site. It’d be nice, when previewing changes, to be able to do a local, static, reasonably-site-accurate build of the docs content as a whole.
Obtaining a representative local copy of the rendered docs currently involves getting Antora running locally. I lost a week of my life one afternoon trying to do that, and ultimately gave up because I’m not THAT much of a masochist.
But it is theoretically possible to achieve a middle ground where content can be rendered “[almost] like on the site”, without being on the site. It just requires that there be some way to do the same HTML conversion, with all of the same content resources available, as are used by the Antora server.
Unfortunately, as things stand quite a lot of Antora’s rendering pipeline and document/resources configuration is all but hardcoded into it. There is technically a modular “theme” definition (the UI bundle that gets built from antora-ui-default), but it’s coupled enough to Antora itself that it’s hard for anything but Antora to make use of.
Still, it might be worth the development effort to come up with, and document, a way to obtain and use an extracted — and (even harder) kept in sync — form of all that which can be executed locally on any Fedora system, as the basis for a Docs preview tool.