From 30254a5fdd63d9520965ab74ef02112d4c51a2e4 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sat, 7 Apr 2018 16:33:02 +0000 Subject: [PATCH] New xsl file which generates ready to copy/paste strings for prettify(.min).js All the directives are collected in some JS arrays, so that it is easier to upgrade the list in prettify.js when new directives are added. 'build.sh' will be updated accordingly. A new build target ('prettify') will be added to update this list. The resulting file is: docs/manual/list_for_prettify.txt This new file is heavily inspired from convmap.xsl. It should be possible to go further, but this is already a first step. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828598 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/style/xsl/list_for_prettify.xsl | 103 ++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 docs/manual/style/xsl/list_for_prettify.xsl diff --git a/docs/manual/style/xsl/list_for_prettify.xsl b/docs/manual/style/xsl/list_for_prettify.xsl new file mode 100644 index 00000000000..3e45a3cbeaa --- /dev/null +++ b/docs/manual/style/xsl/list_for_prettify.xsl @@ -0,0 +1,103 @@ + + + + + +]> + + + + + + + + + +# GENERATED FROM XML -- DO NOT EDIT&lf; +#&lf; +# Below is the up-to-date list of existing directives. The list is formatted&lf; +# in order to be ready to use for the JS used in prettify.js&lf; +&lf; +# The next line has to be copy/pasted into prettify.js around line 135&lf; +# in place of the correponding CONFIG_KEYWORDS array.&lf; +&lf; + + + + var CONFIG_KEYWORDS = [" + + + + + +"]; + +&lf; +&lf; +&lf; +# The next line has to be copy/pasted into prettify.js around line 920&lf; +# in place of the correponding PR_TAG array.&lf; +&lf; + + [PR_TAG, /^<\/?\b( + + + + + +).*?>/, null], + + + + + + + + + + + , + + + < + + > + + + + + + + + + + + | + + + + + + + + -- 2.47.3