diff options
author | Chris Johns <chrisj@rtems.org> | 2017-01-12 12:55:15 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-01-12 12:56:13 +1100 |
commit | 049097fc804b7f0b2fdf54b9ba6a0c2aeae17725 (patch) | |
tree | cc525b8b55cbb6fd4dd37ae03573e957429f2555 /common/coverpage/coverpage.js | |
parent | conf.py: Fix build_date() to append correct suffix on all days. (diff) | |
download | rtems-docs-049097fc804b7f0b2fdf54b9ba6a0c2aeae17725.tar.bz2 |
coverpage: Update the coverpage to have the table collapse.
Add each doc's conf.py as a dependence to catalogue.xml.
Diffstat (limited to 'common/coverpage/coverpage.js')
-rw-r--r-- | common/coverpage/coverpage.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/coverpage/coverpage.js b/common/coverpage/coverpage.js new file mode 100644 index 0000000..4655c29 --- /dev/null +++ b/common/coverpage/coverpage.js @@ -0,0 +1,13 @@ +/*! + * Copyright 2017 Chris Johns <chrisj@rtems.org> + */ + +/* + * Embed the XML catalogue in this JS code to get around the Chrome on Windows + * security "feature" where loading of a local disk file under the same path as + * the HTML Chrome just loaded from disk is not allowed. + */ +function coverPageCatalogue() { + xml = '@CATALOGUE'; + paintCatalogue($.parseXML(xml)); +} |