Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 25, 2024
1 parent fe86e8c commit 4add3dc
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 14 deletions.
5 changes: 5 additions & 0 deletions docs/content/demo.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
hide:
- navigation
---

# Try the demo

## Setup
Expand Down
9 changes: 9 additions & 0 deletions docs/content/index.md
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 5 additions & 0 deletions docs/content/permissions.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
8 changes: 4 additions & 4 deletions docs/content/quick-start.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 5 additions & 0 deletions docs/content/tests.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
hide:
- navigation
---

## Run tests

# unit tests
Expand Down
11 changes: 1 addition & 10 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4add3dc

Please sign in to comment.