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

Improve SEO by adding sitemap to sphinx docs #435

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Conversation

tonyyanga
Copy link
Contributor

This PR adds sitemap.xml to sphinx docs using sphinx-sitemap package. Including a sitemap improves SEO for the documentation site (source: stackexchange).

Here is the generate sitemap file hosted on a mirror of the sphinx docs: https://trafilatura-epsilla.readthedocs.io/en/latest/sitemap.xml

Here is the corresponding link in existing docs: it reports HTTP 404.

@adbar
Copy link
Owner

adbar commented Oct 27, 2023

Hi @tonyyanga, thanks! I don't have any CI/CD pipeline for the docs yet, I'll test and integrate the PR manually next week.

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Merging #435 (8fa6f45) into master (2c3b751) will not change coverage.
The diff coverage is n/a.

❗ Current head 8fa6f45 differs from pull request most recent head 41adf07. Consider uploading reports for the commit 41adf07 to get more accurate results

@@           Coverage Diff           @@
##           master     #435   +/-   ##
=======================================
  Coverage   96.82%   96.82%           
=======================================
  Files          22       22           
  Lines        3340     3340           
=======================================
  Hits         3234     3234           
  Misses        106      106           

@adbar
Copy link
Owner

adbar commented Oct 30, 2023

I added a robots.txt file pointing to the sitemap, just in case it might bring something.

@adbar adbar merged commit 2aa3197 into adbar:master Oct 30, 2023
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants