zulip/zerver
Lauryn Menard fc54ffd778 documentation: Move check for `api-doc-template.md`.
Moves the check for calling the `api-doc-template.md` directly,
so that we don't return a 500 error from the server, to happen
earlier with other checks for returning a 404 / missing page.

Also adds a specific test to `zerver/tests/test_urls` for this
template.

Prep commit for moving API documentation directory to be a top
level directory.
2023-02-02 17:23:31 -08:00
..
actions black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
data_import black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
integration_fixtures/nagios
lib emails: Improve followup_day1 (registration confirmation) email. 2023-02-02 17:16:43 -08:00
management black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
migrations black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
openapi black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
tests documentation: Move check for `api-doc-template.md`. 2023-02-02 17:23:31 -08:00
tornado black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
views documentation: Move check for `api-doc-template.md`. 2023-02-02 17:23:31 -08:00
webhooks black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
worker ruff: Fix S108 Probable insecure usage of temporary file. 2023-01-26 10:14:56 -08:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py apps: Fix redirect from /apps -> https://zulip.com/apps/. 2022-12-30 17:47:16 -08:00
decorator.py decorator: Do not send HEAD response with non-empty body. 2023-01-06 13:32:47 -08:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py ruff: Fix SIM105 Use `contextlib.suppress` instead of try-except-pass. 2023-01-23 11:18:36 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
models.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00