zulip/zerver
Lauryn Menard fe03d2a533 api-docs: Clarify only API doc paths check for endpoint info.
Previously, we got the directory path for all documentation pages
before checking for API method and path information in the OpenAPI
documentation. Instead, we now check the `path_template` is the
API documentation view template before getting the directory path.

Also, changes the confusingly named `article_path` variable, which
overlapped with the DocumentationArticle dataclass `article_path`
field, to now be `api_documentation_path`.

Prep commit for moving the help center documentation to a top level
directory.
2023-01-10 15:32:47 -08:00
..
actions message send: Ignore alert words for presence idle users. 2023-01-06 17:08:20 -08:00
data_import uploads: Split out S3 and local file backends into separate files. 2023-01-09 18:23:58 -05:00
integration_fixtures/nagios
lib messages: Eliminate redundant realm fetch in has_message_access. 2023-01-10 15:27:55 -08:00
management ruff: Fix ISC001 Implicitly concatenated string literals on one line. 2023-01-04 16:25:07 -08:00
migrations uploads: Add LOCAL_AVATARS_DIR / LOCAL_FILES_DIR computed settings. 2023-01-09 18:23:58 -05:00
openapi docs: Link to management commands documentation in user facing docs. 2023-01-10 08:50:00 -08:00
tests messages: Eliminate redundant realm fetch in has_message_access. 2023-01-10 15:27:55 -08:00
tornado tornado: Move internal tornado redirect to under /internal/. 2023-01-09 18:23:58 -05:00
views api-docs: Clarify only API doc paths check for endpoint info. 2023-01-10 15:32:47 -08:00
webhooks intercom: Return success on HEAD requests. 2023-01-06 13:32:47 -08:00
worker ruff: Fix PIE790 Unnecessary `pass` statement. 2023-01-04 16:25:07 -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 ISC003 Explicitly concatenated string. 2023-01-04 16:25:07 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py Upgrade Python requirements. 2023-01-04 11:08:56 -08:00
models.py settings: Rename helper function to check who can edit topics. 2022-12-13 23:11:50 -08:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00