ahus1 / keycloak-antora

Proof-of-concept on how Antora can be used for Keycloak
https://ahus1.github.io/keycloak-antora/
2 stars 2 forks source link

= Keycloak docs with Antora Proof-of-Concept

== What to see here

== Content of the repository

antora:: Folder with templates for the site and Antora's configurations + This should eventually be moved to its own Git repository as it is independent of the modules and their releases. + Enabled with antora-assembler which will create one big AsciiDoc file per component in the build folder.

docs-original:: The server-guide and operator-guide in the new format, and the admin-guide in the old format. Taken as a snapshot from the current development branch. For the guides, the freemarker templating has been completed.

doc:: Documentation re-organized documentation from above put into the Antora folder structure. The update of internal references is complete for all guides.

To see what has changed, compare the files in the two folders doc and docs-original.

== Process old vs. new Process

The following process is completed for each Antora component (new process) or guide (old process).

|=== |Task |New process |Old Process

|Writing content |AsciiDoc using Antora component structure. (https://github.com/ahus1/keycloak-antora/tree/main/doc/server-admin[link to git]) |File structure inspired by modular writing. (https://github.com/keycloak/keycloak-documentation/tree/main/server_admin[link to git])

|Publishing upstream |Antora creating multi-page HTML site. (https://ahus1.github.io/keycloak-antora/server-admin/latest/[link to web site]) |Maven with AsciidoctorJ, creating a single HTML file. (https://www.keycloak.org/docs/latest/server_admin/index.html[link to web site])

|Content for downstream |Create a single AsciiDoc file using Antora Assembler and adding master.adoc and master-docinfo.xml. |Use content as is with a master.adoc and master-docinfo.xml file.

|Downstream processing |ccutil/Pantheon creating HTML and PDF. (https://ahus1.github.io/keycloak-antora/server-admin/server-admin.zip[ZIP file with input from previous step and generated content]) (https://ahus1.github.io/keycloak-antora/server-admin/html-single/[website output ccutil]) |ccutil/Pantheon creating HTML and PDF.

|===

== Concepts and Questions

Concepts:

Questions:

Concept:

Question:

Concept:

Question:

Concept:

Question:

Concept:

Question:

Concept:

Suggestion:

Concept:

Suggestion:

Observation:

Suggestion:

Concept:

Suggestion:

Concept:

Requirement:

Concept:

Suggestion:

== Todos for a real site