summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-11-09 18:52:11 +0100
committerJan Dittberner <jandd@cacert.org>2018-11-09 18:52:11 +0100
commitdf77ed3191ad1f36f61fcb37ecb3c9c3a00dbb74 (patch)
tree87dc0a5182d940d4479bc99ae1d28b1d94ac347e
parent2b6e2746c514e786ac4dcfe201f7d2a5464dba89 (diff)
downloadcacert-codedocs-df77ed3191ad1f36f61fcb37ecb3c9c3a00dbb74.tar.gz
cacert-codedocs-df77ed3191ad1f36f61fcb37ecb3c9c3a00dbb74.tar.xz
cacert-codedocs-df77ed3191ad1f36f61fcb37ecb3c9c3a00dbb74.zip
Support whitespace in filenames
-rw-r--r--source/DIR-scripts.rst40
-rw-r--r--source/DIR-www.rst2
-rw-r--r--source/sphinxext/cacert.py1
3 files changed, 22 insertions, 21 deletions
diff --git a/source/DIR-scripts.rst b/source/DIR-scripts.rst
index bd1620a..81530f7 100644
--- a/source/DIR-scripts.rst
+++ b/source/DIR-scripts.rst
@@ -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
diff --git a/source/DIR-www.rst b/source/DIR-www.rst
index 98ccc24..872ce43 100644
--- a/source/DIR-www.rst
+++ b/source/DIR-www.rst
@@ -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
diff --git a/source/sphinxext/cacert.py b/source/sphinxext/cacert.py
index 30ac220..22153fa 100644
--- a/source/sphinxext/cacert.py
+++ b/source/sphinxext/cacert.py
@@ -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,