mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 05:36:46 +00:00
Added temporary debug page to better understand context when hosted on ReadTheDocs
This commit is contained in:
parent
01f82a0128
commit
7eabf3b361
30
docs/debug.md
Normal file
30
docs/debug.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: Debug
|
||||||
|
layout: page
|
||||||
|
---
|
||||||
|
|
||||||
|
## Debug
|
||||||
|
|
||||||
|
### Readthedocs
|
||||||
|
|
||||||
|
*[Reference](https://docs.readthedocs.io/en/stable/development/design/theme-context.html#context-injected)*
|
||||||
|
|
||||||
|
{{ readthedocs }}
|
||||||
|
|
||||||
|
### Mkdocs
|
||||||
|
|
||||||
|
#### Base URL
|
||||||
|
|
||||||
|
base_url: `{{ base_url }}`
|
||||||
|
|
||||||
|
#### Environment
|
||||||
|
|
||||||
|
{{ context(environment) | pretty }}
|
||||||
|
|
||||||
|
#### Global Variables
|
||||||
|
|
||||||
|
{{ context(extra) | pretty }}
|
||||||
|
|
||||||
|
#### Config
|
||||||
|
|
||||||
|
{{ context(config) | pretty }}
|
@ -67,6 +67,8 @@ nav:
|
|||||||
- Python Interface: extend/python.md
|
- Python Interface: extend/python.md
|
||||||
- Plugins: extend/plugins.md
|
- Plugins: extend/plugins.md
|
||||||
- Third-Party: extend/integrate.md
|
- Third-Party: extend/integrate.md
|
||||||
|
- Debug:
|
||||||
|
- Debug: debug.md
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
plugins:
|
plugins:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user