From 984b698764939184fb15aa555397ff36ce76b2a5 Mon Sep 17 00:00:00 2001
From: Florian Spreckelsen <f.spreckelsen@indiscale.com>
Date: Mon, 21 Oct 2024 16:08:18 +0200
Subject: [PATCH] DOC: Fix comments in cfood

---
 src/doc/tutorials/single_file.rst | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/doc/tutorials/single_file.rst b/src/doc/tutorials/single_file.rst
index 86dcc793..21b4dcd4 100644
--- a/src/doc/tutorials/single_file.rst
+++ b/src/doc/tutorials/single_file.rst
@@ -52,23 +52,25 @@ And we will use the following crawler configuration.
     crawler-version: 0.9.1
   ---
 
-  fish_data_file:
+  fish_data_file:  # Root file
     type: CSVTableConverter
-    match: "^fish_data_.*.csv$"  # CSV file with a name that starts with "fish_data_"
+    match: "^fish_data_.*.csv$"  # Match CSV file with a name that starts with "fish_data_"
     sep: ";"
     subtree:
-      table_row:  # Eine Zeile in der Datei
+      table_row:  # One row in the CSV file
 	type: DictElement
-	match_name: .* # we want to treat every row
+	match_name: .* # we want to treat every row, so match anything
 	match_value: .*
 	records:
 	  Fish:  # Record for the current row; information from statements below
 		 # are added to this Record
 	subtree:
-	  date:  # Spalte mit Art der Maßnahme
+	  date:  # Element for the date column
 	    type: TextElement
 	    match_name: date  # Name of the column in the table file
-	    match_value: (?P<column_value>.*)
+	    match_value: (?P<column_value>.*)  # We match any value of the row in this
+	                                       # column and assign it to the ``column_value``
+					       # variable
 	    records:  # Records edited for each cell
 	      Fish:
 		date: $column_value
-- 
GitLab