From 3435b894dfe907dacb95dbac3b8939fa17eda1c4 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 30 Jan 2021 20:12:08 +1100 Subject: [PATCH] Remove nightly reference from auto docs [ci skip] --- spacy/cli/project/document.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spacy/cli/project/document.py b/spacy/cli/project/document.py index 697a2d3a9..1ba43a958 100644 --- a/spacy/cli/project/document.py +++ b/spacy/cli/project/document.py @@ -6,9 +6,6 @@ from .._util import project_cli, Arg, Opt, PROJECT_FILE, load_project_config DOCS_URL = "https://spacy.io" -INTRO = f"""> ⚠️ This project template uses the new [**spaCy v3.0**]({DOCS_URL}), which -> is currently available as a nightly pre-release. You can install it from pip as `spacy-nightly`: -> `pip install spacy-nightly`. Make sure to use a fresh virtual environment.""" INTRO_PROJECT = f"""The [`{PROJECT_FILE}`]({PROJECT_FILE}) defines the data assets required by the project, as well as the available commands and workflows. For details, see the [spaCy projects documentation]({DOCS_URL}/usage/projects).""" @@ -59,7 +56,6 @@ def project_document( title = config.get("title") description = config.get("description") md.add(md.title(1, f"spaCy Project{f': {title}' if title else ''}", "🪐")) - md.add(INTRO) if description: md.add(description) md.add(md.title(2, PROJECT_FILE, "📋"))