Build a sitemap from what actually exists.
Generates the sitemap from the pages found, not from the dataset — so a page that failed to generate does not get announced to search engines as though it had.
usage: indexgap sitemap [-h] [--site SITE] [--home HOME] [--config CONFIG]
[--profile PROFILE] [--out-dir OUT_DIR] [--force]
[--manifest MANIFEST] [--public-prefix PUBLIC_PREFIX]
[--lang {en,ru}]
[root]
positional arguments:
root directory of pages; taken from indexgap.json by
default
options:
-h, --help show this help message and exit
--site SITE the full site address; taken from indexgap.json by
default
--home HOME URL of the home page; defaults to --site itself
--config CONFIG path to indexgap.json; looked for next to the pages by
default
--profile PROFILE content type: catalog, events, ugc, product. Changes
thresholds and which checks run — see `indexgap
profiles`
--out-dir OUT_DIR where to write; next to the pages by default
--force replace sitemap.xml even if indexgap did not write it
--manifest MANIFEST path to the manifest; next to indexgap.json by default
--public-prefix PUBLIC_PREFIX
the path the files will be served under, if --out-dir
is not the publish root
--lang {en,ru} output language: en or ru. By default from
INDEXGAP_LANG or the system locale, otherwise English