From 4add3dc9e16ed4876d886157b8a1491fbb30839b Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Mon, 25 Mar 2024 14:58:48 +0100 Subject: [PATCH] x --- docs/content/demo.md | 5 +++++ docs/content/index.md | 9 +++++++++ docs/content/permissions.md | 5 +++++ docs/content/quick-start.md | 8 ++++---- docs/content/tests.md | 5 +++++ docs/mkdocs.yml | 11 +---------- 6 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 docs/content/index.md diff --git a/docs/content/demo.md b/docs/content/demo.md index cc43358e..36e80988 100644 --- a/docs/content/demo.md +++ b/docs/content/demo.md @@ -1,3 +1,8 @@ +--- +hide: + - navigation +--- + # Try the demo ## Setup diff --git a/docs/content/index.md b/docs/content/index.md new file mode 100644 index 00000000..979c2495 --- /dev/null +++ b/docs/content/index.md @@ -0,0 +1,9 @@ +--- +hide: + - navigation +--- + +# Django-OAPIF + +*Django-OAPIF* allows to easily expose your Django models through an OGC API Features endpoint. +It is based on Django REST Framework. diff --git a/docs/content/permissions.md b/docs/content/permissions.md index b088b1ec..f12c7d15 100644 --- a/docs/content/permissions.md +++ b/docs/content/permissions.md @@ -1,3 +1,8 @@ +--- +hide: + - navigation +--- + # Custom authentication & permissions By default the viewsets use `DjangoModelPermissionsOrAnonReadOnly` [permissions class from DRF](https://www.django-rest-framework.org/api-guide/permissions/#djangomodelpermissionsoranonreadonly). diff --git a/docs/content/quick-start.md b/docs/content/quick-start.md index 1f135879..91ff93e8 100644 --- a/docs/content/quick-start.md +++ b/docs/content/quick-start.md @@ -1,7 +1,7 @@ -# Django-OAPIF - -*Django-OAPIF* allows to easily expose your Django models through an OGC API Features endpoint. -It is based on Django REST Framework. +--- +hide: + - navigation +--- # Quickstart diff --git a/docs/content/tests.md b/docs/content/tests.md index 27b4166b..4c678351 100644 --- a/docs/content/tests.md +++ b/docs/content/tests.md @@ -1,3 +1,8 @@ +--- +hide: + - navigation +--- + ## Run tests # unit tests diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 57d2e9b2..8b25bcce 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -48,21 +48,12 @@ theme: name: System default nav: + - Home: index.md - Quick start: quick-start.md - Demo: demo.md - Permissions: permissions.md - Test and conformance: tests.md -# Css -extra_css: - - stylesheets/extra.css - - stylesheets/jquery.fancybox.min.css - -# Extra javascript -extra_javascript: - - javascript/jquery.min.js - - javascript/jquery.fancybox.min.js - extra: # Remove "Made with Material for MkDocs" from footer generator: false