Closed Blendify closed 4 years ago
This is not a good change.
I'm parsing index.html
not because I couldn't figure out a much cleaner way using bash, but because I want the order to be the one of the table of contents. This way the translation catalog contains all the strings in the same order as the https://docs.godotengine.org/en/stable documentation, which makes it easy for translators to locate pages / translate things in the same order as they read it.
This change would make the order strictly folder/alphabetical based, which is not good.
To be fair, I don't really use this method anymore as I now just sync new templates manually when I update docs
. git pull
tells me which files have been removed/added and I can then consult the online docs to see where to insert them.
This simplifies the code and process by not having to build and copy the index.html file
The previous code was also weak because the doc tree in the html file can miss files depending on theme settings such as
collapse_navigation
andnavigation_depth