Просмотр исходного кода

Create custom RTD configuration

jeremystretch 4 лет назад
Родитель
Сommit
b40afd1006
2 измененных файлов с 10 добавлено и 3 удалено
  1. 10 0
      .readthedocs.yaml
  2. 0 3
      mkdocs.yml

+ 10 - 0
.readthedocs.yaml

@@ -0,0 +1,10 @@
+version: 2
+build:
+  os: ubuntu-20.04
+  tools:
+    python: "3.9"
+mkdocs:
+  configuration: mkdocs.yml
+python:
+   install:
+   - requirements: requirements.txt

+ 0 - 3
mkdocs.yml

@@ -3,9 +3,6 @@ site_dir: netbox/project-static/docs
 site_url: https://netbox.readthedocs.io/
 site_url: https://netbox.readthedocs.io/
 repo_name: netbox-community/netbox
 repo_name: netbox-community/netbox
 repo_url: https://github.com/netbox-community/netbox
 repo_url: https://github.com/netbox-community/netbox
-python:
-  install:
-  - requirements: docs/requirements.txt
 theme:
 theme:
   name: material
   name: material
   icon:
   icon: