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

feat: new _doc-gen-robots action to generate seo-compliant "robots.txt" #420

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

jorgepiloto
Copy link
Member

This pull-request includes a new private action named _doc-gen-robots. This action is used by the doc-deploy-stable action right after calling the _doc-gen-sitemap. Its goal is to allow all robots to crawl a website. Crawlable directories include: version/dev, version/stable, and version/X.Y where X.Y is the updated latest stable.

It also ensures that the sitemap.xml is listed so crawlers can read it.

@jorgepiloto jorgepiloto requested a review from a team as a code owner March 11, 2024 14:12
@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@github-actions github-actions bot added the enhancement New features or code improvements label Mar 11, 2024
Co-authored-by: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com>
@jorgepiloto jorgepiloto merged commit 9b252fa into feat/seo-improvements Mar 11, 2024
5 checks passed
@jorgepiloto jorgepiloto deleted the feat/robots branch March 11, 2024 14:19
@jorgepiloto jorgepiloto restored the feat/robots branch March 11, 2024 14:19
@jorgepiloto jorgepiloto deleted the feat/robots branch March 11, 2024 14:19
run: |
echo "User-agent: *\n" > robots.txt

- name: "Iterate over all versions except the "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: "Iterate over all versions except the "
- name: "Iterate over all versions except the stable one"

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants