README.md: Add step that explains how to use the sitemap.xml properly#92
README.md: Add step that explains how to use the sitemap.xml properly#92refeed wants to merge 1 commit intozulip:masterfrom
Conversation
|
Is there a way to automate adding to robots.txt, so that we don't even need to document this? |
|
Umm, I haven't heard such thing existed yet |
|
This can be quickly tested by committing robots.txt with the sitemap info to a zulip-archive repo root. |
|
Yes that is possible if the zulip-archive lives right in the root of the URL, e.g. https://example.github.io . But for github pages especially those that don't use custom domain, most of the case zulip-archive doesn't live in the root of the domain e.g. https://example.github.io/zulip-archive/ |
|
The ones with custom domain should work, because that Bootstrap GH pages domain is getbootstrap.com, and they have robots.txt committed in the repo root. The case where it doesn't work is when the subdomain of the GH pages URL is not the repo name https://example.github.io/zulip-archive/. In this case, then OK, this should be documented. But the rest can be automated. |
Followup of 980675c