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]
[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. Changes thresholds
and which checks run — see `indexgap profiles`;
business: saas, ecommerce, local, media, marketplace,
app, devtools, ymyl — with a page-type check
--out-dir OUT_DIR where to write; next to the pages by default
--force replace sitemap.xml even if indexgap did not write it,
and write it even when every page is closed
--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