From f475a9458149bcb7712e08f073cfd34f2b048a1d Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Tue, 22 Oct 2019 14:32:21 -0700 Subject: [PATCH] doc: Minor cosmetic changes Signed-off-by: Joseph Nuthalapati Reviewed-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- doc/Makefile | 2 +- doc/scripts/fetch-images.xslt | 6 +++--- doc/scripts/post-processor | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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: