2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00

Merge pull request #7 from eeintech/debug

Added temporary debug page to better understand context when hosted on ReadTheDocs
This commit is contained in:
Oliver 2020-09-23 07:49:42 +10:00 committed by GitHub
commit 034d1d5fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

30
docs/debug.md Normal file
View 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 }}

View File

@ -67,6 +67,8 @@ nav:
- Python Interface: extend/python.md
- Plugins: extend/plugins.md
- Third-Party: extend/integrate.md
- Debug:
- Debug: debug.md
# Plugins
plugins: