Skip to content

Commit 988380c

Browse files
authored
Merge pull request #1570 from nextstrain/fix-broken-links-1569
Fix broken links [#1569]
2 parents f5275d0 + 3e4a5a9 commit 988380c

10 files changed

+928
-655
lines changed

docs/conf.py

+15
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,18 @@ def prose_list(items):
148148
'pandas': ('https://pandas.pydata.org/docs', None),
149149
'treetime': ('https://treetime.readthedocs.io/en/stable/', None),
150150
}
151+
152+
# -- Linkchecking ------------------------------------------------------------
153+
154+
## NOTE: for both sets of regular expressions that follow, the
155+
## underlying linkchecker code uses `re.match()` to apply them to URLs
156+
## — so there's already an implicit "only at the beginning of a
157+
## string" matching happening, and something like a plain `r'google'`
158+
## regular expression will _NOT_ match all google.com URLs.
159+
linkcheck_ignore = []
160+
linkcheck_anchors_ignore_for_url = [
161+
# Github uses anchor-looking links for highlighting lines but
162+
# handles the actual resolution with Javascript, so skip anchor
163+
# checks for Github URLs:
164+
r'^https://github\.com',
165+
]

docs/faq/metadata.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ locations ('new_zealand' became 'New Zealand').
8181

8282
Auspice will still do this if you are exporting 'V1' type JSON files
8383
(from augur v5 or augur v6 using ``export v1``), but will not do this if
84-
you are using ``export v2`` (`read
85-
more <../releases/migrating-v5-v6.html#prettifying-metadata-fields>`__).
84+
you are using ``export v2`` (:ref:`read more <prettifying-metadata-fields>`).
8685
Instead, you should update your metadata files so that traits look the
8786
same as you'd like them to display in Auspice (change 'new_zealand' to
8887
'New Zealand' in your metadata, and in any additional latitude-longitude

docs/faq/what-is-a-build.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ These steps, taken together, are what we refer to as a "build".
1111

1212
### Example build
1313

14-
The [Zika virus tutorial](https://docs.nextstrain.org/en/latest/tutorials/zika.html#build-steps) describes a build which contains the following steps:
14+
The [Zika virus tutorial](https://docs.nextstrain.org/en/latest/tutorials/creating-a-phylogenetic-workflow.html#run-a-nextstrain-build) describes a build which contains the following steps:
1515

1616
1. Prepare pathogen sequences and metadata
1717
2. Align sequences
@@ -28,5 +28,5 @@ If you look at the [other tutorials](https://docs.nextstrain.org/en/latest/tutor
2828
While it is possible to run a build by running each of the individual steps, we typically group these together into a make-type file.
2929
[Snakemake](https://snakemake.readthedocs.io/en/stable/index.html) is "a tool to create reproducible and scalable data analyses... via a human-readable, Python-based language."
3030

31-
> Snakemake is installed as part of the [conda environment](https://docs.nextstrain.org/en/latest/guides/install/local-installation.html#install-augur-auspice-with-conda) or the [docker container](https://docs.nextstrain.org/en/latest/guides/install/cli-install.html).
31+
> Snakemake is installed as part of the [conda environment](https://docs.nextstrain.org/en/latest/guides/install/local-installation.html) or the [docker container](https://docs.nextstrain.org/en/latest/guides/install/cli-install.html).
3232
If you ever see a build which has a "Snakefile" then you can run this by typing `snakemake --cores 1` or `nextstrain build --cpus 1 .`, respectively.

docs/installation/non-python-dependencies.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Augur uses some external bioinformatics programs that are not available on PyPI:
55
- ``augur tree`` requires at least one of:
66

77
- `IQ-TREE <http://www.iqtree.org/>`__ (used by default)
8-
- `RAxML <https://sco.h-its.org/exelixis/web/software/raxml/>`__ (optional alternative)
8+
- `RAxML <https://cme.h-its.org/exelixis/web/software/raxml/>`__ (optional alternative)
99
- `FastTree <http://www.microbesonline.org/fasttree/>`__ (optional alternative)
1010

1111
- ``augur merge`` requires ``sqlite3``, the `SQLite <https://sqlite.org>`__ CLI (version ≥3.39).

docs/releases/migrating-v5-v6.md

-534
This file was deleted.

0 commit comments

Comments
 (0)