Skip to content

Commit

Permalink
Docs integrations restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
p1c2u committed Nov 22, 2023
1 parent 88c78dc commit 32720ce
Show file tree
Hide file tree
Showing 15 changed files with 526 additions and 516 deletions.
5 changes: 5 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
API
===

.. autosummary::
:toctree: generated
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
# ones.
extensions = [
"sphinx.ext.autodoc",
'sphinx.ext.autosummary',
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"sphinx.ext.coverage",
Expand Down
9 changes: 5 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ openapi-core

.. toctree::
:hidden:
:maxdepth: 2
:maxdepth: 3

unmarshalling
validation
integrations
integrations/index
customizations
security
extensions
contributing
api

Openapi-core is a Python library that adds client-side and server-side support
for the `OpenAPI v3.0 <https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md>`__
Expand All @@ -21,7 +22,7 @@ Key features
------------

* :doc:`validation` and :doc:`unmarshalling <unmarshalling>` of request and response data (including webhooks)
* :doc:`Integrations <integrations>` with popular libraries (Requests, Werkzeug) and frameworks (Django, Falcon, Flask, Starlette)
* :doc:`Integrations <integrations/index>` with popular libraries (Requests, Werkzeug) and frameworks (Django, Falcon, Flask, Starlette)
* :doc:`Customization <customizations>` with **media type deserializers** and **format unmarshallers**
* :doc:`Security <security>` data providers (API keys, Cookie, Basic and Bearer HTTP authentications)

Expand Down Expand Up @@ -74,7 +75,7 @@ Retrieve validated and unmarshalled request data
# get security data
security = result.security
Request object should implement OpenAPI Request protocol. Check :doc:`integrations` to find oficially supported implementations.
Request object should implement OpenAPI Request protocol. Check :doc:`integrations/index` to find oficially supported implementations.

For more details read about :doc:`unmarshalling` process.

Expand Down
Loading

0 comments on commit 32720ce

Please sign in to comment.