Based on https://github.com/stackrox/docs-tools/
-
Run the transformation script:
./ocp-transform.sh -d build -b enterprise-4.10
-
Make a new directory and copy the generated files:
cd ~ mkdir -p antora-ocp-test cp -r <path-to-dir>/build/ antora-ocp-test/
-
Git init:
cd antora-ocp-test git init git add . git commit -am 'Docs init'
-
Run the Antora build:
npx antora --fetch playbook.yml
To do:
Use thepatch-files
script to patch xrefs in the generated files.Use thegenerate-nav
script to generate the navigation.Addproduct-title
andproduct-version
variables in the common attributes file.Use an Antora playbook yml with the default UI bundle to generate the site.- Check build warnings and errors.
- Add indexing and search capabilities.