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:
parent
d26a949175
commit
db568b1e6b
@ -106,7 +106,7 @@ class InfoPlugin(BasePlugin[InfoConfig]):
|
||||
archive = BytesIO()
|
||||
example = input("\nPlease name your bug report (2-4 words): ")
|
||||
example, _ = os.path.splitext(example)
|
||||
example = slugify(example, "-")
|
||||
example = "-".join([present, slugify(example, "-")])
|
||||
|
||||
# Create self-contained example from project
|
||||
files: list[str] = []
|
||||
|
@ -106,7 +106,7 @@ class InfoPlugin(BasePlugin[InfoConfig]):
|
||||
archive = BytesIO()
|
||||
example = input("\nPlease name your bug report (2-4 words): ")
|
||||
example, _ = os.path.splitext(example)
|
||||
example = slugify(example, "-")
|
||||
example = "-".join([present, slugify(example, "-")])
|
||||
|
||||
# Create self-contained example from project
|
||||
files: list[str] = []
|
||||
|
Loading…
Reference in New Issue
Block a user