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

Fix links after migrating to read the docs #14

Closed
Tracked by #29
eharkins opened this issue Sep 25, 2020 · 2 comments
Closed
Tracked by #29

Fix links after migrating to read the docs #14

eharkins opened this issue Sep 25, 2020 · 2 comments
Assignees

Comments

@eharkins
Copy link
Contributor

There are many links which will not work or not make sense after migrating everything to be hosted on the same domain.

Here are some examples:

@eharkins
Copy link
Contributor Author

Hopefully redirects will cover most of this, but there might be some links in nextstrain repo readmes that we will want to change, or at least the language around the links may change, e.g. https://github.com/nextstrain/.github/blob/master/CONTRIBUTING.md#contribute-documentation

eharkins added a commit that referenced this issue Oct 22, 2020
this page was removed in #30
@genehack genehack self-assigned this Aug 5, 2024
genehack added a commit to nextstrain/auspice that referenced this issue Aug 5, 2024
genehack added a commit to nextstrain/augur that referenced this issue Aug 5, 2024
* Link to "community page on site" rather than "community section on
  front page"
* Update colorbrewer link to HTTPS
* Update link to Zika reference GenBank file to current location in
  repo
genehack added a commit that referenced this issue Aug 5, 2024
v7.1 is the version where `linkcheck_anchors_ignore_for_url` was
added; we need this option so we can tell the linkchecker to ignore
GitHub's fake anchors.
genehack added a commit that referenced this issue Aug 5, 2024
genehack added a commit that referenced this issue Aug 5, 2024
genehack added a commit that referenced this issue Aug 5, 2024
We're still blocked from validating this (which is why it ends up in
the exclude list in conf.py) but this is what the old URL was
redirecting to.
genehack added a commit that referenced this issue Aug 5, 2024
N.b., for the flu link, there are no longer anchors present in the
page, so I removed it completely. Measles did still have an
appropriate anchor to link to.
genehack added a commit to nextstrain/augur that referenced this issue Aug 6, 2024
* Link to "community page on site" rather than "community section on
  front page"
* Update colorbrewer link to HTTPS
* Update link to Zika reference GenBank file to current location in
  repo
* Update link to example that was removed from the repo to point to
  last version before deletion
genehack added a commit to nextstrain/augur that referenced this issue Aug 6, 2024
…extstrain.org#14]

Feels like a good time to get all these cleaned up…
genehack added a commit to nextstrain/auspice that referenced this issue Aug 6, 2024
genehack added a commit that referenced this issue Aug 6, 2024
genehack added a commit that referenced this issue Aug 6, 2024
genehack added a commit that referenced this issue Aug 6, 2024
We're still blocked from validating this (which is why it ends up in
the exclude list in conf.py) but this is what the old URL was
redirecting to.
genehack added a commit that referenced this issue Aug 6, 2024
N.b., for the flu link, there are no longer anchors present in the
page, so I removed it completely. Measles did still have an
appropriate anchor to link to.
genehack added a commit to nextstrain/auspice that referenced this issue Aug 6, 2024
genehack added a commit that referenced this issue Aug 6, 2024
genehack added a commit to nextstrain/augur that referenced this issue Aug 6, 2024
* Link to "community page on site" rather than "community section on
  front page"
* Update colorbrewer link to HTTPS
* Update link to Zika reference GenBank file to current location in
  repo
* Update link to example that was removed from the repo to point to
  last version before deletion
genehack added a commit to nextstrain/augur that referenced this issue Aug 6, 2024
…extstrain.org#14]

Feels like a good time to get all these cleaned up…
genehack added a commit to nextstrain/augur that referenced this issue Aug 6, 2024
genehack added a commit to nextstrain/auspice that referenced this issue Aug 6, 2024
genehack added a commit that referenced this issue Aug 6, 2024
Also tweak the language around it a tiny bit to match reality.
genehack added a commit to nextstrain/auspice that referenced this issue Aug 6, 2024
genehack added a commit to nextstrain/auspice that referenced this issue Aug 6, 2024
genehack added a commit that referenced this issue Aug 7, 2024
@genehack
Copy link
Contributor

genehack commented Aug 7, 2024

As make linkcheck now runs without error on docs.nextstrain.org:master, I am closing this issue.

@genehack genehack closed this as completed Aug 7, 2024
genehack added a commit that referenced this issue Aug 13, 2024
Also add note that the underlying code in the linkchecker uses
`re.match()` to evaluate the regular expression, so there's already an
implicit start of string anchor in effect, and something like
`r'google'` will _NOT_ match anything.
genehack added a commit that referenced this issue Aug 15, 2024
Anchor regexes and escape potential metachars [#14]
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

No branches or pull requests

2 participants