From 9f28616dfd1cc425c5013937bab729217b7be2e6 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 8 May 2016 20:45:40 +0200 Subject: Add build_doc.sh script + generated phpdoc --- doc/phpdoc/js/prettify/lang-yaml.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 doc/phpdoc/js/prettify/lang-yaml.js (limited to 'doc/phpdoc/js/prettify/lang-yaml.js') diff --git a/doc/phpdoc/js/prettify/lang-yaml.js b/doc/phpdoc/js/prettify/lang-yaml.js new file mode 100644 index 0000000..c38729b --- /dev/null +++ b/doc/phpdoc/js/prettify/lang-yaml.js @@ -0,0 +1,2 @@ +var a=null; +PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]); -- cgit v1.2.3-70-g09d2