Running the conversion script
Run the conversion script to quickly convert existing guides and prepare them for the DITA migration.
Important: The conversion script only converts the basic outline of an AsciiDoc file. You still have to manually review each file and make additional content, structural, or architectural changes as needed.
Prerequisites
- You need the
convert.shfile. Contact the tools focal to get the file or download it from the team Slack channel.
Converting a guide
To convert a guide, complete the following steps:
-
Copy the
convert.shfile to the main directory of therhacm-docsproject. -
In the command line, navigate to the main directory of the
rhacm-docsproject. Use thecdcommand. -
Make the script executable. Run the following command:
chmod +x convert.sh -
Run the conversion script on the guide that you want to convert. Run the following command. Replace
<path-to-guide>with the directory path to the guide you want to convert. For example,cluster/cluster_lifecycle:./convert.sh <path-to-guide> -
Delete the
convert.shfile before committing and pushing any changes.