diff --git a/spacy/about.py b/spacy/about.py index ad4a021c2..8c0e0afd3 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -10,7 +10,7 @@ __author__ = 'Matthew Honnibal' __email__ = 'matt@explosion.ai' __license__ = 'MIT' -__docs__ = 'https://spacy.io/docs/usage' +__docs_models__ = 'https://spacy.io/docs/usage' __download_url__ = 'https://github.com/explosion/spacy-models/releases/download' __compatibility__ = 'https://raw.githubusercontent.com/explosion/spacy-models/master/compatibility.json' __shortcuts__ = 'https://raw.githubusercontent.com/explosion/spacy-models/master/shortcuts.json' diff --git a/spacy/cli/download.py b/spacy/cli/download.py index 0419de118..70ca64b22 100644 --- a/spacy/cli/download.py +++ b/spacy/cli/download.py @@ -79,5 +79,5 @@ def check_error_depr(model): "As of v1.7.0, the download all command is deprecated. Please " "download the models individually via spacy.download [model name] " "or pip install. For more info on this, see the documentation: " - "{d}".format(d=about.__docs__), + "{d}".format(d=about.__docs_models__), title="Deprecated command") diff --git a/spacy/deprecated.py b/spacy/deprecated.py index 65053089a..3f3c69b88 100644 --- a/spacy/deprecated.py +++ b/spacy/deprecated.py @@ -146,7 +146,7 @@ class ModelDownload(): "The spacy.{l}.download command is now deprecated. Please use " "python -m spacy download [model name or shortcut] instead. For more " "info and available models, see the documentation: {d}. " - "Downloading default '{l}' model now...".format(d=about.__docs__, l=lang), + "Downloading default '{l}' model now...".format(d=about.__docs_models__, l=lang), title="Warning: deprecated command") download(lang)