diff --git a/doc/Makefile b/doc/Makefile index f4f74d488..343cf7f55 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -30,7 +30,7 @@ SCRIPTS_DIR=scripts # XMLTO_DEBUG_FLAGS= ifneq ($(DEBUG),) - XMLTO_DEBUG_FLAGS=--noclean -p '--debug' + XMLTO_DEBUG_FLAGS=--noclean -p '--debug' endif all: $(OUTPUTS) diff --git a/doc/scripts/fetch-images.xslt b/doc/scripts/fetch-images.xslt index 86a6b88d8..451c830b8 100644 --- a/doc/scripts/fetch-images.xslt +++ b/doc/scripts/fetch-images.xslt @@ -41,9 +41,9 @@ - - - + + + diff --git a/doc/scripts/post-processor b/doc/scripts/post-processor index fba619fc2..942253ba6 100755 --- a/doc/scripts/post-processor +++ b/doc/scripts/post-processor @@ -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: