Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add _include pages to sitemap_excludes to avoid duplicate content and "empty" search results #158

Open
msbt opened this issue Dec 9, 2024 · 1 comment

Comments

@msbt
Copy link
Contributor

msbt commented Dec 9, 2024

Documentation feedback

Pages that get included via :::{include} (e.g. https://cratedb.com/docs/guide/_include/card/timeseries-dask.html) are also visible in the sitemap, can we add them to sitemap_excludes for those pages so they don't show up (and thus also not show in search)?


@amotl
Copy link
Member

amotl commented Dec 10, 2024

Hi. Thanks for reporting.

Pages that get included [...] are also visible in the sitemap.

Yeah, bummer. In Sphinx, the regular way is to slap an "orphaned" tag into them, but the obstacle here is that this doesn't work well within included pages, iirc. We may want to try once more, and/or report that to upstream.

Can we add them to sitemap_excludes so they don't show up?

If that works for you, sure, please do. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants