From efb0a7e9344dfbf38ffd5f05f0dcf6018489235f Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 6 Nov 2017 13:20:36 +0100 Subject: [PATCH] Fix broken links --- website/usage/_install/_troubleshooting.jade | 2 +- website/usage/_models/_install.jade | 2 +- website/usage/_processing-pipelines/_pipelines.jade | 2 +- website/usage/_visualizers/_dep.jade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/usage/_install/_troubleshooting.jade b/website/usage/_install/_troubleshooting.jade index a499facf0..8326901ce 100644 --- a/website/usage/_install/_troubleshooting.jade +++ b/website/usage/_install/_troubleshooting.jade @@ -22,7 +22,7 @@ p | to see which models are available for your spaCy version. If you're using | an old version, consider upgrading to the latest release. Note that while | spaCy supports tokenization for - | #[+a("/usage/models/#languages") a variety of languages], + | #[+a("/usage/models#languages") a variety of languages], | not all of them come with statistical models. To only use the tokenizer, | import the language's #[code Language] class instead, for example | #[code from spacy.fr import French]. diff --git a/website/usage/_models/_install.jade b/website/usage/_models/_install.jade index 1d15199a2..d8f097f7e 100644 --- a/website/usage/_models/_install.jade +++ b/website/usage/_models/_install.jade @@ -36,7 +36,7 @@ p | By default, this will install the model into your #[code site-packages] | directory. You can then use #[code spacy.load()] to load it via its | package name, create a #[+a("#usage-link") shortcut link] to assign it a - | custom name, or #[+a("usage-import") import it] explicitly as a module. + | custom name, or #[+a("#usage-import") import it] explicitly as a module. | If you need to download models as part of an automated process, we | recommend using pip with a direct link, instead of relying on spaCy's | #[+api("cli#download") #[code download]] command. diff --git a/website/usage/_processing-pipelines/_pipelines.jade b/website/usage/_processing-pipelines/_pipelines.jade index acd897267..341c2393c 100644 --- a/website/usage/_processing-pipelines/_pipelines.jade +++ b/website/usage/_processing-pipelines/_pipelines.jade @@ -143,7 +143,7 @@ p | #[code disable], which takes a list of pipeline component names. | This lets you disable pre-defined components when loading | a model, or initialising a Language class via - | #[+api("language-from_disk") #[code from_disk]]. + | #[+api("language#from_disk") #[code from_disk]]. +code-new. nlp = spacy.load('en', disable=['ner']) diff --git a/website/usage/_visualizers/_dep.jade b/website/usage/_visualizers/_dep.jade index b028ba4cf..024848672 100644 --- a/website/usage/_visualizers/_dep.jade +++ b/website/usage/_visualizers/_dep.jade @@ -52,7 +52,7 @@ p p | For a list of all available options, see the - | #[+api("displacy#options") #[code displacy] API documentation]. + | #[+api("top-level#displacy_options") #[code displacy] API documentation]. +aside-code("Options example"). options = {'compact': True, 'bg': '#09a3d5',