From 9e5350c2f41683129574a22b6d4c343915b03ccb Mon Sep 17 00:00:00 2001 From: rallytime Date: Fri, 5 Dec 2014 20:47:41 -0700 Subject: [PATCH] Fix markup so master_tops document will render correctly Fixes #18723 --- doc/topics/master_tops/index.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/topics/master_tops/index.rst b/doc/topics/master_tops/index.rst index 26b626fa57..821b1af048 100644 --- a/doc/topics/master_tops/index.rst +++ b/doc/topics/master_tops/index.rst @@ -29,13 +29,13 @@ for :doc:`Cobbler <../../ref/tops/all/salt.tops.cobbler>` or: for :doc:`Reclass <../../ref/tops/all/salt.tops.reclass_adapter>`. -It's also possible to create custom master_tops modules. These modules must go +It's also possible to create custom master_tops modules. These modules must go in a subdirectory called `tops` in the `extension_modules` directory. The `extension_modules` directory is not defined by default (the default `/srv/salt/_modules` will NOT work as of this release) Custom tops modules are written like any other execution module, see the source -for the two modules above for examples of fully functional ones. Below is +for the two modules above for examples of fully functional ones. Below is a degenerate example: /etc/salt/master: @@ -48,7 +48,7 @@ a degenerate example: /srv/salt/modules/tops/customtop.py: -.. code-block: python +.. code-block:: python import logging import sys @@ -67,7 +67,7 @@ a degenerate example: `salt minion state.show_top` should then display something like: -.. code-block: bash +.. code-block:: bash $ salt minion state.show_top @@ -75,5 +75,3 @@ a degenerate example: ---------- base: - test - -