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

Update sitemaps.yml #26

Merged
merged 18 commits into from
Nov 20, 2023
Merged

Update sitemaps.yml #26

merged 18 commits into from
Nov 20, 2023

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 20, 2023

copilot:all

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improvements to Sitemap Submission Workflow in Ultralytics Docs Repo πŸš€

πŸ“Š Key Changes

  • Added a new step to fetch the current and previous commit upon checking out the repository.
  • Implemented a step to extract the list of modified files between the last two commits.
  • Updated the sitemap submission script to include a new function that filters URLs by modified files.
  • Now only the URLs corresponding to recently modified files are submitted to IndexNow, rather than all URLs.

🎯 Purpose & Impact

  • 🎯 Purpose:
    • To optimize the process of updating search engines with changes to the documentation site.
    • To reduce resources and time by only processing modified files.
  • πŸ’₯ Impact:
    • Users searching for Ultralytics documentation will find the most up-to-date contents more rapidly.
    • Improves SEO efficiency by focusing on newly updated pages, enhancing user experience with the freshest information.

@glenn-jocher glenn-jocher merged commit 98516a0 into main Nov 20, 2023
3 checks passed
@glenn-jocher glenn-jocher deleted the modified_files branch November 20, 2023 14:55
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.

1 participant