Take another swing at noindex metadata

Open
#132 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Start with sunpy_sphinx_theme/sunpy/layout.html lines 17-19 and sunpy_sphinx_theme/sunpy/theme.conf line 21, then search the theme for references to version_slug. Check the generated metadata for the main, stable, and latest documentation sites; done means those sites no longer incorrectly block robots.

Written by the indexing model from the issue text.

Description

The sunpy main website, sunpy stable and latest docs all block robots. The following doesn't seem to have the intended effect:
https://github.com/sunpy/sunpy-sphinx-theme/blob/3c7125a876ec56a7ee5eb54d03c42770f8e173d9/sunpy_sphinx_theme/sunpy/layout.html#L17-L19

to_be_indexed seems to be defined here https://github.com/sunpy/sunpy-sphinx-theme/blob/3c7125a876ec56a7ee5eb54d03c42770f8e173d9/sunpy_sphinx_theme/sunpy/theme.conf#L21 however I cannot find any reference to version_slug anywhere. Does anyone know if and where version_slug is defined?

Dominant language
JavaScript
Stars
7
Forks
17
Avg merge
1d 13h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sunpy/sunpy-sphinx-theme

All issues in sunpy/sunpy-sphinx-theme

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.