doc: Minor cosmetic changes

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2019-10-30 19:24:59 -04:00
1 parent 004ba5b3ea
commit f475a94581
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -41,9 +41,9 @@
<!-- Output just the filename from a URL -->
<xsl:template match="@fileref[parent::imagedata]">
<xsl:attribute name="fileref">
<xsl:call-template name="filename">
<xsl:with-param name="path" select="."/>
</xsl:call-template>
<xsl:call-template name="filename">
<xsl:with-param name="path" select="."/>
</xsl:call-template>
</xsl:attribute>
</xsl:template>
+1 -1
View File
@@ -44,7 +44,7 @@ def subcommand_fix_wiki_urls(arguments):
with open(file_name, 'r') as xml_file:
lines = xml_file.readlines()
pattern = 'FreedomBox/Manual/{0}/FreedomBox'.format(page_name)
pattern = f'FreedomBox/Manual/{page_name}/FreedomBox'
lines = list(map(lambda s: s.replace(pattern, 'FreedomBox'), lines))
with open(file_name, 'w') as xml_file: