mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-11 19:54:13 +01:00
Produce a tag map in dactyl.exportHelp.
This commit is contained in:
@@ -682,6 +682,8 @@ const Dactyl = Module("dactyl", {
|
||||
.join("\n");
|
||||
addDataEntry("help.css", data.replace(/chrome:[^ ")]+\//g, ""));
|
||||
|
||||
addDataEntry("tag-map.json", JSON.stringify(services["dactyl:"].HELP_TAGS));
|
||||
|
||||
let m, re = /(chrome:[^ ");]+\/)([^ ");]+)/g;
|
||||
while ((m = re.exec(data)))
|
||||
chrome[m[0]] = m[2];
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE stylesheet SYSTEM "chrome://dactyl/content/dactyl.dtd">
|
||||
|
||||
<!-- Header {{{1 -->
|
||||
<xsl:stylesheet version="1.0"
|
||||
@@ -126,7 +127,6 @@
|
||||
<xsl:copy-of select="$root/node()"/>
|
||||
</dactyl:document>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="root2" select="exsl:node-set($doc2)/dactyl:document"/>
|
||||
|
||||
<html dactyl:highlight="Help">
|
||||
<head>
|
||||
|
||||
Reference in New Issue
Block a user