Added footer
This commit is contained in:
parent
f35160d5e5
commit
ef11311e42
|
@ -0,0 +1,14 @@
|
|||
<script>
|
||||
var filename = location.href.match(/([^\/]+)?\.3.html$/)[1];
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = 'Found a typo? ' +
|
||||
linkTo('View', 'blob') + ' and ' +
|
||||
linkTo('edit', 'edit') + ' this file online at GitHub.';
|
||||
|
||||
document.getElementById('man').appendChild(div);
|
||||
|
||||
function linkTo(text, dir) {
|
||||
return '<a href="https://github.com/1602/jugglingdb/' +
|
||||
dir + '/master/docs/' + filename + '.md">' + text + '</a>';
|
||||
}
|
||||
</script>
|
|
@ -23,7 +23,8 @@ case $dest in
|
|||
--style='print toc'\
|
||||
--organization=1602\ Software\
|
||||
--manual=JugglingDB &&\
|
||||
cat docs/ga.html) > $2
|
||||
cat docs/ga.html &&\
|
||||
cat docs/footer.html) > $2
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue