zulip/templates/zerver/api
Suyash Vardhan Mathur 274f73d117 apidocs: Automatically add javascript example tabs.
The javascript tab in .md templates can be
generated along with the line that adds js
example.

Further, as a part of the effort of moving
towards a single template, the markdown extension
for javascrit examples is modified to return empty
string if javascript example doesn't exist for that
endpoint. This would make it possible to cover more
endpoints with a single template.

The js example tabs are now automatically generated
during generation of javascript code, and so need to
be removed. Also, the markdown function to render js
examples can be added in all templates, since it is
parses and returns an empty string if the examples
don't exist, and allows us to move towards a common
template.

The pages have been verified to be correct
by using diff between old and new pages' raw HTML.
2021-06-11 07:43:22 -07:00
..
add-code-playground.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
add-linkifier.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
add-reaction.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
api-keys.md api docs: Update api-keys. 2018-09-25 21:02:58 -07:00
archive-stream.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
changelog.md api: Expose event_queue_longpoll_timeout_seconds in /register. 2021-06-05 07:37:19 -07:00
check-messages-match-narrow.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
client-libraries.md docs: Add top level page for language bindings. 2019-11-22 04:33:18 -08:00
configuring-python-bindings.md docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
construct-narrow.md docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
create-custom-profile-field.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
create-stream.md api docs: Correct errors in the stream creation documentation. 2020-06-25 14:34:10 -07:00
create-user-group.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
create-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
deactivate-own-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
deactivate-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
delete-message.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
delete-queue.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
deploying-bots.md docs: Add syntax highlighting in api docs. 2021-06-01 10:03:25 -07:00
dev-fetch-api-key.md openapi: Auto-render heading with return values. 2021-06-10 11:25:13 -07:00
fetch-api-key.md openapi: Auto-render heading with return values. 2021-06-10 11:25:13 -07:00
get-attachments.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-custom-emoji.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-custom-profile-fields.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-events.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-linkifiers.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-message-history.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-messages.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-own-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-raw-message.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-server-settings.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-stream-id.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-stream-topics.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-streams.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-subscription-status.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-subscriptions.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-user-by-email.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-user-groups.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-user-presence.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
get-users.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
incoming-webhooks-overview.md docs: Update how to build an incoming webhook docs. 2021-05-08 07:46:26 -07:00
incoming-webhooks-walkthrough.md docs: Add syntax highlighting in api docs. 2021-06-01 10:03:25 -07:00
index.md openapi: Make api-docs filename match with operationIds. 2020-06-18 22:38:05 -07:00
installation-instructions.md api docs: Fix link to client libraries. 2019-11-22 11:08:44 -08:00
integrations-overview.md docs: Deemphasize Hubot as an integration bridge. 2021-06-09 14:04:01 -07:00
mark-all-as-read.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
missing.md
mute-topic.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
mute-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
non-webhook-integrations.md docs: Extract a Writing Documentation top-level section. 2019-05-29 15:52:11 -07:00
outgoing-webhooks.md docs: Add syntax highlighting in api docs. 2021-06-01 10:03:25 -07:00
reactivate-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
real-time-events.md docs: Allow passing additional params to `call_on_each_event`. 2021-04-06 08:40:32 -07:00
register-queue.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
remove-code-playground.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
remove-linkifier.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
remove-reaction.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
remove-user-group.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
render-message.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
reorder-custom-profile-fields.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
rest-error-handling.md docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
rest.md docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
running-bots.md api: Document using `pip3 install` for zulip_bots(erver). 2019-08-23 15:51:06 -07:00
send-message.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
set-typing-status.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
sidebar_index.md api docs: Avoid confusing the API changelog with the changelog. 2021-05-11 22:00:05 -07:00
subscribe.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
unmute-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
unsubscribe.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-display-settings.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-linkifier.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-message-flags.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-message.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-notification-settings.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-stream.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-subscription-settings.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-user-group-members.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-user-group.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
update-user.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
upload-custom-emoji.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
upload-file.md apidocs: Automatically add javascript example tabs. 2021-06-11 07:43:22 -07:00
writing-bots.md docs: Add syntax highlighting in api docs. 2021-06-01 10:03:25 -07:00