summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Argasinski <argasinski.hubert@gmail.com>2016-06-28 03:01:03 -0400
committerHubert Argasinski <argasinski.hubert@gmail.com>2016-06-29 02:01:35 -0400
commitb2f314f74c11364268e280735a457dd8183b310b (patch)
tree4df916e6574e5071f87e78a0fd62d710ff7b3f7d
parentcbf97ead6fd117155610c6e180a1a0785c131250 (diff)
downloadasync-b2f314f74c11364268e280735a457dd8183b310b.tar.gz
final tweaks before publishing
-rw-r--r--support/jsdoc/jsdoc-custom.css4
-rw-r--r--support/jsdoc/jsdoc-custom.js10
-rw-r--r--support/jsdoc/jsdoc-fix-html.js1
3 files changed, 13 insertions, 2 deletions
diff --git a/support/jsdoc/jsdoc-custom.css b/support/jsdoc/jsdoc-custom.css
index 845de0b..8a1ed46 100644
--- a/support/jsdoc/jsdoc-custom.css
+++ b/support/jsdoc/jsdoc-custom.css
@@ -30,6 +30,10 @@ body nav {
overflow-y: auto;
}
+footer {
+ margin-left: 0px;
+}
+
#main {
position: fixed;
float: none;
diff --git a/support/jsdoc/jsdoc-custom.js b/support/jsdoc/jsdoc-custom.js
index 6aae265..3dc26b0 100644
--- a/support/jsdoc/jsdoc-custom.js
+++ b/support/jsdoc/jsdoc-custom.js
@@ -16,13 +16,19 @@ $(function initSearchBar() {
var methodNames = new Bloodhound({
datumTokenizer: matchSubstrs,
queryTokenizer: Bloodhound.tokenizers.whitespace,
- prefetch: './methodNames.json'
+ prefetch: {
+ url: './methodNames.json',
+ cache: false
+ }
});
var sourceFiles = new Bloodhound({
datumTokenizer: matchSubstrs,
queryTokenizer: Bloodhound.tokenizers.whitespace,
- prefetch: './sourceFiles.json'
+ prefetch: {
+ url: './sourceFiles.json',
+ cache: false
+ }
});
var githubIssues = new Bloodhound({
diff --git a/support/jsdoc/jsdoc-fix-html.js b/support/jsdoc/jsdoc-fix-html.js
index 8ebc618..3541e91 100644
--- a/support/jsdoc/jsdoc-fix-html.js
+++ b/support/jsdoc/jsdoc-fix-html.js
@@ -155,6 +155,7 @@ function fixFooter($page) {
var $footer = $page.find('footer');
var text = $footer.text();
$footer.append(additionalFooterText);
+ $page.find('#main').append($footer);
};
function fixModuleLinks(files, callback) {