mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
docs: Improve formatting of important notes.
Improves formatting using reST and Sphinx admonition directives so that important notes stand out when viewed in ReadTheDocs.
This commit is contained in:
@@ -51,12 +51,15 @@ note are:
|
||||
Finally, you can rely on our Travis CI setup to run linters for you, but
|
||||
it is good practice to run lint checks locally.
|
||||
|
||||
**Important:** We provide a
|
||||
[Git pre-commit hook](http://localhost:9991/docs/git/zulip-tools.html#set-up-git-repo-script)
|
||||
that can automatically run `tools/lint` on just the files that
|
||||
changed (in a few 100ms) whenever you make a commit. This can save
|
||||
you a lot of time, by automatically detecting linter errors as you
|
||||
make them.
|
||||
```eval_rst
|
||||
.. important::
|
||||
We provide a
|
||||
`Git pre-commit hook <../git/zulip-tools.html#set-up-git-repo-script>`_
|
||||
that can automatically run ``tools/lint`` on just the files that
|
||||
changed (in a few 100ms) whenever you make a commit. This can save
|
||||
you a lot of time, by automatically detecting linter errors as you
|
||||
make them.
|
||||
```
|
||||
|
||||
**Note:** The linters only check files that git tracks. Remember to `git add`
|
||||
new files before running lint checks.
|
||||
|
Reference in New Issue
Block a user