Remove nightly reference from auto docs [ci skip]

This commit is contained in:
Ines Montani 2021-01-30 20:12:08 +11:00
parent d0c3775712
commit 3435b894df
1 changed files with 0 additions and 4 deletions

View File

@ -6,9 +6,6 @@ from .._util import project_cli, Arg, Opt, PROJECT_FILE, load_project_config
DOCS_URL = "https://spacy.io" 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 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 project, as well as the available commands and workflows. For details, see the
[spaCy projects documentation]({DOCS_URL}/usage/projects).""" [spaCy projects documentation]({DOCS_URL}/usage/projects)."""
@ -59,7 +56,6 @@ def project_document(
title = config.get("title") title = config.get("title")
description = config.get("description") description = config.get("description")
md.add(md.title(1, f"spaCy Project{f': {title}' if title else ''}", "🪐")) md.add(md.title(1, f"spaCy Project{f': {title}' if title else ''}", "🪐"))
md.add(INTRO)
if description: if description:
md.add(description) md.add(description)
md.add(md.title(2, PROJECT_FILE, "📋")) md.add(md.title(2, PROJECT_FILE, "📋"))