]> granicus.if.org Git - pdns/commitdiff
Don't title the docs 'None', closes #2717
authorPieter Lexis <pieter.lexis@powerdns.com>
Mon, 31 Aug 2015 07:13:19 +0000 (09:13 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 31 Aug 2015 07:13:19 +0000 (09:13 +0200)
For some reason, mkdocs insists that the title of the homepage is
'None', even though we set it in the config.

docs/process-md.sh

index 5aadb7468ab4c104d2724499dc5d590d7791aa2d..d0d1743884b52970a0f67cd08a6fcb020dd43405 100755 (executable)
@@ -25,6 +25,7 @@ post() {
   # Add class="table-bordered" to tables
   find html -type f -name '*.html' -exec perl -i -p \
     -e 's/\<table>/<table class="table-bordered">/;' \
+    -e 's/\<title>None\<\/title>/<title>PowerDNS<\/title>/' \
     {} +
 }