Repository navigation
Move the documentation from MkDocs to AsciiDoc, published on smallrye.io - #1603
phillip-kruger wants to merge 1 commit into
Conversation
|
Screenshots of the documentation before and after this change (updated). Before: the MkDocs site, as it is on smallrye.io today. After: this branch's AsciiDoc, rendered by smallrye.io with smallrye/smallrye.github.io#136 (a local build:
Dark theme: the same screenshots with the dark themeThe old Antora sites and the GraphQL, Vert.x bindings and Mutiny Zero MkDocs sites have no dark theme, so their "before" stays light; the other old MkDocs sites were switched to their own dark palette.
|
||||||||||||||||||||||||||||
d7ad768 to
4f59926
Compare
f87806d to
55800d3
Compare
55800d3 to
1aceb8d
Compare










The docs move from MkDocs to AsciiDoc, laid out like the Quarkus guides. smallrye.io pulls them in and publishes them at https://smallrye.io/docs/smallrye-config// (smallrye/smallrye.github.io#136):
mainnightly, each release once it is tagged.Depends on smallrye/smallrye.github.io#136. The new Documentation check calls the reusable workflow added there.
What changes
Pages.
documentation/src/main/docs/**/*.mdbecomedocumentation/src/main/asciidoc/**/*.adocwith the same paths, so no page is renamed.config/mappings.mdbecomesconfig/mappings.adocand is published at/docs/smallrye-config/<version>/config/mappings/._nav.yml, and shared attributes are in_attributes.adoc.#parent-profile.Versions. The dependency snippets use
{project-version}, which smallrye.io sets for each release. This replacesattributes.yaml, which Maven filtered for MkDocs.Line breaks in property tables. The
<br>between a property name and its description is now an AsciiDoc hard line break.Encryptor script. The jbang
encryptor.javamoves next to its page, and the command in the docs uses the new raw URL.PR check. Pull requests touching
documentation/run the Documentation workflow. It renders the docs with the smallrye.io site, fails on a broken include or a page that does not render, and attaches the rendered site as an artifact.Removed:
mkdocs.yaml,Pipfile/Pipfile.lock, the docissimo macros,attributes.yamland its resource filtering;docsjob of Build, and the Publish Docs workflow with its call from Release.The release no longer publishes docs; smallrye.io picks up the tag.
Docs and README links.
documentation/README.adocexplains how to write and preview pages, and the README links point to the new location.Older versions
Everything already on
gh-pages(Main,Latest/4.0.0 and earlier) stays where it is, and the site's version picker links to it as "Older versions". After this is merged, the mikeLatest/Mainaliases and the root page ongh-pageswill redirect to/docs/smallrye-config/latest/.Checked
mvn -pl documentation -am installstill builds.