diff yaml/yaml2xml.py @ 2424:dd3ac7eefeed

Updated docs for the upcoming NGINX Plus release.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 02 Sep 2019 14:12:20 +0300
parents ae16f480c867
children
line wrap: on
line diff
--- a/yaml/yaml2xml.py	Thu Aug 22 23:00:31 2019 +0300
+++ b/yaml/yaml2xml.py	Mon Sep 02 14:12:20 2019 +0300
@@ -44,7 +44,7 @@
 
 
 def pretty_endpoint(ep):
-    return ep.replace('/',' ').replace('_',' ')
+    return ep.replace('/slabs/','slabs').replace('/resolvers/','resolvers').replace('/http/','HTTP ').replace('/stream/','stream ').replace('s/','s').replace('_',' ')
 
 
 # human-readable html element id based on path