mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01: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(
|
json.dumps(
|
||||||
{
|
{
|
||||||
"system": platform.platform(),
|
"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,
|
default = str,
|
||||||
indent = 2
|
indent = 2
|
||||||
|
@ -135,7 +135,13 @@ class InfoPlugin(BasePlugin[InfoConfig]):
|
|||||||
json.dumps(
|
json.dumps(
|
||||||
{
|
{
|
||||||
"system": platform.platform(),
|
"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,
|
default = str,
|
||||||
indent = 2
|
indent = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user