Support whitespace in filenames
authorJan Dittberner <jandd@cacert.org>
Fri, 9 Nov 2018 17:52:11 +0000 (18:52 +0100)
committerJan Dittberner <jandd@cacert.org>
Fri, 9 Nov 2018 17:52:11 +0000 (18:52 +0100)
source/DIR-scripts.rst
source/DIR-www.rst
source/sphinxext/cacert.py

index bd1620a..81530f7 100644 (file)
@@ -172,42 +172,42 @@ Directory :file:`scripts/db_migrations`
 Directory :file:`scripts/mailing archive`
 =========================================
 
-.. sourcefile:: scripts/mailing_archive/45au-ate-melbourne-email.txt
+.. sourcefile:: scripts/mailing archive/45au-ate-melbourne-email.txt
 
-.. sourcefile:: scripts/mailing_archive/45au-ate-melbourne-mail.php.txt
+.. sourcefile:: scripts/mailing archive/45au-ate-melbourne-mail.php.txt
 
-.. sourcefile:: scripts/mailing_archive/46us-ate-raleigh-email.txt
+.. sourcefile:: scripts/mailing archive/46us-ate-raleigh-email.txt
 
-.. sourcefile:: scripts/mailing_archive/46us-ate-raleigh-mail.php.txt
+.. sourcefile:: scripts/mailing archive/46us-ate-raleigh-mail.php.txt
 
-.. sourcefile:: scripts/mailing_archive/47us-fudcon-lawrence-email.txt
+.. sourcefile:: scripts/mailing archive/47us-fudcon-lawrence-email.txt
 
-.. sourcefile:: scripts/mailing_archive/47us-fudcon-lawrence-mail.php.txt
+.. sourcefile:: scripts/mailing archive/47us-fudcon-lawrence-mail.php.txt
 
-.. sourcefile:: scripts/mailing_archive/48de-ate-kiel-email.txt
+.. sourcefile:: scripts/mailing archive/48de-ate-kiel-email.txt
 
-.. sourcefile:: scripts/mailing_archive/48de-ate-kiel-mail.php.txt
+.. sourcefile:: scripts/mailing archive/48de-ate-kiel-mail.php.txt
 
-.. sourcefile:: scripts/mailing_archive/oa01-allowance.php.txt
+.. sourcefile:: scripts/mailing archive/oa01-allowance.php.txt
 
-.. sourcefile:: scripts/mailing_archive/oa01-allowance.txt
+.. sourcefile:: scripts/mailing archive/oa01-allowance.txt
 
-.. sourcefile:: scripts/mailing_archive/oa02-mailingtextCats.txt
+.. sourcefile:: scripts/mailing archive/oa02-mailingtextCats.txt
 
-.. sourcefile:: scripts/mailing_archive/oa02-mailingtextPointsCats.txt
+.. sourcefile:: scripts/mailing archive/oa02-mailingtextPointsCats.txt
 
-.. sourcefile:: scripts/mailing_archive/oa02-mailingtextPoints.txt
+.. sourcefile:: scripts/mailing archive/oa02-mailingtextPoints.txt
 
-.. sourcefile:: scripts/mailing_archive/oa02-orgainformation.php.txt
+.. sourcefile:: scripts/mailing archive/oa02-orgainformation.php.txt
 
-.. sourcefile:: scripts/mailing_archive/thawte_DE.txt
+.. sourcefile:: scripts/mailing archive/thawte_DE.txt
 
-.. sourcefile:: scripts/mailing_archive/thawte_EN.txt
+.. sourcefile:: scripts/mailing archive/thawte_EN.txt
 
-.. sourcefile:: scripts/mailing_archive/thawte_ES.txt
+.. sourcefile:: scripts/mailing archive/thawte_ES.txt
 
-.. sourcefile:: scripts/mailing_archive/thawte_FR.txt
+.. sourcefile:: scripts/mailing archive/thawte_FR.txt
 
-.. sourcefile:: scripts/mailing_archive/thawte_NL.txt
+.. sourcefile:: scripts/mailing archive/thawte_NL.txt
 
-.. sourcefile:: scripts/mailing_archive/thawte_RU.txt
+.. sourcefile:: scripts/mailing archive/thawte_RU.txt
index 98ccc24..872ce43 100644 (file)
@@ -129,7 +129,7 @@ Directory :file:`www/docs`
 
 .. sourcefile:: www/docs/CAcert_Rules.sxw
 
-.. sourcefile:: www/docs/encryption_in_the_real_world.sxi
+.. sourcefile:: www/docs/encryption in the real world.sxi
 
 .. sourcefile:: www/docs/flyer.sxw
 
index 30ac220..22153fa 100644 (file)
@@ -66,6 +66,7 @@ class SourceFile(Directive):
     has_content = True
     required_arguments = 1
     optional_arguments = 0
+    final_argument_whitespace = True
     option_spec = {
         'uses': file_list,
         'links': file_list,