mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
api-docs: Move markdown files to top level directory.
- Updates `.prettierignore` for the new directory.
- Updates any reference to the API documentation directory for
markdown files to be `api_docs/` instead of `zerver/api/`.
- Removes a reference link from `docs/documentation/api.md` that
hasn't referenced anything in the text since commit 0542c60.
- Update rendering of API documentation for new directory.
This commit is contained in:
committed by
Tim Abbott
parent
fc54ffd778
commit
dbacc00f0f
@@ -151,7 +151,7 @@ def render_markdown_path(
|
||||
md_macro_extension = zerver.lib.markdown.include.makeExtension(base_path="help/include/")
|
||||
else:
|
||||
md_macro_extension = zerver.lib.markdown.include.makeExtension(
|
||||
base_path="templates/zerver/api/include/"
|
||||
base_path="api_docs/include/"
|
||||
)
|
||||
if not any(doc in markdown_file_path for doc in docs_without_macros):
|
||||
extensions = [md_macro_extension, *extensions]
|
||||
|
||||
Reference in New Issue
Block a user