mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Changed info plugin to store more platform information
This commit is contained in:
parent
712bc1c137
commit
64a8b6a383
@ -135,7 +135,13 @@ class InfoPlugin(BasePlugin[InfoConfig]):
|
||||
json.dumps(
|
||||
{
|
||||
"system": platform.platform(),
|
||||
"python": platform.python_version()
|
||||
"architecture": platform.architecture(),
|
||||
"python": platform.python_version(),
|
||||
"command": " ".join([
|
||||
sys.argv[0].rsplit(os.sep, 1)[-1],
|
||||
*sys.argv[1:]
|
||||
]),
|
||||
"sys.path": sys.path
|
||||
},
|
||||
default = str,
|
||||
indent = 2
|
||||
|
@ -135,7 +135,13 @@ class InfoPlugin(BasePlugin[InfoConfig]):
|
||||
json.dumps(
|
||||
{
|
||||
"system": platform.platform(),
|
||||
"python": platform.python_version()
|
||||
"architecture": platform.architecture(),
|
||||
"python": platform.python_version(),
|
||||
"command": " ".join([
|
||||
sys.argv[0].rsplit(os.sep, 1)[-1],
|
||||
*sys.argv[1:]
|
||||
]),
|
||||
"sys.path": sys.path
|
||||
},
|
||||
default = str,
|
||||
indent = 2
|
||||
|
Loading…
Reference in New Issue
Block a user