Skip to content

Commit baaaa1b

Browse files
[PR #11347/eac0ef92 backport][3.12] Update web_advanced docs (#11348)
**This is a backport of PR #11347 as merged into master (eac0ef9).** Co-authored-by: Cycloctane <[email protected]>
1 parent 79a01dc commit baaaa1b

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
@@ -1264,20 +1264,13 @@ the middleware might use :meth:`BaseRequest.clone`.
12641264
for modifying *scheme*, *host* and *remote* attributes according
12651265
to ``Forwarded`` and ``X-Forwarded-*`` HTTP headers.
12661266

1267-
Swagger support
1268-
---------------
1269-
1270-
`aiohttp-swagger <https://github.com/cr0hn/aiohttp-swagger>`_ is a
1271-
library that allow to add Swagger documentation and embed the
1272-
Swagger-UI into your :mod:`aiohttp.web` project.
1273-
12741267
CORS support
12751268
------------
12761269

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

12821275

12831276
Debug Toolbar
@@ -1320,10 +1313,8 @@ Install with ``pip``:
13201313
13211314
$ pip install aiohttp-devtools
13221315
1323-
* ``runserver`` provides a development server with auto-reload,
1324-
live-reload, static file serving.
1325-
* ``start`` is a `cookiecutter command which does the donkey work
1326-
of creating new :mod:`aiohttp.web` Applications.
1316+
``adev runserver`` provides a development server with auto-reload,
1317+
live-reload, static file serving.
13271318

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

0 commit comments

Comments
 (0)