couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [4/5] documentation commit: updated refs/heads/master to 59edec5
Date Sat, 30 Jul 2016 00:33:43 GMT
Format compaction examples as code-blocks for auto line breaks


Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/44b6b870
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/44b6b870
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/44b6b870

Branch: refs/heads/master
Commit: 44b6b8703819d6f89c7ff755c7889177cd72d719
Parents: f6650a5
Author: katsel <katsel@users.noreply.github.com>
Authored: Wed Jul 27 11:12:41 2016 +0200
Committer: katsel <katsel@users.noreply.github.com>
Committed: Fri Jul 29 14:23:26 2016 +0200

----------------------------------------------------------------------
 src/config/compaction.rst | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/44b6b870/src/config/compaction.rst
----------------------------------------------------------------------
diff --git a/src/config/compaction.rst b/src/config/compaction.rst
index 5822cd0..859f044 100644
--- a/src/config/compaction.rst
+++ b/src/config/compaction.rst
@@ -111,26 +111,38 @@ Compaction Daemon Rules
 
     Examples:
 
-    #. ``[{db_fragmentation, "70%"}, {view_fragmentation, "60%"}]``
+    #.
+        ::
+
+            [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}]
 
        The `foo` database is compacted if its fragmentation is 70% or more. Any
        view index of this database is compacted only if its fragmentation is
        60% or more.
 
-    #. ``[{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to, "04:00"}]``
+    #.
+        ::
+
+            [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to,
"04:00"}]
 
        Similar to the preceding example but a compaction (database or view
        index) is only triggered if the current time is between midnight and 4
        AM.
 
-    #. ``[{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to, "04:00"},
{strict_window, true}]``
+    #.
+        ::
+
+            [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to,
"04:00"}, {strict_window, true}]
 
        Similar to the preceding example - a compaction (database or view index)
        is only triggered if the current time is between midnight and 4 AM. If
        at 4 AM the database or one of its views is still compacting, the
        compaction process will be canceled.
 
-    #. ``[{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to, "04:00"},
{strict_window, true}, {parallel_view_compaction, true}]``
+    #.
+        ::
+
+            [{db_fragmentation, "70%"}, {view_fragmentation, "60%"}, {from, "00:00"}, {to,
"04:00"}, {strict_window, true}, {parallel_view_compaction, true}]
 
        Similar to the preceding example, but a database and its views can be
        compacted in parallel.


Mime
View raw message