GeoEco.Metadata.ClassMetadata.LoadDocutilsXMLCache

static ClassMetadata.LoadDocutilsXMLCache(cacheFile)

Initializes Metadata’s internal cache of docutils XML from the specified file.

This is a helper function used by the GeoEco build script. One of the tasks done by that script is to convert all of the reStructuredText documentation from Metadata objects into docutils XML format. The docutils function for doing this can be slow, so to speed up the build process when repeatedly building GeoEco during development, we cache its output.

Note

After upgrading docutils, you should delete the cache file to force it to be recreated, in case the docutils XML format was changed.

Parameters:

cacheFile (str) – Path to the file to read. Minimum length꞉ 1. Must exist.