Skip to content

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Jan 24, 2023

Our HTML documentation template slaps a <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> on every page unless the HUGO_ENV environment variable is set to production, thereby excluding the entire documentation website from web search results. Set the variable to fix it.

This behavior is inherited from Docsy, although they have changed it since: google/docsy#653.

Motivation and context

I have long had trouble finding the CVAT manual via Google, and finally realized that something fishy must be going on.

How has this been tested?

I checked that setting HUGO_ENV to production does indeed remove NOINDEX, NOFOLLOW from the generated pages.

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

Our HTML documentation template slaps a
`<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">` on every page unless
the `HUGO_ENV` environment variable is set to `production`, thereby excluding
the entire documentation website from web search results. Set the variable
to fix it.

This behavior is inherited from Docsy, although they have changed it since:
<google/docsy#653>.
@SpecLad SpecLad requested a review from nmanovic as a code owner January 24, 2023 17:10
@nmanovic nmanovic merged commit d5f3f93 into cvat-ai:develop Jan 25, 2023
@SpecLad SpecLad deleted the index-docs branch March 16, 2023 18:03
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Jul 1, 2023
…-ai#5623)

Our HTML documentation template slaps a `<META NAME="ROBOTS"
CONTENT="NOINDEX, NOFOLLOW">` on every page unless the `HUGO_ENV`
environment variable is set to `production`, thereby excluding the
entire documentation website from web search results. Set the variable
to fix it.

This behavior is inherited from Docsy, although they have changed it
since: <google/docsy#653>.
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