From 3fb2339511c343522bfa5b15ee7964310398c8c5 Mon Sep 17 00:00:00 2001 From: David Rosa Date: Wed, 9 Oct 2019 21:33:59 -0700 Subject: [PATCH] docs: Fix formatting of warnings. Fixes warning formatting in testing.md and setup-advanced.md with reStructured Text so that the warnings stand out. --- docs/development/setup-advanced.md | 9 ++++++--- docs/testing/testing.md | 9 +++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/development/setup-advanced.md b/docs/development/setup-advanced.md index 8ffdb9ed04..beaae3da50 100644 --- a/docs/development/setup-advanced.md +++ b/docs/development/setup-advanced.md @@ -24,9 +24,12 @@ If you are using a [remote server](../development/remote.md), see the [section on creating appropriate user accounts](../development/remote.html#setting-up-user-accounts). -**Warning**: there is no supported uninstallation process with this -method. If you want that, use the Vagrant environment, where you can -just do `vagrant destroy` to clean up the development environment. +```eval_rst +.. warning:: + there is no supported uninstallation process with this + method. If you want that, use the Vagrant environment, where you can + just do `vagrant destroy` to clean up the development environment. +``` Start by [cloning your fork of the Zulip repository][zulip-rtd-git-cloning] and [connecting the Zulip upstream repository][zulip-rtd-git-connect]: diff --git a/docs/testing/testing.md b/docs/testing/testing.md index f30accc234..ac5bfd4a43 100644 --- a/docs/testing/testing.md +++ b/docs/testing/testing.md @@ -207,10 +207,11 @@ and then run `tools/do-destroy-rebuild-test-database` ### Recreating the postgres cluster -> **warning** -> -> **This is irreversible, so do it with care, and never do this anywhere -> in production.** +```eval_rst +.. warning:: + This is irreversible! Do it with care and never do this anywhere + in production. +``` If your postgres cluster (collection of databases) gets totally trashed permissions-wise, and you can't otherwise repair it, you can recreate