zulip/docs
Umair Khan 74d83cc47e lint: Disallow handlebars within {{#tr}}{{/tr}}.
This commit adds a new linter which runs from tools/travis/backend.
It runs over the translations.json file and checks if any of the
translatable string contains handlebars in it.

Fixes #5544
2017-06-30 10:12:31 -04:00
..
_static css: Enforce one selector per line. 2017-03-26 16:57:33 -07:00
images docs: Move GCI docs into main repo. 2017-06-22 09:30:28 -04:00
.gitignore Initial sphinx setup from sphinx-quickstart 2015-08-18 17:31:32 -07:00
Makefile docs: Print output URL in Makefile. 2017-06-14 20:16:08 -07:00
README.md tools: Add wrapper tool 'build-docs' for building documentation. 2017-06-14 20:16:02 -07:00
THIRDPARTY deps: Upgrade and move `perfect-scrollbar` from `static/third` to `npm`. 2017-06-11 10:15:48 -07:00
accessibility.md docs: Add link to font awesome accessibility docs. 2017-06-08 14:05:18 -07:00
analytics.md analytics: Refactor legacy 'zulip_internal' decorator. 2017-04-22 11:42:02 -07:00
api-release-checklist.md docs: Fix recently changed URLs to Python packaging guide. 2017-06-12 22:39:15 -07:00
architecture-overview.md docs: Add a brief architecture overview section on frontend. 2017-06-15 11:55:39 -07:00
bots-guide.md docs: Add flask server documentation. 2017-06-22 09:48:09 -04:00
brief-install-vagrant-dev.md Update 'OS X' reference to macOS. 2017-06-05 22:11:34 -07:00
changelog.md changelog: Suggest creating indexes for starred/mentioned. 2017-06-13 13:58:58 -07:00
chat-zulip-org.md docs: Document new user discussion streams. 2017-06-06 17:38:50 -07:00
chinese.md Fix grammatical and spelling errors in Zulip/docs. 2017-01-16 20:16:12 -08:00
client.md docs: Document zerver.models.Client's usage for analytics and webhooks. 2017-05-01 23:50:51 -07:00
code-of-conduct.md repository: Add CODE_OF_CONDUCT.md. 2017-06-14 18:43:08 -07:00
code-reviewing.md docs: Write down some high-level thoughts on doing code reviews. 2017-06-27 08:23:55 -04:00
code-style.md Rename tools/lint-all to tools/lint. 2017-04-21 14:57:47 -07:00
conf.py docs: Update ReadTheDocs meta tags. 2017-06-20 20:59:16 -04:00
conversion.md docs: Rename misleading 'prod-install-docs' reference. 2017-05-28 22:21:13 -07:00
custom-apps.md bots: Move contrib_bots to api/bots*. 2017-06-01 12:31:54 -07:00
dev-env-first-time-contributors.md docs: Attempt to clarify a bit more the new GitHub step. 2017-06-15 11:33:33 -07:00
dev-overview.md Fix grammatical and spelling errors in Zulip/docs. 2017-01-16 20:16:12 -08:00
dev-remote.md docs: Fix a bunch of documentation build warnings. 2017-05-13 10:09:20 -07:00
dev-setup-non-vagrant.md docs: Fix emoji cache setup when not using provision.py. 2017-06-02 15:21:46 -07:00
directory-structure.md docs: Update directory-structure.md with new bots dirs. 2017-06-06 08:51:16 -07:00
email.md docs: Add documentation of our email system. 2017-06-11 08:27:12 -05:00
emoji.md docs: Add initial documentation on the emoji system. 2017-01-29 12:15:29 -08:00
events-system.md home: Remove now-unnecessary page_params_core_fields duplication. 2017-05-13 22:58:18 -07:00
fixing-commits.md docs: Fix lint/whitespace errors in GCI docs. 2017-06-22 09:30:28 -04:00
front-end-build-process.md Fix broken IIFE link. 2017-06-19 09:46:06 -04:00
full-text-search.md docs: Fix markup issue in pgroonga docs. 2017-02-08 10:17:23 -08:00
german.md docs: Fix link to formal/information in German guide. 2017-02-12 16:46:53 -08:00
git-cheat-sheet-detailed.md docs: Fix lint/whitespace errors in GCI docs. 2017-06-22 09:30:28 -04:00
git-cheat-sheet.md docs: Fix lint/whitespace errors in GCI docs. 2017-06-22 09:30:28 -04:00
git-guide.md docs: Fix linking & typos in WIP PR section in git-guide. 2017-06-22 09:28:52 -04:00
hashchange-system.md docs: hashchange-system: add more detail and fix some sentences. 2017-03-23 15:15:44 -07:00
html_css.md Rename "Administration" to "Organization" in the settings UI. 2017-04-07 17:32:56 -07:00
html_unescape.py Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
index.rst docs: Change GCI links to point to main repo. 2017-06-22 09:30:28 -04:00
install-docker-dev.md docs: Simplify hierarchy of dev setup docs. 2016-11-29 14:13:09 -08:00
install-generic-unix-dev.md docs: Simplify hierarchy of dev setup docs. 2016-11-29 14:13:09 -08:00
install-ubuntu-without-vagrant-dev.md docs: Simplify hierarchy of dev setup docs. 2016-11-29 14:13:09 -08:00
integration-guide.md integration-guide: Replace references to old style fixture names. 2017-05-13 20:22:40 -02:30
life-of-a-request.md docs: Fix broken links to old chinese language code. 2017-06-12 21:06:01 -07:00
linters.md docs: Add note about tools/linter_lib to lint docs. 2017-06-05 09:20:21 -07:00
logging.md Improve first-time contributor docs. 2016-05-31 07:47:45 -07:00
manual-testing.md compose: Rename 'New stream message' to 'New topic'. 2017-03-01 21:31:43 -08:00
markdown.md Split out markdown.js from echo.js. 2017-05-09 11:06:10 -07:00
migration-renumbering.md docs: Update docs to include `renumber-migrations` tool. 2017-04-17 20:53:35 -07:00
mypy.md repository: Update information with Codecov migration. 2017-06-20 07:17:39 -04:00
new-feature-tutorial.md docs: Update feature tutorial for server_events_dispatch.js. 2017-06-02 16:51:46 -07:00
pointer.md unread: Add tool for marking all messages as unread for testing. 2017-04-25 15:40:12 -07:00
polish.md docs: Wrap long lines in translation guides. 2017-01-05 14:08:42 -08:00
prod-authentication-methods.md docs: Update link to python-social-auth. 2017-05-13 23:00:50 -07:00
prod-customize.md Enable EmailAuthBackend by default to simplify a production install. 2017-06-12 21:53:35 -07:00
prod-email.md emails: Remove DEFAULT_FROM_EMAIL from prod_settings_template. 2017-06-29 17:54:33 -07:00
prod-install.md emails: Remove DEFAULT_FROM_EMAIL from prod_settings_template. 2017-06-29 17:54:33 -07:00
prod-maintain-secure-upgrade.md docs: Improve documentation on resource requirements. 2017-06-03 23:40:38 -07:00
prod-mobile-push-notifications.md docs: Fix ToS link in prod-mobile-push-notifications. 2017-06-11 08:27:12 -05:00
prod-postgres.md lint: Check for long lines in all markdown files in general. 2017-01-05 15:06:34 -08:00
prod-requirements.md docs: Improve documentation on resource requirements. 2017-06-03 23:40:38 -07:00
prod-troubleshooting.md Explain Django "Invalid HTTP_HOST header" log message. 2017-02-27 00:13:32 -08:00
queuing.md queues: Add new system for managing rabbitmq per-queue work. 2017-02-19 16:18:37 -08:00
reading-list.md Update reading-list.md 2017-06-01 09:35:18 -06:00
readme-symlink.md Rearrange docs table of contents for coherence. 2016-05-31 09:07:09 -07:00
realms.md Fix grammatical and spelling errors in Zulip/docs. 2017-01-16 20:16:12 -08:00
release-checklist.md docs: Add reminder to update ReadTheDocs config in release checklist. 2017-06-26 16:09:36 -07:00
requirements.readthedocs.txt Move doc building dependencies to requirements/docs.txt. 2016-06-20 16:05:42 -07:00
roadmap.md docs: Update which projects are marked complete in roadmap. 2017-05-09 14:34:53 -07:00
russian.md docs: Wrap long lines in Russian style guide. 2017-01-05 14:31:34 -08:00
schema-migrations.md docs: Update docs to include `renumber-migrations` tool. 2017-04-17 20:53:35 -07:00
screenshot-and-gif-software.md docs: Add tip to record GIFs with Chrome Capture. 2017-06-29 13:26:38 -07:00
security-model.md Rename "Administration" to "Organization" in the settings UI. 2017-04-07 17:32:56 -07:00
settings.md Rename "Administration" to "Organization" in the settings UI. 2017-04-07 17:32:56 -07:00
shell-tips.md docs: Fix lint/whitespace errors in GCI docs. 2017-06-22 09:30:28 -04:00
spanish.md docs: Improve Spanish style guide. 2017-01-28 19:08:14 -08:00
ssl-certificates.md docs: Move SSL docs to a dedicated page. 2016-08-25 09:37:33 -07:00
swagger-api-docs.md Explain how to add Swagger REST API doc coverage in zulip.yaml. 2017-06-07 22:46:20 -07:00
testing-with-casper.md Rename "Administration" to "Organization" in the settings UI. 2017-04-07 17:32:56 -07:00
testing-with-django.md testing: Run in parallel mode by default. 2017-05-04 16:06:34 -07:00
testing-with-node.md tools: Convert test-js-with-node to Python. 2017-04-05 12:02:49 -07:00
testing.md docs: Add a bunch of documentation on Travis CI. 2017-06-06 13:39:51 -07:00
translating.md lint: Disallow handlebars within {{#tr}}{{/tr}}. 2017-06-30 10:12:31 -04:00
travis.md docs: Document that we use `ts` automatically in Travis CI. 2017-06-14 17:26:41 -07:00
user-docs.md docs: Fix a bunch of documentation build warnings. 2017-05-13 10:09:20 -07:00
users.md Add draft document for user populations. 2016-11-08 15:28:04 -08:00
using-dev-environment.md Remove some some duplicate words in copy. 2017-01-23 23:15:04 -08:00
version-control.md docs/version-control: Revise "Commit Messages" section. 2017-06-07 22:08:55 -07:00
webhook-walkthrough.md webhook-walkthrough: Replace references to old style fixture names. 2017-05-13 20:13:35 -02:30
working-copies.md docs: Fix lint/whitespace errors in GCI docs. 2017-06-22 09:30:28 -04:00
writing-views.md docs: Document zerver.models.Client's usage for analytics and webhooks. 2017-05-01 23:50:51 -07:00
zulipbot-usage.md docs: Update zulipbot guide with new features. 2017-03-15 18:01:23 -07:00

README.md

Documentation

Zulip has three major documentation systems:

  • Developer and sysadmin documentation: Documentation for people actually interacting with the Zulip codebase (either by developing it or installing it), and written in Markdown.

  • Core website documentation: Complete webpages for complex topics, written in HTML, JavaScript, and CSS (using the Django templating system). These roughly correspond to the documentation someone might look at when deciding whether to use Zulip. We don't expect to ever have more than about 10 pages written using this system.

  • General user documentation: Our scalable system for documenting Zulip's huge collection of specific features without a lot of overhead or duplicated code/syntax, written in Markdown. We expect to eventually have around 100 pages written using this system. The target audience for this system is individual Zulip users.

These three systems are documented in detail.

Developer and sysadmin documentation

What you are reading right now is part of the collection of documentation targeted at developers and people running their own Zulip servers. These docs are written in Commonmark Markdown with a small bit of rST. We've chosen Markdown because it is easy to write. The source for Zulip's developer documentation is at docs/ in the Zulip git repository, and they are served in production at zulip.readthedocs.io.

If you want to build the developer documentation locally (e.g. to test your changes), the dependencies are automatically installed as part of Zulip development environment provisioning, and you can build the documentation using:

./tools/build-docs

and then opening http://127.0.0.1:9991/docs/index.html in your browser. The raw files are available at file:///path/to/zulip/docs/_build/html/index.html in your browser (so you can also use e.g. firefox docs/_build/html/index.html from the root of your Zulip checkout).

If you are adding a new page to the table of contents, you will want to modify docs/index.rst and run make clean before make html, so that other docs besides your new one also get the new entry in the table of contents.

You can also usually test your changes by pushing a branch to GitHub and looking at the content on the GitHub web UI, since GitHub renders Markdown, though that won't be as faithful as the make html approach.

When editing dependencies for the Zulip documentation, you should edit requirements/docs.txt (which is used by ReadTheDocs to build the Zulip developer documentation, without installing all of Zulip's dependencies).

Core website documentation

Zulip has around 10 HTML documentation pages under templates/zerver for specific major topics, like the features list, client apps, integrations, hotkeys, API bindings, etc. These documents often have somewhat complex HTML and JavaScript, without a great deal of common pattern between them other than inheriting from the portico.html template. We generally avoid adding new pages to this collection unless there's a good reason, but we don't intend to migrate them, either, since this system gives us the flexibility to express these important elements of the product clearly.

General user documentation

To learn more about Zulip's general user documentation, visit our guide on writing user documentation here.