mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-11 15:44:57 +03:00
Improve document output
This commit is contained in:
parent
e2c2ba4aba
commit
48803e1b57
|
@ -15,7 +15,7 @@ Commands are only re-run if their inputs have changed."""
|
||||||
INTRO_WORKFLOWS = f"""The following workflows are defined by the project. They
|
INTRO_WORKFLOWS = f"""The following workflows are defined by the project. They
|
||||||
can be executed using [`spacy project run [name]`]({DOCS_URL}/api/cli#project-run)
|
can be executed using [`spacy project run [name]`]({DOCS_URL}/api/cli#project-run)
|
||||||
and will run the specified commands in order. Commands grouped within square brackets
|
and will run the specified commands in order. Commands grouped within square brackets
|
||||||
preceded by 'parallel' are run in parallel. Commands are only re-run if their inputs
|
are run in parallel. Commands are only re-run if their inputs
|
||||||
have changed."""
|
have changed."""
|
||||||
INTRO_ASSETS = f"""The following assets are defined by the project. They can
|
INTRO_ASSETS = f"""The following assets are defined by the project. They can
|
||||||
be fetched by running [`spacy project assets`]({DOCS_URL}/api/cli#project-assets)
|
be fetched by running [`spacy project assets`]({DOCS_URL}/api/cli#project-assets)
|
||||||
|
@ -78,7 +78,7 @@ def project_document(
|
||||||
rendered_steps.append(md.code(step))
|
rendered_steps.append(md.code(step))
|
||||||
else:
|
else:
|
||||||
rendered_steps.append(
|
rendered_steps.append(
|
||||||
"parallel["
|
"["
|
||||||
+ ", ".join(md.code(p_step) for p_step in step["parallel"])
|
+ ", ".join(md.code(p_step) for p_step in step["parallel"])
|
||||||
+ "]"
|
+ "]"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user