Преглед изворни кода

Enable support for Markdown inclusions

Jeremy Stretch пре 6 година
родитељ
комит
70397461eb
2 измењених фајлова са 7 додато и 0 уклоњено
  1. 2 0
      docs/requirements.txt
  2. 5 0
      mkdocs.yml

+ 2 - 0
docs/requirements.txt

@@ -0,0 +1,2 @@
+mkdocs
+git+https://github.com/cmacmackin/markdown-include.git

+ 5 - 0
mkdocs.yml

@@ -1,11 +1,16 @@
 site_name: NetBox Documentation
 site_url: https://netbox.readthedocs.io/
 repo_url: https://github.com/netbox-community/netbox
+python:
+    install:
+        - requirements: docs/requirements.txt
 theme:
     name: readthedocs
     navigation_depth: 3
 markdown_extensions:
     - admonition:
+    - markdown_include.include:
+        headingOffset: 1
 
 nav:
     - Introduction: 'index.md'