redhat-et / foundation-models-for-documentation

Improve ROSA customer experience (and customer retention) by leveraging foundation models to do “gpt-chat” style search of Red Hat customer documentation assets.
Other
26 stars 12 forks source link

Add script to obtain ROSA documentation #14

Closed codificat closed 1 year ago

codificat commented 1 year ago

Related to #6

This PR adds automation to collect the current version of the ROSA documentation from the openshift-docs repo and convert it from its source AsciiDoc format to a plain text version that is suitable for model training.

codificat commented 1 year ago

Flagging this as a draft for now, as this is still a work in progress.

Right now, the get-rosa-docs.sh script generates a Markdown version of the ROSA docs, leaving it under data/raw.

One of the reasons I'm flagging this as "work in progress" is because the python scripts in the docs repo, that are used to generate docbook versions, currently depend on the aura tool which is not generally available.

Sample output from the script execution ``` ((aura) ) pep@uio foundation-models-for-documentation (get-rosa-docs) $ time hack/get-rosa-docs.sh +++ dirname -- hack/get-rosa-docs.sh ++ cd -- hack ++ pwd + SCRIPT_DIR=/home/pep/git/et/foundation-models-for-documentation/hack + destdir=/home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + distro=openshift-rosa + product='Red Hat OpenShift Service on AWS' + version=4.12 + pandoc_format=gfm + mkdir -p /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw ++ mktemp -d + workdir=/tmp/tmp.CKzeTWybho + cd /tmp/tmp.CKzeTWybho + git clone --depth=1 https://github.com/openshift/openshift-docs.git --branch enterprise-4.12 S'està clonant a «openshift-docs»... remote: Enumerating objects: 7725, done. remote: Counting objects: 100% (7725/7725), done. remote: Compressing objects: 100% (6971/6971), done. remote: Total 7725 (delta 1065), reused 2521 (delta 719), pack-reused 0 S'estan rebent objectes: 100% (7725/7725), 32.48 MiB | 17.59 MiB/s, fet. S'estan resolent les diferències: 100% (1065/1065), fet. + cd openshift-docs + python build.py --distro=openshift-rosa '--product=Red Hat OpenShift Service on AWS' --version=4 --no-upstream-fetch /tmp/tmp.CKzeTWybho/openshift-docs/tmpb2rcos12.swp Cleaning the drupal-build directory Building the drupal files Processing welcome Processing rosa_architecture Processing rosa_getting_started Processing rosa_planning Processing rosa_install_access_delete_clusters Processing rosa_cli Processing ocm Processing rosa_cluster_admin Processing authentication Processing upgrading Processing cicd Processing adding_service_cluster Processing storage Processing networking Processing applications Processing rosa_backing_up_and_restoring_applications Processing logging Processing service_mesh Processing serverless Processing rosa_support + python makeBuild.py makeBuild.py:9: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp --------------------------------------- BUILDING openshift-rosa BOOKS --------------------------------------- >>> Working on rosa_support book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with rosa_support book in openshift-rosa <<< --------------------------------------- >>> Working on serverless book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with serverless book in openshift-rosa <<< --------------------------------------- >>> Working on service_mesh book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with service_mesh book in openshift-rosa <<< --------------------------------------- >>> Working on logging book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with logging book in openshift-rosa <<< --------------------------------------- >>> Working on rosa_backing_up_and_restoring_applications book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with rosa_backing_up_and_restoring_applications book in openshift-rosa <<< --------------------------------------- >>> Working on applications book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with applications book in openshift-rosa <<< --------------------------------------- >>> Working on networking book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with networking book in openshift-rosa <<< --------------------------------------- >>> Working on storage book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with storage book in openshift-rosa <<< --------------------------------------- >>> Working on adding_service_cluster book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with adding_service_cluster book in openshift-rosa <<< --------------------------------------- >>> Working on cicd book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with cicd book in openshift-rosa <<< --------------------------------------- >>> Working on upgrading book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with upgrading book in openshift-rosa <<< --------------------------------------- >>> Working on authentication book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with authentication book in openshift-rosa <<< --------------------------------------- >>> Working on rosa_cluster_admin book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with rosa_cluster_admin book in openshift-rosa <<< --------------------------------------- >>> Working on ocm book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with ocm book in openshift-rosa <<< --------------------------------------- >>> Working on rosa_cli book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with rosa_cli book in openshift-rosa <<< --------------------------------------- >>> Working on rosa_install_access_delete_clusters book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with rosa_install_access_delete_clusters book in openshift-rosa <<< --------------------------------------- >>> Working on rosa_planning book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with rosa_planning book in openshift-rosa <<< --------------------------------------- >>> Working on rosa_getting_started book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with rosa_getting_started book in openshift-rosa <<< --------------------------------------- >>> Working on rosa_architecture book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with rosa_architecture book in openshift-rosa <<< --------------------------------------- >>> Working on welcome book in openshift-rosa <<< Transforming the AsciiDoc content to DocBook XML... >>> Finished with welcome book in openshift-rosa <<< --------------------------------------- All Successful + docsdir=drupal-build ++ find drupal-build -name master.xml + files='drupal-build/openshift-rosa/rosa_support/build/master.xml drupal-build/openshift-rosa/serverless/build/master.xml drupal-build/openshift-rosa/service_mesh/build/master.xml drupal-build/openshift-rosa/logging/build/master.xml drupal-build/openshift-rosa/rosa_backing_up_and_restoring_applications/build/master.xml drupal-build/openshift-rosa/applications/build/master.xml drupal-build/openshift-rosa/networking/build/master.xml drupal-build/openshift-rosa/storage/build/master.xml drupal-build/openshift-rosa/adding_service_cluster/build/master.xml drupal-build/openshift-rosa/cicd/build/master.xml drupal-build/openshift-rosa/upgrading/build/master.xml drupal-build/openshift-rosa/authentication/build/master.xml drupal-build/openshift-rosa/rosa_cluster_admin/build/master.xml drupal-build/openshift-rosa/ocm/build/master.xml drupal-build/openshift-rosa/rosa_cli/build/master.xml drupal-build/openshift-rosa/rosa_install_access_delete_clusters/build/master.xml drupal-build/openshift-rosa/rosa_planning/build/master.xml drupal-build/openshift-rosa/rosa_getting_started/build/master.xml drupal-build/openshift-rosa/rosa_architecture/build/master.xml drupal-build/openshift-rosa/welcome/build/master.xml' + for file in $files ++ dirname drupal-build/openshift-rosa/rosa_support/build/master.xml + path=drupal-build/openshift-rosa/rosa_support/build ++ basename drupal-build/openshift-rosa/rosa_support/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/rosa_support/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=rosa_support + echo 'Processing rosa_support' Processing rosa_support + pushd drupal-build/openshift-rosa/rosa_support/build + pandoc -f docbook -t gfm --columns=666 -o rosa_support.md master.xml + popd + mv -f drupal-build/openshift-rosa/rosa_support/build/rosa_support.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/rosa_support.md + for file in $files ++ dirname drupal-build/openshift-rosa/serverless/build/master.xml + path=drupal-build/openshift-rosa/serverless/build ++ basename drupal-build/openshift-rosa/serverless/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/serverless/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=serverless + echo 'Processing serverless' Processing serverless + pushd drupal-build/openshift-rosa/serverless/build + pandoc -f docbook -t gfm --columns=666 -o serverless.md master.xml + popd + mv -f drupal-build/openshift-rosa/serverless/build/serverless.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/serverless.md + for file in $files ++ dirname drupal-build/openshift-rosa/service_mesh/build/master.xml + path=drupal-build/openshift-rosa/service_mesh/build ++ basename drupal-build/openshift-rosa/service_mesh/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/service_mesh/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=service_mesh + echo 'Processing service_mesh' Processing service_mesh + pushd drupal-build/openshift-rosa/service_mesh/build + pandoc -f docbook -t gfm --columns=666 -o service_mesh.md master.xml + popd + mv -f drupal-build/openshift-rosa/service_mesh/build/service_mesh.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/service_mesh.md + for file in $files ++ dirname drupal-build/openshift-rosa/logging/build/master.xml + path=drupal-build/openshift-rosa/logging/build ++ basename drupal-build/openshift-rosa/logging/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/logging/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=logging + echo 'Processing logging' Processing logging + pushd drupal-build/openshift-rosa/logging/build + pandoc -f docbook -t gfm --columns=666 -o logging.md master.xml + popd + mv -f drupal-build/openshift-rosa/logging/build/logging.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/logging.md + for file in $files ++ dirname drupal-build/openshift-rosa/rosa_backing_up_and_restoring_applications/build/master.xml + path=drupal-build/openshift-rosa/rosa_backing_up_and_restoring_applications/build ++ basename drupal-build/openshift-rosa/rosa_backing_up_and_restoring_applications/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/rosa_backing_up_and_restoring_applications/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=rosa_backing_up_and_restoring_applications + echo 'Processing rosa_backing_up_and_restoring_applications' Processing rosa_backing_up_and_restoring_applications + pushd drupal-build/openshift-rosa/rosa_backing_up_and_restoring_applications/build + pandoc -f docbook -t gfm --columns=666 -o rosa_backing_up_and_restoring_applications.md master.xml + popd + mv -f drupal-build/openshift-rosa/rosa_backing_up_and_restoring_applications/build/rosa_backing_up_and_restoring_applications.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/rosa_backing_up_and_restoring_applications.md + for file in $files ++ dirname drupal-build/openshift-rosa/applications/build/master.xml + path=drupal-build/openshift-rosa/applications/build ++ basename drupal-build/openshift-rosa/applications/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/applications/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=applications + echo 'Processing applications' Processing applications + pushd drupal-build/openshift-rosa/applications/build + pandoc -f docbook -t gfm --columns=666 -o applications.md master.xml + popd + mv -f drupal-build/openshift-rosa/applications/build/applications.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/applications.md + for file in $files ++ dirname drupal-build/openshift-rosa/networking/build/master.xml + path=drupal-build/openshift-rosa/networking/build ++ basename drupal-build/openshift-rosa/networking/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/networking/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=networking + echo 'Processing networking' Processing networking + pushd drupal-build/openshift-rosa/networking/build + pandoc -f docbook -t gfm --columns=666 -o networking.md master.xml + popd + mv -f drupal-build/openshift-rosa/networking/build/networking.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/networking.md + for file in $files ++ dirname drupal-build/openshift-rosa/storage/build/master.xml + path=drupal-build/openshift-rosa/storage/build ++ basename drupal-build/openshift-rosa/storage/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/storage/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=storage + echo 'Processing storage' Processing storage + pushd drupal-build/openshift-rosa/storage/build + pandoc -f docbook -t gfm --columns=666 -o storage.md master.xml + popd + mv -f drupal-build/openshift-rosa/storage/build/storage.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/storage.md + for file in $files ++ dirname drupal-build/openshift-rosa/adding_service_cluster/build/master.xml + path=drupal-build/openshift-rosa/adding_service_cluster/build ++ basename drupal-build/openshift-rosa/adding_service_cluster/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/adding_service_cluster/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=adding_service_cluster + echo 'Processing adding_service_cluster' Processing adding_service_cluster + pushd drupal-build/openshift-rosa/adding_service_cluster/build + pandoc -f docbook -t gfm --columns=666 -o adding_service_cluster.md master.xml + popd + mv -f drupal-build/openshift-rosa/adding_service_cluster/build/adding_service_cluster.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/adding_service_cluster.md + for file in $files ++ dirname drupal-build/openshift-rosa/cicd/build/master.xml + path=drupal-build/openshift-rosa/cicd/build ++ basename drupal-build/openshift-rosa/cicd/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/cicd/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=cicd + echo 'Processing cicd' Processing cicd + pushd drupal-build/openshift-rosa/cicd/build + pandoc -f docbook -t gfm --columns=666 -o cicd.md master.xml + popd + mv -f drupal-build/openshift-rosa/cicd/build/cicd.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/cicd.md + for file in $files ++ dirname drupal-build/openshift-rosa/upgrading/build/master.xml + path=drupal-build/openshift-rosa/upgrading/build ++ basename drupal-build/openshift-rosa/upgrading/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/upgrading/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=upgrading + echo 'Processing upgrading' Processing upgrading + pushd drupal-build/openshift-rosa/upgrading/build + pandoc -f docbook -t gfm --columns=666 -o upgrading.md master.xml + popd + mv -f drupal-build/openshift-rosa/upgrading/build/upgrading.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/upgrading.md + for file in $files ++ dirname drupal-build/openshift-rosa/authentication/build/master.xml + path=drupal-build/openshift-rosa/authentication/build ++ basename drupal-build/openshift-rosa/authentication/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/authentication/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=authentication + echo 'Processing authentication' Processing authentication + pushd drupal-build/openshift-rosa/authentication/build + pandoc -f docbook -t gfm --columns=666 -o authentication.md master.xml + popd + mv -f drupal-build/openshift-rosa/authentication/build/authentication.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/authentication.md + for file in $files ++ dirname drupal-build/openshift-rosa/rosa_cluster_admin/build/master.xml + path=drupal-build/openshift-rosa/rosa_cluster_admin/build ++ basename drupal-build/openshift-rosa/rosa_cluster_admin/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/rosa_cluster_admin/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=rosa_cluster_admin + echo 'Processing rosa_cluster_admin' Processing rosa_cluster_admin + pushd drupal-build/openshift-rosa/rosa_cluster_admin/build + pandoc -f docbook -t gfm --columns=666 -o rosa_cluster_admin.md master.xml + popd + mv -f drupal-build/openshift-rosa/rosa_cluster_admin/build/rosa_cluster_admin.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/rosa_cluster_admin.md + for file in $files ++ dirname drupal-build/openshift-rosa/ocm/build/master.xml + path=drupal-build/openshift-rosa/ocm/build ++ basename drupal-build/openshift-rosa/ocm/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/ocm/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=ocm + echo 'Processing ocm' Processing ocm + pushd drupal-build/openshift-rosa/ocm/build + pandoc -f docbook -t gfm --columns=666 -o ocm.md master.xml + popd + mv -f drupal-build/openshift-rosa/ocm/build/ocm.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/ocm.md + for file in $files ++ dirname drupal-build/openshift-rosa/rosa_cli/build/master.xml + path=drupal-build/openshift-rosa/rosa_cli/build ++ basename drupal-build/openshift-rosa/rosa_cli/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/rosa_cli/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=rosa_cli + echo 'Processing rosa_cli' Processing rosa_cli + pushd drupal-build/openshift-rosa/rosa_cli/build + pandoc -f docbook -t gfm --columns=666 -o rosa_cli.md master.xml + popd + mv -f drupal-build/openshift-rosa/rosa_cli/build/rosa_cli.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/rosa_cli.md + for file in $files ++ dirname drupal-build/openshift-rosa/rosa_install_access_delete_clusters/build/master.xml + path=drupal-build/openshift-rosa/rosa_install_access_delete_clusters/build ++ basename drupal-build/openshift-rosa/rosa_install_access_delete_clusters/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/rosa_install_access_delete_clusters/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=rosa_install_access_delete_clusters + echo 'Processing rosa_install_access_delete_clusters' Processing rosa_install_access_delete_clusters + pushd drupal-build/openshift-rosa/rosa_install_access_delete_clusters/build + pandoc -f docbook -t gfm --columns=666 -o rosa_install_access_delete_clusters.md master.xml + popd + mv -f drupal-build/openshift-rosa/rosa_install_access_delete_clusters/build/rosa_install_access_delete_clusters.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/rosa_install_access_delete_clusters.md + for file in $files ++ dirname drupal-build/openshift-rosa/rosa_planning/build/master.xml + path=drupal-build/openshift-rosa/rosa_planning/build ++ basename drupal-build/openshift-rosa/rosa_planning/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/rosa_planning/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=rosa_planning + echo 'Processing rosa_planning' Processing rosa_planning + pushd drupal-build/openshift-rosa/rosa_planning/build + pandoc -f docbook -t gfm --columns=666 -o rosa_planning.md master.xml + popd + mv -f drupal-build/openshift-rosa/rosa_planning/build/rosa_planning.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/rosa_planning.md + for file in $files ++ dirname drupal-build/openshift-rosa/rosa_getting_started/build/master.xml + path=drupal-build/openshift-rosa/rosa_getting_started/build ++ basename drupal-build/openshift-rosa/rosa_getting_started/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/rosa_getting_started/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=rosa_getting_started + echo 'Processing rosa_getting_started' Processing rosa_getting_started + pushd drupal-build/openshift-rosa/rosa_getting_started/build + pandoc -f docbook -t gfm --columns=666 -o rosa_getting_started.md master.xml + popd + mv -f drupal-build/openshift-rosa/rosa_getting_started/build/rosa_getting_started.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/rosa_getting_started.md + for file in $files ++ dirname drupal-build/openshift-rosa/rosa_architecture/build/master.xml + path=drupal-build/openshift-rosa/rosa_architecture/build ++ basename drupal-build/openshift-rosa/rosa_architecture/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/rosa_architecture/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=rosa_architecture + echo 'Processing rosa_architecture' Processing rosa_architecture + pushd drupal-build/openshift-rosa/rosa_architecture/build + pandoc -f docbook -t gfm --columns=666 -o rosa_architecture.md master.xml + popd + mv -f drupal-build/openshift-rosa/rosa_architecture/build/rosa_architecture.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/rosa_architecture.md + for file in $files ++ dirname drupal-build/openshift-rosa/welcome/build/master.xml + path=drupal-build/openshift-rosa/welcome/build ++ basename drupal-build/openshift-rosa/welcome/build/master.xml + filename=master.xml ++ echo drupal-build/openshift-rosa/welcome/build ++ sed -e 's#drupal-build/openshift-rosa/\(.*\)/build#\1#' + chapter=welcome + echo 'Processing welcome' Processing welcome + pushd drupal-build/openshift-rosa/welcome/build + pandoc -f docbook -t gfm --columns=666 -o welcome.md master.xml + popd + mv -f drupal-build/openshift-rosa/welcome/build/welcome.md /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw + sed -i -e 's#]*>##' /home/pep/git/et/foundation-models-for-documentation/hack/../data/raw/welcome.md real 0m16,938s user 0m11,600s sys 0m2,207s ((aura) ) pep@uio foundation-models-for-documentation (get-rosa-docs) $ ls -l data/raw/ total 3080 -rw-r--r--. 1 pep pep 7980 16 de febr. 20:03 adding_service_cluster.md -rw-r--r--. 1 pep pep 3439 16 de febr. 20:03 applications.md -rw-r--r--. 1 pep pep 63579 16 de febr. 20:03 authentication.md -rw-r--r--. 1 pep pep 2142 16 de febr. 20:03 cicd.md -rw-r--r--. 1 pep pep 529920 16 de febr. 20:03 logging.md -rw-r--r--. 1 pep pep 109889 16 de febr. 20:03 networking.md -rw-r--r--. 1 pep pep 8295 16 de febr. 20:03 ocm.md -rw-r--r--. 1 pep pep 180085 16 de febr. 20:03 rosa_architecture.md -rw-r--r--. 1 pep pep 5281 16 de febr. 20:03 rosa_backing_up_and_restoring_applications.md -rw-r--r--. 1 pep pep 90565 16 de febr. 20:03 rosa_cli.md -rw-r--r--. 1 pep pep 145348 16 de febr. 20:03 rosa_cluster_admin.md -rw-r--r--. 1 pep pep 83472 16 de febr. 20:03 rosa_getting_started.md -rw-r--r--. 1 pep pep 242410 16 de febr. 20:03 rosa_install_access_delete_clusters.md -rw-r--r--. 1 pep pep 87345 16 de febr. 20:03 rosa_planning.md -rw-r--r--. 1 pep pep 59815 16 de febr. 20:03 rosa_support.md -rw-r--r--. 1 pep pep 559348 16 de febr. 20:03 serverless.md -rw-r--r--. 1 pep pep 876783 16 de febr. 20:03 service_mesh.md -rw-r--r--. 1 pep pep 30689 16 de febr. 20:03 storage.md -rw-r--r--. 1 pep pep 22544 16 de febr. 20:03 upgrading.md -rw-r--r--. 1 pep pep 2464 16 de febr. 20:03 welcome.md ((aura) ) pep@uio foundation-models-for-documentation (get-rosa-docs) $ head data/raw/welcome.md # Red Hat OpenShift Service on AWS 4 Documentation Welcome to the official Red Hat OpenShift Service on AWS (ROSA) documentation, where you can learn about ROSA and start exploring its features. To learn about ROSA, interacting with ROSA using Red Hat OpenShift Cluster Manager and command-line interface (CLI) tools, consumption experience, and integration with Amazon Web Services (AWS) services, start with [the Introduction to ROSA documentation](https://access.redhat.com/documentation/en-us/red_hat_openshift_service_on_aws/4/html-single/introduction_to_rosa/#rosa-understanding). ![Red Hat OpenShift Service on AWS](images/291_OpenShift_on_AWS_Intro_1122_docs.png) To navigate the ROSA documentation, use the left navigation bar. For documentation that is not ROSA-specific, see the [OpenShift Container Platform documentation](https://docs.openshift.com/container-platform/latest/welcome/index.html). ```
codificat commented 1 year ago

Removing draft status after our chat yesterday: while the script currently has an implicit dependency (from the openshift-docs repo) on the aura tool, I believe it's functional and meets our current needs.