aboutsummaryrefslogtreecommitdiff
path: root/README.html
diff options
context:
space:
mode:
authormms <git@sapka.me>2024-11-12 23:15:34 +0100
committermms <git@sapka.me>2024-11-12 23:15:34 +0100
commit53112538e1f47ed446848c5787a87350a2cc6e31 (patch)
treee3257eb5177b855c32f45fab0f697b77980612c7 /README.html
parent22560fbfbe2214f260c71c0ae5c928f81a431b76 (diff)
doc: fix readme
Diffstat (limited to 'README.html')
-rw-r--r--README.html45
1 files changed, 23 insertions, 22 deletions
diff --git a/README.html b/README.html
index a4c1b26..f037bc6 100644
--- a/README.html
+++ b/README.html
@@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
-<!-- 2024-11-12 Tue 23:12 -->
+<!-- 2024-11-12 Tue 23:15 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Chotto</title>
@@ -201,11 +201,12 @@
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
-<li><a href="#org0d48161">1. Naming &amp; Afew</a></li>
-<li><a href="#org0154d9d">2. Prerequisites</a></li>
-<li><a href="#org8d840c5">3. Configuration</a></li>
-<li><a href="#org4259fc2">4. Config</a></li>
-<li><a href="#orgb9835ee">5. Rule sets</a></li>
+<li><a href="#orgdea3aac">1. Naming &amp; Afew</a></li>
+<li><a href="#org94b9395">2. Prerequisites</a></li>
+<li><a href="#org0e2ddf0">3. Configuration</a></li>
+<li><a href="#org46389b5">4. Config</a></li>
+<li><a href="#orgf4ff526">5. Rule sets</a></li>
+<li><a href="#org8263f11">6. Filter language</a></li>
</ul>
</div>
</div>
@@ -221,8 +222,8 @@ Chotto is an initial tagging script for Notmuch
Chotto is written in Ruby and had a (quite) nice DSL for configuration.
</p>
-<div id="outline-container-org0d48161" class="outline-2">
-<h2 id="org0d48161"><span class="section-number-2">1.</span> Naming &amp; Afew</h2>
+<div id="outline-container-orgdea3aac" class="outline-2">
+<h2 id="orgdea3aac"><span class="section-number-2">1.</span> Naming &amp; Afew</h2>
<div class="outline-text-2" id="text-1">
<p>
Notmuch ecosystem already has a great script for initial tagging - afew.
@@ -237,8 +238,8 @@ And because I love Ruby!
</div>
</div>
-<div id="outline-container-org0154d9d" class="outline-2">
-<h2 id="org0154d9d"><span class="section-number-2">2.</span> Prerequisites</h2>
+<div id="outline-container-org94b9395" class="outline-2">
+<h2 id="org94b9395"><span class="section-number-2">2.</span> Prerequisites</h2>
<div class="outline-text-2" id="text-2">
<p>
Chotto expects:
@@ -272,8 +273,8 @@ If you use <b>Windows</b>, you have my sympathy.
</div>
</div>
-<div id="outline-container-org8d840c5" class="outline-2">
-<h2 id="org8d840c5"><span class="section-number-2">3.</span> Configuration</h2>
+<div id="outline-container-org0e2ddf0" class="outline-2">
+<h2 id="org0e2ddf0"><span class="section-number-2">3.</span> Configuration</h2>
<div class="outline-text-2" id="text-3">
<p>
Chotto expects the configuration file to be present in
@@ -289,8 +290,8 @@ The user needs to add (at least) two blocks to the file: config &amp; rule sets
</div>
</div>
-<div id="outline-container-org4259fc2" class="outline-2">
-<h2 id="org4259fc2"><span class="section-number-2">4.</span> Config</h2>
+<div id="outline-container-org46389b5" class="outline-2">
+<h2 id="org46389b5"><span class="section-number-2">4.</span> Config</h2>
<div class="outline-text-2" id="text-4">
<p>
Presently, the only option Config expects is the absolute path to the Notmuch database:
@@ -308,8 +309,8 @@ Please, adjust the path to the valid location
</div>
</div>
-<div id="outline-container-orgb9835ee" class="outline-2">
-<h2 id="orgb9835ee"><span class="section-number-2">5.</span> Rule sets</h2>
+<div id="outline-container-orgf4ff526" class="outline-2">
+<h2 id="orgf4ff526"><span class="section-number-2">5.</span> Rule sets</h2>
<div class="outline-text-2" id="text-5">
<p>
The actual magic happens in <code>Rule Sets</code> which are sets of filters &amp; tag modifications.
@@ -352,12 +353,12 @@ msg.tags returns a mutable array, and we can mutate is as such.
<p>
Lastly, we save! the message in the database.
</p>
+</div>
+</div>
-<p>
-Filter language
-</p>
-<hr />
-
+<div id="outline-container-org8263f11" class="outline-2">
+<h2 id="org8263f11"><span class="section-number-2">6.</span> Filter language</h2>
+<div class="outline-text-2" id="text-6">
<p>
We can quite easily filter messages based. Chotto accepts filters as:
</p>
@@ -412,7 +413,7 @@ You can test what is produced by calling <code>#to_query_string</code> on messag
</div>
<div id="postamble" class="status">
<p class="author">Author: User Mms</p>
-<p class="date">Created: 2024-11-12 Tue 23:12</p>
+<p class="date">Created: 2024-11-12 Tue 23:15</p>
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>