Skip to content

Commit eac0ef9

Browse files
authored
Update web_advanced docs (#11347)
1 parent 9116457 commit eac0ef9

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

CHANGES/11347.doc.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Remove outdated contents of ``aiohttp-devtools`` and ``aiohttp-swagger``
2+
from Web_advanced docs.
3+
-- by :user:`Cycloctane`

docs/web_advanced.rst

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,20 +1268,13 @@ the middleware might use :meth:`BaseRequest.clone`.
12681268
for modifying *scheme*, *host* and *remote* attributes according
12691269
to ``Forwarded`` and ``X-Forwarded-*`` HTTP headers.
12701270

1271-
Swagger support
1272-
---------------
1273-
1274-
`aiohttp-swagger <https://github.com/cr0hn/aiohttp-swagger>`_ is a
1275-
library that allow to add Swagger documentation and embed the
1276-
Swagger-UI into your :mod:`aiohttp.web` project.
1277-
12781271
CORS support
12791272
------------
12801273

12811274
:mod:`aiohttp.web` itself does not support `Cross-Origin Resource
12821275
Sharing <https://en.wikipedia.org/wiki/Cross-origin_resource_sharing>`_, but
12831276
there is an aiohttp plugin for it:
1284-
`aiohttp_cors <https://github.com/aio-libs/aiohttp_cors>`_.
1277+
`aiohttp-cors <https://github.com/aio-libs/aiohttp-cors>`_.
12851278

12861279

12871280
Debug Toolbar
@@ -1324,10 +1317,8 @@ Install with ``pip``:
13241317
13251318
$ pip install aiohttp-devtools
13261319
1327-
* ``runserver`` provides a development server with auto-reload,
1328-
live-reload, static file serving.
1329-
* ``start`` is a `cookiecutter command which does the donkey work
1330-
of creating new :mod:`aiohttp.web` Applications.
1320+
``adev runserver`` provides a development server with auto-reload,
1321+
live-reload, static file serving.
13311322

13321323
Documentation and a complete tutorial of creating and running an app
13331324
locally are available at `aiohttp-devtools`_.

0 commit comments

Comments
 (0)