mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added version to info plugin example name
This commit is contained in:
@@ -106,7 +106,7 @@ class InfoPlugin(BasePlugin[InfoConfig]):
|
|||||||
archive = BytesIO()
|
archive = BytesIO()
|
||||||
example = input("\nPlease name your bug report (2-4 words): ")
|
example = input("\nPlease name your bug report (2-4 words): ")
|
||||||
example, _ = os.path.splitext(example)
|
example, _ = os.path.splitext(example)
|
||||||
example = slugify(example, "-")
|
example = "-".join([present, slugify(example, "-")])
|
||||||
|
|
||||||
# Create self-contained example from project
|
# Create self-contained example from project
|
||||||
files: list[str] = []
|
files: list[str] = []
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ class InfoPlugin(BasePlugin[InfoConfig]):
|
|||||||
archive = BytesIO()
|
archive = BytesIO()
|
||||||
example = input("\nPlease name your bug report (2-4 words): ")
|
example = input("\nPlease name your bug report (2-4 words): ")
|
||||||
example, _ = os.path.splitext(example)
|
example, _ = os.path.splitext(example)
|
||||||
example = slugify(example, "-")
|
example = "-".join([present, slugify(example, "-")])
|
||||||
|
|
||||||
# Create self-contained example from project
|
# Create self-contained example from project
|
||||||
files: list[str] = []
|
files: list[str] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user