mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
004ba5b3ea
commit
f475a94581
@ -44,7 +44,7 @@ def subcommand_fix_wiki_urls(arguments):
|
|||||||
with open(file_name, 'r') as xml_file:
|
with open(file_name, 'r') as xml_file:
|
||||||
lines = xml_file.readlines()
|
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))
|
lines = list(map(lambda s: s.replace(pattern, 'FreedomBox'), lines))
|
||||||
|
|
||||||
with open(file_name, 'w') as xml_file:
|
with open(file_name, 'w') as xml_file:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user