Docs: Upgrade highlight.js to 9.0.0
authorAnthony Fok <foka@debian.org>
Tue, 22 Dec 2015 20:54:35 +0000 (13:54 -0700)
committerAnthony Fok <foka@debian.org>
Tue, 22 Dec 2015 20:54:35 +0000 (13:54 -0700)
commit7cf7f85ad66a1cd35ab4e6026ed6b9da95c53c34
tree707fc6faf70c7b18b3ee6e134dd3c3f9b0b0f7df
parentdf92a6b998fc8bfcd6d1dc11de47820a02c91f3f
Docs: Upgrade highlight.js to 9.0.0

with the following added languages in anticipation of document expansion:

    apache dockerfile dos less php powershell python tex yaml

To reproduce docs/static/js/highlight.pack.js on Debian/Ubuntu:

    $ sudo apt-get install nodejs npm
    $ wget https://github.com/isagalaev/highlight.js/archive/9.0.0.tar.gz
    $ tar xzf 9.0.0.tar.gz
    $ cd highlight.js-9.0.0/
    $ npm install
    $ nodejs tools/build.js markdown asciidoc xml css javascript \
      ini yaml json go bash diff dockerfile dos powershell makefile \
      apache nginx tex http php python ruby django haml handlebars \
      scss less coffeescript

Then, copy the resulting build/highlight.pack.js as well as
src/styles/monokai-sublime.css to the appropriate Hugo docs directories.
docs/layouts/partials/header.html
docs/static/css/monokai-sublime.css [new file with mode: 0644]
docs/static/css/monokai_sublime.css [deleted file]
docs/static/js/highlight.pack.js