mirror of https://github.com/zulip/zulip.git
274f73d117
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. |
||
---|---|---|
.. | ||
curl_param_value_generators.py | ||
javascript_examples.js | ||
javascript_examples.py | ||
markdown_extension.py | ||
openapi.py | ||
python_examples.py | ||
test_curl_examples.py | ||
testing.yaml | ||
zulip.yaml |