Skip to content

Commit

Permalink
docs: Fix another typo in docstring (#152)
Browse files Browse the repository at this point in the history
As well as update intersphinx mapping for `aiohttp` and add mapping for
`yarl` library.

Also add @greut to `AUTHORS.txt`.
  • Loading branch information
playpauseandstop authored Feb 28, 2023
1 parent 81847a5 commit 9e7117f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- `Igor Davydenko <https://github.com/playpauseandstop>`_
- `Alex Kuzmenko <https://github.com/alxpy>`_
- `Kaarle Ritvanen <https://github.com/kunkku>`_
- `Yoan Blanc <https://github.com/greut>`_
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@

intersphinx_mapping = {
"https://docs.python.org/3/": None,
"https://aiohttp.readthedocs.io/en/stable/": None,
"https://docs.aiohttp.org/en/stable/": None,
"https://yarl.aio-libs.org/en/stable/": None,
}

ogp_site_url = "https://aiohttp-middlewares.readthedocs.io"
Expand Down
2 changes: 1 addition & 1 deletion src/aiohttp_middlewares/cors.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def cors_middleware(
Allow content access for given list of origins. Support supplying
strings for exact origin match or regex instances. By default: ``None``
:param urls:
Allow contect access for given list of URLs in aiohttp application.
Allow content access for given list of URLs in aiohttp application.
By default: *apply CORS headers for all URLs*
:param expose_headers:
List of headers to be exposed with every CORS request. By default:
Expand Down

0 comments on commit 9e7117f

Please sign in to comment.