summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-02-08 01:22:52 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-02-08 01:22:52 +0100
commit6c749456224b383a95e717c95cdb6289eb9cb5e4 (patch)
tree13c827b8b5fcf70569942b77a45d6eaf70a28289 /doc
parentdoc: fix makefiles again (diff)
downloadfrr-6c749456224b383a95e717c95cdb6289eb9cb5e4.tar.xz
frr-6c749456224b383a95e717c95cdb6289eb9cb5e4.zip
doc: use python 2.6 format strings
Centos 6 only has python 2.6 which requires numerical identifiers for format strings Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/developer/conf.py4
-rw-r--r--doc/manpages/conf.py6
-rw-r--r--doc/user/conf.py4
3 files changed, 7 insertions, 7 deletions
diff --git a/doc/developer/conf.py b/doc/developer/conf.py
index e4c56f54c..1cb1d45af 100644
--- a/doc/developer/conf.py
+++ b/doc/developer/conf.py
@@ -98,8 +98,8 @@ with open('../../config.status', 'r') as cfgstatus:
# manually fill out some of these we can't get from config.status
replace_vars['COPYRIGHT_STR'] = "Copyright (c)"
-replace_vars['COPYRIGHT_STR'] += ' {}'.format(replace_vars['COPYRIGHT_YEAR'])
-replace_vars['COPYRIGHT_STR'] += ' {}'.format(replace_vars['AUTHORS'])
+replace_vars['COPYRIGHT_STR'] += ' {0}'.format(replace_vars['COPYRIGHT_YEAR'])
+replace_vars['COPYRIGHT_STR'] += ' {0}'.format(replace_vars['AUTHORS'])
release = replace_vars['PACKAGE_VERSION']
version = release.split('-')[0]
diff --git a/doc/manpages/conf.py b/doc/manpages/conf.py
index 403e86e55..6da6ebff0 100644
--- a/doc/manpages/conf.py
+++ b/doc/manpages/conf.py
@@ -100,8 +100,8 @@ with open('../../config.status', 'r') as cfgstatus:
# manually fill out some of these we can't get from config.status
replace_vars['COPYRIGHT_STR'] = "Copyright (c)"
-replace_vars['COPYRIGHT_STR'] += ' {}'.format(replace_vars['COPYRIGHT_YEAR'])
-replace_vars['COPYRIGHT_STR'] += ' {}'.format(replace_vars['AUTHORS'])
+replace_vars['COPYRIGHT_STR'] += ' {0}'.format(replace_vars['COPYRIGHT_YEAR'])
+replace_vars['COPYRIGHT_STR'] += ' {0}'.format(replace_vars['AUTHORS'])
release = replace_vars['PACKAGE_VERSION']
version = release.split('-')[0]
@@ -306,7 +306,7 @@ latex_documents = [
# If true, show URL addresses after external links.
#man_show_urls = False
-fwfrr = "{} routing engine for use with FRRouting."
+fwfrr = "{0} routing engine for use with FRRouting."
man_pages = [
('bgpd', 'bgpd', fwfrr.format("a BGPv4, BGPv4+, BGPv4- "), [], 8),
diff --git a/doc/user/conf.py b/doc/user/conf.py
index 6aa97de30..bd1bf6c04 100644
--- a/doc/user/conf.py
+++ b/doc/user/conf.py
@@ -98,8 +98,8 @@ with open('../../config.status', 'r') as cfgstatus:
# manually fill out some of these we can't get from config.status
replace_vars['COPYRIGHT_STR'] = "Copyright (c)"
-replace_vars['COPYRIGHT_STR'] += ' {}'.format(replace_vars['COPYRIGHT_YEAR'])
-replace_vars['COPYRIGHT_STR'] += ' {}'.format(replace_vars['AUTHORS'])
+replace_vars['COPYRIGHT_STR'] += ' {0}'.format(replace_vars['COPYRIGHT_YEAR'])
+replace_vars['COPYRIGHT_STR'] += ' {0}'.format(replace_vars['AUTHORS'])
release = replace_vars['PACKAGE_VERSION']
version = release.split('-')[0]