Here is the powershell script that I run manually, which could be translated to any language and run via runner on Linux etc.. Just need to loop through the .xsd files and use a saxon parser to to the translation
$files = Get-ChildItem "C:\Users\Jack\Documents\GitHub\OVAL\oval-schemas" -Filter *.xsd
foreach ($f in $files){
$outfile = $f.Basename + ".rst"
java -jar C:\Users\Jack\Downloads\SaxonHE10-8J\saxon-he-10.8.jar -s:$f.FullName -xsl:C:\Users\Jack\Documents\GitHub\OVAL\tools\oval_xsd2rst.xsl -o:C:\Users\Jack\Documents\GitHub\OVAL\guidelines\oval-schema-documentation\$outfile
}