gollum 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gollum might be problematic. Click here for more details.
- data/Gemfile +3 -0
- data/HISTORY.md +14 -2
- data/Home.md +3 -0
- data/README.md +24 -7
- data/bin/gollum +25 -6
- data/gollum.gemspec +336 -39
- data/lib/gollum.rb +5 -44
- data/lib/gollum/albino.rb +4 -29
- data/lib/gollum/blob_entry.rb +15 -8
- data/lib/gollum/committer.rb +217 -0
- data/lib/gollum/file.rb +2 -3
- data/lib/gollum/frontend/app.rb +64 -23
- data/lib/gollum/frontend/public/css/dialog.css +141 -0
- data/lib/gollum/frontend/public/css/editor.css +537 -0
- data/lib/gollum/frontend/public/css/gollum.css +643 -33
- data/lib/gollum/frontend/public/css/ie7.css +69 -0
- data/lib/gollum/frontend/public/css/template.css +316 -0
- data/lib/gollum/frontend/public/images/icon-sprite.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/MathJax.js +17 -1678
- data/lib/gollum/frontend/public/javascript/MathJax/config/MMLorHTML.js +10 -55
- data/lib/gollum/frontend/public/javascript/MathJax/config/MathJax.js +288 -49
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.buildinfo +4 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/CSS-styles.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/HTML-snippets.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/ajax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/callback.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/elementjax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/html.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/hub.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/index.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/inputjax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/jax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/message.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/object.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/outputjax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/queue.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/signal.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/api/variable.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/callbacks.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/community.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/configuration.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/dynamic.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/environment.pickle +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/glossary.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/index.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/installation.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/jsMath.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathjax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/mathml.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/model.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/FontWarnings.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/HTML-CSS.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MMLorHTML.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathML.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathMenu.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/MathZoom.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/NativeMML.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/TeX.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/hub.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/jsMath2jax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/mml2jax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/options/tex2jax.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/output.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/index.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/movable-type.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/platforms/wordpress.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/queues.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/signals.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/start.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/startup.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/synchronize.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/tex.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/.doctrees/typeset.doctree +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/CSS-styles.html +173 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/HTML-snippets.html +170 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/badge.gif +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_head.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_menu.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/mt_templates.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_menu.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_images/wp_templates.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/CSS-styles.txt +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/HTML-snippets.txt +83 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/ajax.txt +196 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/callback.txt +259 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/elementjax.txt +122 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/html.txt +122 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/hub.txt +330 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/index.txt +44 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/inputjax.txt +86 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/jax.txt +148 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/message.txt +86 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/object.txt +210 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/outputjax.txt +100 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/queue.txt +99 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/signal.txt +154 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/api/variable.txt +83 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/callbacks.txt +228 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/community.txt +60 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/configuration.txt +375 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/dynamic.txt +181 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/glossary.txt +75 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/index.txt +71 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/installation.txt +184 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/jsMath.txt +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathjax.txt +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/mathml.txt +97 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/model.txt +224 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/FontWarnings.txt +140 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/HTML-CSS.txt +119 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt +42 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathML.txt +27 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathMenu.txt +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MathZoom.txt +42 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/NativeMML.txt +61 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/TeX.txt +67 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/hub.txt +209 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/jsMath2jax.txt +53 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/mml2jax.txt +53 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/tex2jax.txt +137 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/output.txt +126 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/index.txt +65 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/movable-type.txt +41 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/platforms/wordpress.txt +42 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/queues.txt +254 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/signals.txt +161 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/start.txt +314 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/startup.txt +152 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/synchronize.txt +65 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/tex.txt +1090 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/typeset.txt +229 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/basic.css +509 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/doctools.js +247 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/file.png +0 -0
- data/lib/gollum/frontend/public/javascript/{jquery-1.4.2.min.js → MathJax/docs/html/_static/jquery.js} +1 -1
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_mathml.user.js +22 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mathjax_wikipedia.user.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/minus.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/mj.css +223 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/plus.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/pygments.css +61 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/searchtools.js +505 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/_static/underscore.js +16 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/ajax.html +406 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/callback.html +435 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/elementjax.html +283 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/html.html +292 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/hub.html +674 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/index.html +144 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/inputjax.html +221 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/jax.html +319 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/message.html +224 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/object.html +356 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/outputjax.html +246 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/queue.html +247 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/signal.html +334 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/api/variable.html +220 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/callbacks.html +305 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/community.html +155 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/configuration.html +434 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/dynamic.html +274 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/genindex.html +295 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/glossary.html +160 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/index.html +177 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/installation.html +262 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/jsMath.html +128 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathjax.html +137 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/mathml.html +194 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/model.html +305 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/objects.inv +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/FontWarnings.html +264 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/HTML-CSS.html +241 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MMLorHTML.html +143 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathML.html +132 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathMenu.html +194 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/MathZoom.html +147 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/NativeMML.html +171 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/TeX.html +175 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/hub.html +342 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/jsMath2jax.html +154 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/mml2jax.html +154 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/options/tex2jax.html +249 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/output.html +218 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/index.html +168 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/movable-type.html +145 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/platforms/wordpress.html +146 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/queues.html +334 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/search.html +95 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/searchindex.js +1 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/signals.html +257 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/start.html +374 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/startup.html +239 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/synchronize.html +161 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/tex.html +1152 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/html/typeset.html +318 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/CSS-styles.rst +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/HTML-snippets.rst +83 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_mathml.user.js +22 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/_static/mathjax_wikipedia.user.js +35 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/ajax.rst +196 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/callback.rst +259 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/elementjax.rst +122 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/html.rst +122 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/hub.rst +330 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/index.rst +44 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/inputjax.rst +86 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/jax.rst +148 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/message.rst +86 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/object.rst +210 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/outputjax.rst +100 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/queue.rst +99 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/signal.rst +154 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/api/variable.rst +83 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/callbacks.rst +228 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/community.rst +60 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/conf.py +198 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/configuration.rst +375 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/dynamic.rst +181 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/glossary.rst +75 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_head.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_menu.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/mt_templates.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_menu.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/images/wp_templates.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/index.rst +71 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/installation.rst +184 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/jsMath.rst +31 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathjax.rst +36 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mathml.rst +97 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/static/mj.css_t +256 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/mjtheme/theme.conf +30 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/model.rst +224 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/FontWarnings.rst +140 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/HTML-CSS.rst +119 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst +42 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathML.rst +27 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathMenu.rst +79 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MathZoom.rst +42 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/NativeMML.rst +61 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/TeX.rst +67 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/hub.rst +209 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/jsMath2jax.rst +53 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/mml2jax.rst +53 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/tex2jax.rst +137 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/output.rst +126 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/index.rst +65 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/movable-type.rst +41 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/platforms/wordpress.rst +42 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/queues.rst +254 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/signals.rst +161 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/start.rst +314 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/startup.rst +152 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/synchronize.rst +65 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/tex.rst +1090 -0
- data/lib/gollum/frontend/public/javascript/MathJax/docs/rst/typeset.rst +229 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/FontWarnings.js +18 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathMenu.js +18 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/MathZoom.js +18 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSmath.js +11 -369
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/AMSsymbols.js +11 -378
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/autobold.js +11 -36
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/boldsymbol.js +10 -101
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/mathchoice.js +10 -57
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/newcommand.js +10 -177
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noErrors.js +10 -161
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/noUndefined.js +18 -0
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/unicode.js +10 -123
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/TeX/verb.js +10 -45
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/jsMath2jax.js +10 -69
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/mml2jax.js +10 -93
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/tex2jax.js +10 -234
- data/lib/gollum/frontend/public/javascript/MathJax/extensions/toMathML.js +10 -132
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/jax.js +11 -1466
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Arrows.js +11 -115
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/BasicLatin.js +11 -51
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiacritMarks.js +11 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +11 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Dingbats.js +11 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeneralPunctuation.js +11 -33
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GeometricShapes.js +11 -59
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/GreekAndCoptic.js +11 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/Latin1Supplement.js +11 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +11 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MathOperators.js +11 -221
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +11 -31
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +11 -160
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/MiscTechnical.js +11 -31
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SpacingModLetters.js +11 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SuppMathOperators.js +11 -282
- data/lib/gollum/frontend/public/javascript/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +11 -155
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/config.js +11 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/a.js +11 -80
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/b.js +11 -107
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/c.js +11 -104
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/d.js +11 -105
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/e.js +11 -81
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/f.js +11 -51
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/fr.js +11 -72
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/g.js +11 -75
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/h.js +11 -45
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/i.js +11 -78
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/j.js +11 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/k.js +11 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/l.js +11 -168
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/m.js +11 -54
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/n.js +11 -212
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/o.js +11 -81
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/opf.js +11 -72
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/p.js +11 -77
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/q.js +11 -27
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/r.js +11 -127
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/s.js +11 -161
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/scr.js +11 -72
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/t.js +11 -75
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/u.js +11 -84
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/v.js +11 -66
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/w.js +11 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/x.js +11 -40
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/y.js +11 -34
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/entities/z.js +11 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/MathML/jax.js +10 -582
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/config.js +11 -33
- data/lib/gollum/frontend/public/javascript/MathJax/jax/input/TeX/jax.js +11 -1644
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/maction.js +18 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/menclose.js +10 -53
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +10 -90
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js +18 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/ms.js +10 -41
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/mtable.js +18 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/autoload/multiline.js +18 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/config.js +10 -119
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +12 -26
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +12 -103
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +12 -61
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +12 -92
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +12 -43
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +12 -25
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +12 -123
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +12 -83
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +12 -61
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +12 -27
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +12 -103
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +12 -110
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +12 -117
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +12 -149
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +12 -53
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +12 -63
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +12 -166
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +12 -83
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +12 -254
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +12 -83
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +12 -25
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +12 -31
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +12 -24
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +12 -36
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +12 -33
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +12 -24
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +12 -81
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +12 -78
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +12 -26
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +12 -116
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +12 -61
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +12 -25
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +12 -123
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +12 -83
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +12 -44
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +12 -113
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +12 -110
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +12 -117
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +12 -149
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +12 -53
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +12 -50
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +12 -50
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +12 -48
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +12 -26
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +12 -61
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +12 -41
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +12 -25
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +12 -123
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +12 -83
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +12 -44
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +12 -72
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +12 -110
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +12 -117
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +12 -148
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +12 -52
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +12 -50
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +12 -186
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +12 -72
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +12 -62
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +12 -48
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +12 -26
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +12 -100
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +12 -76
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +12 -66
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +12 -80
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +12 -44
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +12 -25
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +12 -123
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +12 -51
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +12 -83
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +12 -68
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +12 -62
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +12 -112
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +12 -103
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +12 -79
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +12 -112
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +12 -109
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +12 -148
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +12 -57
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +12 -76
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +12 -374
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +12 -83
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +12 -72
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +12 -201
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +12 -83
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +12 -84
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +12 -62
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +12 -82
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +12 -60
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +12 -148
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +12 -68
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +12 -85
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +12 -74
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +12 -33
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +12 -73
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +12 -265
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +12 -149
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +12 -49
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +12 -48
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +12 -49
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +12 -48
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +12 -49
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +12 -48
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +12 -49
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +12 -48
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +12 -49
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +12 -48
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +12 -176
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +12 -209
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +12 -54
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +12 -236
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +12 -51
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +12 -381
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +12 -45
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +12 -37
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +12 -40
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +12 -57
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +12 -56
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +12 -46
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +12 -71
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +12 -99
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +12 -40
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +12 -57
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +12 -56
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +12 -40
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +12 -58
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +12 -57
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +12 -54
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +12 -38
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +12 -114
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +12 -43
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +10 -365
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +12 -1396
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +12 -59
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +12 -49
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +12 -27
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +12 -25
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +12 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +12 -45
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +12 -132
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +12 -37
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +12 -44
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +12 -90
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +12 -89
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +12 -103
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +12 -24
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +12 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +12 -103
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +12 -24
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +12 -37
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +12 -104
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +12 -103
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +12 -36
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +12 -45
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +12 -33
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +12 -38
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +12 -26
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GreekAndCoptic.js +12 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +12 -27
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +12 -155
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +12 -88
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +12 -23
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +12 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +12 -27
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +12 -24
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +12 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +12 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +12 -27
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GreekAndCoptic.js +12 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedA.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LatinExtendedB.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +12 -131
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Arrows.js +12 -45
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +12 -33
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiactForSymbols.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeneralPunctuation.js +12 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +12 -26
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GreekAndCoptic.js +12 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Latin1Supplement.js +12 -26
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedA.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LatinExtendedB.js +12 -22
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/LetterlikeSymbols.js +12 -27
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +12 -298
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MathOperators.js +12 -88
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscMathSymbolsA.js +12 -25
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +12 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscTechnical.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SuppMathOperators.js +12 -24
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SupplementalArrowsA.js +12 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +12 -199
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +12 -198
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +12 -109
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +12 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +12 -41
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +12 -109
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +12 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +12 -41
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +12 -109
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +12 -32
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +12 -41
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +12 -48
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +12 -56
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +12 -68
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +12 -60
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +12 -44
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +12 -71
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +12 -117
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +12 -30
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +12 -29
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +12 -38
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +12 -37
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +12 -50
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +12 -76
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +12 -105
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +12 -1684
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/imageFonts.js +10 -177
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/jax.js +12 -1984
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/config.js +10 -43
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/NativeMML/jax.js +10 -222
- data/lib/gollum/frontend/public/javascript/MathJax/test/index-images.html +22 -14
- data/lib/gollum/frontend/public/javascript/MathJax/test/index.html +58 -8
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-dynamic.html +54 -0
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-mml.html +44 -0
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-signals.html +121 -0
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex.html +22 -0
- data/lib/gollum/frontend/public/javascript/MathJax/test/sample-tex2mml.html +23 -0
- data/lib/gollum/frontend/public/javascript/editor/gollum.editor.js +1084 -0
- data/lib/gollum/frontend/public/javascript/editor/langs/asciidoc.js +168 -0
- data/lib/gollum/frontend/public/javascript/editor/langs/creole.js +103 -0
- data/lib/gollum/frontend/public/javascript/editor/langs/markdown.js +211 -0
- data/lib/gollum/frontend/public/javascript/editor/langs/org.js +173 -0
- data/lib/gollum/frontend/public/javascript/editor/langs/pod.js +111 -0
- data/lib/gollum/frontend/public/javascript/editor/langs/rdoc.js +74 -0
- data/lib/gollum/frontend/public/javascript/editor/langs/textile.js +175 -0
- data/lib/gollum/frontend/public/javascript/gollum.dialog.js +206 -0
- data/lib/gollum/frontend/public/javascript/gollum.js +178 -231
- data/lib/gollum/frontend/public/javascript/gollum.placeholder.js +54 -0
- data/lib/gollum/frontend/public/javascript/jquery.color.js +123 -0
- data/lib/gollum/frontend/public/javascript/jquery.js +7179 -0
- data/lib/gollum/frontend/templates/compare.mustache +51 -31
- data/lib/gollum/frontend/templates/create.mustache +15 -39
- data/lib/gollum/frontend/templates/edit.mustache +17 -38
- data/lib/gollum/frontend/templates/editor.mustache +116 -0
- data/lib/gollum/frontend/templates/error.mustache +5 -8
- data/lib/gollum/frontend/templates/history.mustache +59 -36
- data/lib/gollum/frontend/templates/layout.mustache +24 -29
- data/lib/gollum/frontend/templates/page.mustache +34 -26
- data/lib/gollum/frontend/templates/search.mustache +35 -18
- data/lib/gollum/frontend/templates/searchbar.mustache +10 -0
- data/lib/gollum/frontend/views/compare.rb +9 -5
- data/lib/gollum/frontend/views/create.rb +23 -0
- data/lib/gollum/frontend/views/edit.rb +40 -1
- data/lib/gollum/frontend/views/history.rb +1 -1
- data/lib/gollum/frontend/views/page.rb +17 -6
- data/lib/gollum/frontend/views/search.rb +8 -0
- data/lib/gollum/git_access.rb +241 -0
- data/lib/gollum/markup.rb +107 -47
- data/lib/gollum/page.rb +114 -67
- data/lib/gollum/sanitization.rb +115 -0
- data/lib/gollum/wiki.rb +307 -267
- data/test/examples/lotr.git/COMMIT_EDITMSG +1 -0
- data/test/examples/lotr.git/config +8 -1
- data/test/examples/lotr.git/index +0 -0
- data/test/examples/lotr.git/info/exclude +1 -1
- data/test/examples/lotr.git/logs/HEAD +2 -0
- data/test/examples/lotr.git/logs/refs/heads/master +2 -0
- data/test/examples/lotr.git/objects/84/0ec5b1ba1320e8ec443f28f99566f615d5af10 +0 -0
- data/test/examples/lotr.git/objects/a3/1ca2a7c352c92531a8b99815d15843b259e814 +0 -0
- data/test/examples/lotr.git/objects/a8/ad3c09dd842a3517085bfadd37718856dee813 +0 -0
- data/test/examples/lotr.git/packed-refs +1 -1
- data/test/examples/lotr.git/refs/heads/master +1 -1
- data/test/examples/lotr.git/refs/remotes/origin/HEAD +1 -0
- data/test/examples/page_file_dir.git/COMMIT_EDITMSG +1 -0
- data/test/examples/page_file_dir.git/HEAD +1 -0
- data/test/examples/page_file_dir.git/config +6 -0
- data/test/examples/page_file_dir.git/description +1 -0
- data/test/examples/page_file_dir.git/index +0 -0
- data/test/examples/page_file_dir.git/info/exclude +6 -0
- data/test/examples/page_file_dir.git/logs/HEAD +1 -0
- data/test/examples/page_file_dir.git/logs/refs/heads/master +1 -0
- data/test/examples/page_file_dir.git/objects/0c/7d27db1f575263efdcab3dc650f4502a2dbcbf +0 -0
- data/test/examples/page_file_dir.git/objects/22/b404803c966dd92865614d86ff22ca12e50c1e +0 -0
- data/test/examples/page_file_dir.git/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99 +0 -0
- data/test/examples/page_file_dir.git/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6 +0 -0
- data/test/examples/page_file_dir.git/objects/5b/43e14e0a15fb6f08feab1773d1c0991e9f71e2 +0 -0
- data/test/examples/page_file_dir.git/refs/heads/master +1 -0
- data/test/examples/revert.git/COMMIT_EDITMSG +1 -0
- data/test/examples/revert.git/HEAD +1 -0
- data/test/examples/revert.git/config +12 -0
- data/test/examples/revert.git/description +1 -0
- data/test/examples/revert.git/index +0 -0
- data/test/examples/revert.git/info/exclude +6 -0
- data/test/examples/revert.git/logs/HEAD +2 -0
- data/test/examples/revert.git/logs/refs/heads/master +2 -0
- data/test/examples/revert.git/objects/20/2ced67cea93c7b6bd2928aa1daef8d1d55a20d +0 -0
- data/test/examples/revert.git/objects/41/76394bfa11222363c66ce7e84b5f154095b6d9 +0 -0
- data/test/examples/revert.git/objects/6a/69f92020f5df77af6e8813ff1232493383b708 +0 -0
- data/test/examples/revert.git/objects/b4/785957bc986dc39c629de9fac9df46972c00fc +0 -0
- data/test/examples/revert.git/objects/f4/03b791119f8232b7cb0ba455c624ac6435f433 +0 -0
- data/test/examples/revert.git/objects/info/packs +2 -0
- data/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.idx +0 -0
- data/test/examples/revert.git/objects/pack/pack-a561f8437234f74d0bacb9e0eebe52d207f5770d.pack +0 -0
- data/test/examples/revert.git/packed-refs +2 -0
- data/test/examples/revert.git/refs/heads/master +1 -0
- data/test/examples/revert.git/refs/remotes/origin/HEAD +1 -0
- data/test/examples/yubiwa.git/HEAD +1 -0
- data/test/examples/yubiwa.git/config +5 -0
- data/test/examples/yubiwa.git/description +1 -0
- data/test/examples/yubiwa.git/info/exclude +6 -0
- data/test/examples/yubiwa.git/objects/10/fa2ddc4e3b4009d8a453aace10bd6148c1ad00 +0 -0
- data/test/examples/yubiwa.git/objects/52/4b82874327ea7cbf730389964ba7cb3de966de +0 -0
- data/test/examples/yubiwa.git/objects/58/3fc201cb457fb3f1480f3e1e5999b119633835 +0 -0
- data/test/examples/yubiwa.git/objects/87/bc1dd46ab3d3874d4e898d45dd512cc20a7cc8 +1 -0
- data/test/examples/yubiwa.git/objects/89/64ed1b4e21aa90e831763bbce9034bfda81b70 +0 -0
- data/test/examples/yubiwa.git/objects/9f/f6dd0660da5fba2d3374adb2b84fa653bb538b +0 -0
- data/test/examples/yubiwa.git/objects/ac/e97abf2b177815a1972d7db22f229f58c83309 +0 -0
- data/test/examples/yubiwa.git/objects/b1/f443863a4816628807fbf86141ebef055dda34 +0 -0
- data/test/examples/yubiwa.git/refs/heads/master +1 -0
- data/test/helper.rb +19 -3
- data/test/test_app.rb +144 -0
- data/test/test_committer.rb +51 -0
- data/test/test_file.rb +3 -1
- data/test/test_git_access.rb +52 -0
- data/test/test_markup.rb +92 -17
- data/test/test_page.rb +30 -2
- data/test/test_page_revert.rb +45 -0
- data/test/test_wiki.rb +55 -36
- metadata +388 -47
- data/lib/gollum/frontend/public/css/editbar.css +0 -194
- data/lib/gollum/frontend/public/css/screen.css +0 -726
- data/lib/gollum/frontend/public/css/syntax.css +0 -61
- data/lib/gollum/frontend/public/images/buttons.png +0 -0
- data/lib/gollum/frontend/public/images/editbar-buttons.png +0 -0
- data/lib/gollum/frontend/public/images/example.png +0 -0
- data/lib/gollum/frontend/public/images/twiddle-down.png +0 -0
- data/lib/gollum/frontend/public/images/twiddle-right.png +0 -0
- data/lib/gollum/frontend/public/images/txt.png +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/COPYING.txt +0 -202
- data/lib/gollum/frontend/public/javascript/MathJax/README.txt +0 -480
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/blank.gif +0 -0
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +0 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +0 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +0 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +0 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +0 -28
- data/lib/gollum/frontend/public/javascript/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +0 -28
- data/lib/gollum/frontend/public/javascript/jquery.previewable_comment_form.js +0 -57
- data/lib/gollum/frontend/public/javascript/jquery.tabs.js +0 -59
- data/lib/gollum/frontend/public/javascript/jquery.text_selection-1.0.0.min.js +0 -1
- data/lib/gollum/frontend/templates/editbar.mustache +0 -1196
- data/test/examples/lotr.git/hooks/applypatch-msg.sample +0 -15
- data/test/examples/lotr.git/hooks/commit-msg.sample +0 -24
- data/test/examples/lotr.git/hooks/post-commit.sample +0 -8
- data/test/examples/lotr.git/hooks/post-receive.sample +0 -15
- data/test/examples/lotr.git/hooks/post-update.sample +0 -8
- data/test/examples/lotr.git/hooks/pre-applypatch.sample +0 -14
- data/test/examples/lotr.git/hooks/pre-commit.sample +0 -46
- data/test/examples/lotr.git/hooks/pre-rebase.sample +0 -169
- data/test/examples/lotr.git/hooks/prepare-commit-msg.sample +0 -36
- data/test/examples/lotr.git/hooks/update.sample +0 -128
- data/test/examples/lotr.git/info/refs +0 -1
data/lib/gollum/markup.rb
CHANGED
@@ -11,12 +11,14 @@ module Gollum
|
|
11
11
|
def initialize(page)
|
12
12
|
@wiki = page.wiki
|
13
13
|
@name = page.filename
|
14
|
-
@data = page.
|
14
|
+
@data = page.text_data
|
15
15
|
@version = page.version.id
|
16
|
+
@format = page.format
|
16
17
|
@dir = ::File.dirname(page.path)
|
17
18
|
@tagmap = {}
|
18
19
|
@codemap = {}
|
19
20
|
@texmap = {}
|
21
|
+
@premap = {}
|
20
22
|
end
|
21
23
|
|
22
24
|
# Render the content with Gollum wiki syntax on top of the file's own
|
@@ -27,10 +29,11 @@ module Gollum
|
|
27
29
|
#
|
28
30
|
# Returns the formatted String content.
|
29
31
|
def render(no_follow = false)
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
32
|
+
sanitize = no_follow ?
|
33
|
+
@wiki.history_sanitizer :
|
34
|
+
@wiki.sanitizer
|
35
|
+
|
36
|
+
data = extract_tex(@data.dup)
|
34
37
|
data = extract_code(data)
|
35
38
|
data = extract_tags(data)
|
36
39
|
begin
|
@@ -43,12 +46,21 @@ module Gollum
|
|
43
46
|
end
|
44
47
|
data = process_tags(data)
|
45
48
|
data = process_code(data)
|
46
|
-
|
49
|
+
if sanitize || block_given?
|
50
|
+
doc = Nokogiri::HTML::DocumentFragment.parse(data)
|
51
|
+
doc = sanitize.clean_node!(doc) if sanitize
|
52
|
+
yield doc if block_given?
|
53
|
+
data = doc_to_html(doc)
|
54
|
+
end
|
47
55
|
data = process_tex(data)
|
48
56
|
data.gsub!(/<p><\/p>/, '')
|
49
57
|
data
|
50
58
|
end
|
51
59
|
|
60
|
+
def doc_to_html(doc)
|
61
|
+
doc.to_xhtml(:save_with => Nokogiri::XML::Node::SaveOptions::AS_XHTML)
|
62
|
+
end
|
63
|
+
|
52
64
|
#########################################################################
|
53
65
|
#
|
54
66
|
# TeX
|
@@ -105,49 +117,57 @@ module Gollum
|
|
105
117
|
#
|
106
118
|
# Returns the placeholder'd String data.
|
107
119
|
def extract_tags(data)
|
108
|
-
data.gsub(/(.?)\[\[(.+?)\]\]([^\[]?)/m) do
|
120
|
+
data.gsub!(/(.?)\[\[(.+?)\]\]([^\[]?)/m) do
|
109
121
|
if $1 == "'" && $3 != "'"
|
110
122
|
"[[#{$2}]]#{$3}"
|
111
123
|
elsif $2.include?('][')
|
112
|
-
|
124
|
+
if $2[0..4] == 'file:'
|
125
|
+
pre = $1
|
126
|
+
post = $3
|
127
|
+
parts = $2.split('][')
|
128
|
+
parts[0][0..4] = ""
|
129
|
+
link = "#{parts[1]}|#{parts[0].sub(/\.org/,'')}"
|
130
|
+
id = Digest::SHA1.hexdigest(link)
|
131
|
+
@tagmap[id] = link
|
132
|
+
"#{pre}#{id}#{post}"
|
133
|
+
else
|
134
|
+
$&
|
135
|
+
end
|
113
136
|
else
|
114
137
|
id = Digest::SHA1.hexdigest($2)
|
115
138
|
@tagmap[id] = $2
|
116
139
|
"#{$1}#{id}#{$3}"
|
117
140
|
end
|
118
141
|
end
|
142
|
+
data
|
119
143
|
end
|
120
144
|
|
121
145
|
# Process all tags from the tagmap and replace the placeholders with the
|
122
146
|
# final markup.
|
123
147
|
#
|
124
148
|
# data - The String data (with placeholders).
|
125
|
-
# no_follow - Boolean that determines if rel="nofollow" is added to all
|
126
|
-
# <a> tags.
|
127
149
|
#
|
128
150
|
# Returns the marked up String data.
|
129
|
-
def process_tags(data
|
151
|
+
def process_tags(data)
|
130
152
|
@tagmap.each do |id, tag|
|
131
|
-
data.gsub!(id, process_tag(tag
|
153
|
+
data.gsub!(id, process_tag(tag))
|
132
154
|
end
|
133
155
|
data
|
134
156
|
end
|
135
157
|
|
136
158
|
# Process a single tag into its final HTML form.
|
137
159
|
#
|
138
|
-
# tag - The String tag contents (the stuff inside the double
|
160
|
+
# tag - The String tag contents (the stuff inside the double
|
139
161
|
# brackets).
|
140
|
-
# no_follow - Boolean that determines if rel="nofollow" is added to all
|
141
|
-
# <a> tags.
|
142
162
|
#
|
143
163
|
# Returns the String HTML version of the tag.
|
144
|
-
def process_tag(tag
|
164
|
+
def process_tag(tag)
|
145
165
|
if html = process_image_tag(tag)
|
146
166
|
html
|
147
|
-
elsif html = process_file_link_tag(tag
|
167
|
+
elsif html = process_file_link_tag(tag)
|
148
168
|
html
|
149
169
|
else
|
150
|
-
process_page_link_tag(tag
|
170
|
+
process_page_link_tag(tag)
|
151
171
|
end
|
152
172
|
end
|
153
173
|
|
@@ -159,6 +179,8 @@ module Gollum
|
|
159
179
|
# if it is not.
|
160
180
|
def process_image_tag(tag)
|
161
181
|
parts = tag.split('|')
|
182
|
+
return if parts.size.zero?
|
183
|
+
|
162
184
|
name = parts[0].strip
|
163
185
|
path = if file = find_file(name)
|
164
186
|
::File.join @wiki.base_path, file.path
|
@@ -240,15 +262,15 @@ module Gollum
|
|
240
262
|
|
241
263
|
# Attempt to process the tag as a file link tag.
|
242
264
|
#
|
243
|
-
# tag - The String tag contents (the stuff inside the double
|
265
|
+
# tag - The String tag contents (the stuff inside the double
|
244
266
|
# brackets).
|
245
|
-
# no_follow - Boolean that determines if rel="nofollow" is added to all
|
246
|
-
# <a> tags.
|
247
267
|
#
|
248
268
|
# Returns the String HTML if the tag is a valid file link tag or nil
|
249
269
|
# if it is not.
|
250
|
-
def process_file_link_tag(tag
|
270
|
+
def process_file_link_tag(tag)
|
251
271
|
parts = tag.split('|')
|
272
|
+
return if parts.size.zero?
|
273
|
+
|
252
274
|
name = parts[0].strip
|
253
275
|
path = parts[1] && parts[1].strip
|
254
276
|
path = if path && file = find_file(path)
|
@@ -259,49 +281,42 @@ module Gollum
|
|
259
281
|
nil
|
260
282
|
end
|
261
283
|
|
262
|
-
|
284
|
+
if name && path && file
|
263
285
|
%{<a href="#{::File.join @wiki.base_path, file.path}">#{name}</a>}
|
264
286
|
elsif name && path
|
265
287
|
%{<a href="#{path}">#{name}</a>}
|
266
288
|
else
|
267
289
|
nil
|
268
290
|
end
|
269
|
-
if tag && no_follow
|
270
|
-
tag.sub! /^<a/, '<a ref="nofollow"'
|
271
|
-
end
|
272
|
-
tag
|
273
291
|
end
|
274
292
|
|
275
293
|
# Attempt to process the tag as a page link tag.
|
276
294
|
#
|
277
|
-
# tag - The String tag contents (the stuff inside the double
|
295
|
+
# tag - The String tag contents (the stuff inside the double
|
278
296
|
# brackets).
|
279
|
-
# no_follow - Boolean that determines if rel="nofollow" is added to all
|
280
|
-
# <a> tags.
|
281
297
|
#
|
282
298
|
# Returns the String HTML if the tag is a valid page link tag or nil
|
283
299
|
# if it is not.
|
284
|
-
def process_page_link_tag(tag
|
300
|
+
def process_page_link_tag(tag)
|
285
301
|
parts = tag.split('|')
|
286
|
-
|
287
|
-
|
288
|
-
|
302
|
+
parts.reverse! if @format == :mediawiki
|
303
|
+
|
304
|
+
name, page_name = *parts.compact.map(&:strip)
|
305
|
+
cname = @wiki.page_class.cname(page_name || name)
|
306
|
+
|
307
|
+
if name =~ %r{^https?://} && page_name.nil?
|
289
308
|
%{<a href="#{name}">#{name}</a>}
|
290
309
|
else
|
291
310
|
presence = "absent"
|
292
311
|
link_name = cname
|
293
312
|
page, extra = find_page_from_name(cname)
|
294
313
|
if page
|
295
|
-
link_name =
|
314
|
+
link_name = @wiki.page_class.cname(page.name)
|
296
315
|
presence = "present"
|
297
316
|
end
|
298
317
|
link = ::File.join(@wiki.base_path, CGI.escape(link_name))
|
299
318
|
%{<a class="internal #{presence}" href="#{link}#{extra}">#{name}</a>}
|
300
319
|
end
|
301
|
-
if tag && no_follow
|
302
|
-
tag.sub! /^<a/, '<a ref="nofollow"'
|
303
|
-
end
|
304
|
-
tag
|
305
320
|
end
|
306
321
|
|
307
322
|
# Find the given file in the repo.
|
@@ -323,7 +338,7 @@ module Gollum
|
|
323
338
|
#
|
324
339
|
# cname - The String canonical page name.
|
325
340
|
#
|
326
|
-
# Returns a Gollum::Page instance if a page is found, or an Array of
|
341
|
+
# Returns a Gollum::Page instance if a page is found, or an Array of
|
327
342
|
# [Gollum::Page, String extra] if a page without the extra anchor data
|
328
343
|
# is found.
|
329
344
|
def find_page_from_name(cname)
|
@@ -347,11 +362,15 @@ module Gollum
|
|
347
362
|
#
|
348
363
|
# Returns the placeholder'd String data.
|
349
364
|
def extract_code(data)
|
350
|
-
data.gsub(/^``` ?([^\r\n]+)?\r?\n(.+?)\r?\n```\r?$/m) do
|
351
|
-
id
|
352
|
-
|
365
|
+
data.gsub!(/^``` ?([^\r\n]+)?\r?\n(.+?)\r?\n```\r?$/m) do
|
366
|
+
id = Digest::SHA1.hexdigest($2)
|
367
|
+
cached = check_cache(:code, id)
|
368
|
+
@codemap[id] = cached ?
|
369
|
+
{ :output => cached } :
|
370
|
+
{ :lang => $1, :code => $2 }
|
353
371
|
id
|
354
372
|
end
|
373
|
+
data
|
355
374
|
end
|
356
375
|
|
357
376
|
# Process all code from the codemap and replace the placeholders with the
|
@@ -361,18 +380,59 @@ module Gollum
|
|
361
380
|
#
|
362
381
|
# Returns the marked up String data.
|
363
382
|
def process_code(data)
|
383
|
+
return data if data.nil? || data.size.zero? || @codemap.size.zero?
|
384
|
+
|
385
|
+
blocks = []
|
364
386
|
@codemap.each do |id, spec|
|
387
|
+
next if spec[:output] # cached
|
388
|
+
|
365
389
|
code = spec[:code]
|
366
390
|
if code.lines.all? { |line| line =~ /\A\r?\n\Z/ || line =~ /^( |\t)/ }
|
367
391
|
code.gsub!(/^( |\t)/m, '')
|
368
392
|
end
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
393
|
+
|
394
|
+
blocks << [spec[:lang], code]
|
395
|
+
end
|
396
|
+
|
397
|
+
highlighted = begin
|
398
|
+
blocks.size.zero? ? [] : Gollum::Albino.colorize(blocks)
|
399
|
+
rescue ::Albino::ShellArgumentError, ::Albino::TimeoutExceeded,
|
400
|
+
::Albino::MaximumOutputExceeded
|
401
|
+
[]
|
402
|
+
end
|
403
|
+
|
404
|
+
@codemap.each do |id, spec|
|
405
|
+
body = spec[:output] || begin
|
406
|
+
if (body = highlighted.shift.to_s).size > 0
|
407
|
+
update_cache(:code, id, body)
|
408
|
+
body
|
409
|
+
else
|
410
|
+
"<pre><code>#{CGI.escapeHTML(spec[:code])}</code></pre>"
|
411
|
+
end
|
373
412
|
end
|
413
|
+
data.gsub!(id, body)
|
374
414
|
end
|
415
|
+
|
375
416
|
data
|
376
417
|
end
|
418
|
+
|
419
|
+
# Hook for getting the formatted value of extracted tag data.
|
420
|
+
#
|
421
|
+
# type - Symbol value identifying what type of data is being extracted.
|
422
|
+
# id - String SHA1 hash of original extracted tag data.
|
423
|
+
#
|
424
|
+
# Returns the String cached formatted data, or nil.
|
425
|
+
def check_cache(type, id)
|
426
|
+
end
|
427
|
+
|
428
|
+
# Hook for caching the formatted value of extracted tag data.
|
429
|
+
#
|
430
|
+
# type - Symbol value identifying what type of data is being extracted.
|
431
|
+
# id - String SHA1 hash of original extracted tag data.
|
432
|
+
# data - The String formatted value to be cached.
|
433
|
+
#
|
434
|
+
# Returns nothing.
|
435
|
+
def update_cache(type, id, data)
|
436
|
+
end
|
377
437
|
end
|
378
438
|
end
|
data/lib/gollum/page.rb
CHANGED
@@ -4,15 +4,16 @@ module Gollum
|
|
4
4
|
|
5
5
|
Wiki.page_class = self
|
6
6
|
|
7
|
-
VALID_PAGE_RE = /^(.+)\.(md|mkdn?|mdown|markdown|textile|rdoc|org|creole|re?st(\.txt)?|asciidoc|pod)$/i
|
8
|
-
FORMAT_NAMES = { :markdown
|
9
|
-
:textile
|
10
|
-
:rdoc
|
11
|
-
:org
|
12
|
-
:creole
|
13
|
-
:rest
|
14
|
-
:asciidoc
|
15
|
-
:
|
7
|
+
VALID_PAGE_RE = /^(.+)\.(md|mkdn?|mdown|markdown|textile|rdoc|org|creole|re?st(\.txt)?|asciidoc|pod|(media)?wiki)$/i
|
8
|
+
FORMAT_NAMES = { :markdown => "Markdown",
|
9
|
+
:textile => "Textile",
|
10
|
+
:rdoc => "RDoc",
|
11
|
+
:org => "Org-mode",
|
12
|
+
:creole => "Creole",
|
13
|
+
:rest => "reStructuredText",
|
14
|
+
:asciidoc => "AsciiDoc",
|
15
|
+
:mediawiki => "MediaWiki",
|
16
|
+
:pod => "Pod" }
|
16
17
|
|
17
18
|
# Sets a Boolean determing whether this page is a historical version.
|
18
19
|
#
|
@@ -40,6 +41,40 @@ module Gollum
|
|
40
41
|
filename =~ /^_/ ? false : match
|
41
42
|
end
|
42
43
|
|
44
|
+
# Public: The format of a given filename.
|
45
|
+
#
|
46
|
+
# filename - The String filename.
|
47
|
+
#
|
48
|
+
# Returns the Symbol format of the page. One of:
|
49
|
+
# [ :markdown | :textile | :rdoc | :org | :rest | :asciidoc | :pod |
|
50
|
+
# :roff ]
|
51
|
+
def self.format_for(filename)
|
52
|
+
case filename.to_s
|
53
|
+
when /\.(md|mkdn?|mdown|markdown)$/i
|
54
|
+
:markdown
|
55
|
+
when /\.(textile)$/i
|
56
|
+
:textile
|
57
|
+
when /\.(rdoc)$/i
|
58
|
+
:rdoc
|
59
|
+
when /\.(org)$/i
|
60
|
+
:org
|
61
|
+
when /\.(creole)$/i
|
62
|
+
:creole
|
63
|
+
when /\.(re?st(\.txt)?)$/i
|
64
|
+
:rest
|
65
|
+
when /\.(asciidoc)$/i
|
66
|
+
:asciidoc
|
67
|
+
when /\.(pod)$/i
|
68
|
+
:pod
|
69
|
+
when /\.(\d)$/i
|
70
|
+
:roff
|
71
|
+
when /\.(media)?wiki$/i
|
72
|
+
:mediawiki
|
73
|
+
else
|
74
|
+
nil
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
43
78
|
# Reusable filter to turn a filename (without path) into a canonical name.
|
44
79
|
# Strips extension, converts spaces to dashes.
|
45
80
|
#
|
@@ -55,7 +90,7 @@ module Gollum
|
|
55
90
|
# Returns a newly initialized Gollum::Page.
|
56
91
|
def initialize(wiki)
|
57
92
|
@wiki = wiki
|
58
|
-
@blob = nil
|
93
|
+
@blob = @footer = @sidebar = nil
|
59
94
|
end
|
60
95
|
|
61
96
|
# Public: The on-disk filename of the page including extension.
|
@@ -65,7 +100,7 @@ module Gollum
|
|
65
100
|
@blob && @blob.name
|
66
101
|
end
|
67
102
|
|
68
|
-
# Public: The canonical page name without extension, and dashes converted
|
103
|
+
# Public: The canonical page name without extension, and dashes converted
|
69
104
|
# to spaces.
|
70
105
|
#
|
71
106
|
# Returns the String name.
|
@@ -101,7 +136,7 @@ module Gollum
|
|
101
136
|
Sanitize.clean(header.to_html)
|
102
137
|
else
|
103
138
|
Sanitize.clean(name)
|
104
|
-
end
|
139
|
+
end.strip
|
105
140
|
end
|
106
141
|
|
107
142
|
# Public: The path of the page within the repo.
|
@@ -116,11 +151,24 @@ module Gollum
|
|
116
151
|
@blob && @blob.data
|
117
152
|
end
|
118
153
|
|
154
|
+
# Public: A text data encoded in specified encoding.
|
155
|
+
#
|
156
|
+
# encoding - An Encoding or nil
|
157
|
+
#
|
158
|
+
# Returns a character encoding aware String.
|
159
|
+
def text_data(encoding=nil)
|
160
|
+
if raw_data.respond_to?(:encoding)
|
161
|
+
raw_data.force_encoding(encoding || Encoding::UTF_8)
|
162
|
+
else
|
163
|
+
raw_data
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
119
167
|
# Public: The formatted contents of the page.
|
120
168
|
#
|
121
169
|
# Returns the String data.
|
122
|
-
def formatted_data
|
123
|
-
@blob &&
|
170
|
+
def formatted_data(&block)
|
171
|
+
@blob && @wiki.markup_class.new(self).render(historical?, &block)
|
124
172
|
end
|
125
173
|
|
126
174
|
# Public: The format of the page.
|
@@ -129,28 +177,7 @@ module Gollum
|
|
129
177
|
# [ :markdown | :textile | :rdoc | :org | :rest | :asciidoc | :pod |
|
130
178
|
# :roff ]
|
131
179
|
def format
|
132
|
-
|
133
|
-
when /\.(md|mkdn?|mdown|markdown)$/i
|
134
|
-
:markdown
|
135
|
-
when /\.(textile)$/i
|
136
|
-
:textile
|
137
|
-
when /\.(rdoc)$/i
|
138
|
-
:rdoc
|
139
|
-
when /\.(org)$/i
|
140
|
-
:org
|
141
|
-
when /\.(creole)$/i
|
142
|
-
:creole
|
143
|
-
when /\.(re?st(\.txt)?)$/i
|
144
|
-
:rest
|
145
|
-
when /\.(asciidoc)$/i
|
146
|
-
:asciidoc
|
147
|
-
when /\.(pod)$/i
|
148
|
-
:pod
|
149
|
-
when /\.(\d)$/i
|
150
|
-
:roff
|
151
|
-
else
|
152
|
-
nil
|
153
|
-
end
|
180
|
+
self.class.format_for(@blob.name)
|
154
181
|
end
|
155
182
|
|
156
183
|
# Public: The current version of the page.
|
@@ -163,7 +190,7 @@ module Gollum
|
|
163
190
|
# options - The options Hash:
|
164
191
|
# :page - The Integer page number (default: 1).
|
165
192
|
# :per_page - The Integer max count of items to return.
|
166
|
-
# :follow - Follow's a file across renames, but falls back
|
193
|
+
# :follow - Follow's a file across renames, but falls back
|
167
194
|
# to a slower Grit native call. (default: false)
|
168
195
|
#
|
169
196
|
# Returns an Array of Grit::Commit.
|
@@ -183,22 +210,17 @@ module Gollum
|
|
183
210
|
#
|
184
211
|
# Returns the footer Page or nil if none exists.
|
185
212
|
def footer
|
186
|
-
|
187
|
-
|
188
|
-
dirs = self.path.split('/')
|
189
|
-
dirs.pop
|
190
|
-
map = @wiki.tree_map_for(self.version.id)
|
191
|
-
while !dirs.empty?
|
192
|
-
if page = find_page_in_tree(map, '_Footer', dirs.join('/'))
|
193
|
-
return page
|
194
|
-
end
|
195
|
-
dirs.pop
|
196
|
-
end
|
213
|
+
@footer ||= find_sub_page(:footer)
|
214
|
+
end
|
197
215
|
|
198
|
-
|
216
|
+
# Public: The sidebar Page.
|
217
|
+
#
|
218
|
+
# Returns the sidebar Page or nil if none exists.
|
219
|
+
def sidebar
|
220
|
+
@sidebar ||= find_sub_page(:sidebar)
|
199
221
|
end
|
200
222
|
|
201
|
-
# Gets a Boolean determining whether this page is a historical version.
|
223
|
+
# Gets a Boolean determining whether this page is a historical version.
|
202
224
|
# Historical pages are pulled using exact SHA hashes and format all links
|
203
225
|
# with rel="nofollow"
|
204
226
|
#
|
@@ -236,14 +258,15 @@ module Gollum
|
|
236
258
|
# Returns the String extension (no leading period).
|
237
259
|
def self.format_to_ext(format)
|
238
260
|
case format
|
239
|
-
when :markdown
|
240
|
-
when :textile
|
241
|
-
when :rdoc
|
242
|
-
when :org
|
243
|
-
when :creole
|
244
|
-
when :rest
|
245
|
-
when :asciidoc
|
246
|
-
when :pod
|
261
|
+
when :markdown then 'md'
|
262
|
+
when :textile then 'textile'
|
263
|
+
when :rdoc then 'rdoc'
|
264
|
+
when :org then 'org'
|
265
|
+
when :creole then 'creole'
|
266
|
+
when :rest then 'rest'
|
267
|
+
when :asciidoc then 'asciidoc'
|
268
|
+
when :pod then 'pod'
|
269
|
+
when :mediawiki then 'mediawiki'
|
247
270
|
end
|
248
271
|
end
|
249
272
|
|
@@ -270,11 +293,11 @@ module Gollum
|
|
270
293
|
#
|
271
294
|
# Returns a Gollum::Page or nil if the page could not be found.
|
272
295
|
def find(name, version)
|
273
|
-
map = @wiki.tree_map_for(version)
|
296
|
+
map = @wiki.tree_map_for(version.to_s)
|
274
297
|
if page = find_page_in_tree(map, name)
|
275
|
-
|
276
|
-
|
277
|
-
page.historical =
|
298
|
+
page.version = version.is_a?(Grit::Commit) ?
|
299
|
+
version : @wiki.commit_for(version)
|
300
|
+
page.historical = page.version.to_s == version.to_s
|
278
301
|
page
|
279
302
|
end
|
280
303
|
rescue Grit::GitRuby::Repository::NoSuchShaFound
|
@@ -285,11 +308,11 @@ module Gollum
|
|
285
308
|
# map - The Array tree map from Wiki#tree_map.
|
286
309
|
# name - The canonical String page name.
|
287
310
|
# checked_dir - Optional String of the directory a matching page needs
|
288
|
-
# to be in. The string should
|
311
|
+
# to be in. The string should
|
289
312
|
#
|
290
313
|
# Returns a Gollum::Page or nil if the page could not be found.
|
291
314
|
def find_page_in_tree(map, name, checked_dir = nil)
|
292
|
-
return nil if name.to_s.empty?
|
315
|
+
return nil if !map || name.to_s.empty?
|
293
316
|
if checked_dir = BlobEntry.normalize_dir(checked_dir)
|
294
317
|
checked_dir.downcase!
|
295
318
|
end
|
@@ -310,9 +333,9 @@ module Gollum
|
|
310
333
|
# path - The String directory path of the page file.
|
311
334
|
#
|
312
335
|
# Returns the populated Gollum::Page.
|
313
|
-
def populate(blob, path)
|
336
|
+
def populate(blob, path=nil)
|
314
337
|
@blob = blob
|
315
|
-
@path =
|
338
|
+
@path = "#{path}/#{blob.name}"[1..-1]
|
316
339
|
self
|
317
340
|
end
|
318
341
|
|
@@ -343,5 +366,29 @@ module Gollum
|
|
343
366
|
false
|
344
367
|
end
|
345
368
|
end
|
369
|
+
|
370
|
+
# Loads a sub page. Sub page nanes (footers) are prefixed with
|
371
|
+
# an underscore to distinguish them from other Pages.
|
372
|
+
#
|
373
|
+
# name - String page name.
|
374
|
+
#
|
375
|
+
# Returns the Page or nil if none exists.
|
376
|
+
def find_sub_page(name)
|
377
|
+
return nil if self.filename =~ /^_/
|
378
|
+
name = "_#{name.to_s.capitalize}"
|
379
|
+
return nil if page_match(name, self.filename)
|
380
|
+
|
381
|
+
dirs = self.path.split('/')
|
382
|
+
dirs.pop
|
383
|
+
map = @wiki.tree_map_for(self.version.id)
|
384
|
+
while !dirs.empty?
|
385
|
+
if page = find_page_in_tree(map, name, dirs.join('/'))
|
386
|
+
return page
|
387
|
+
end
|
388
|
+
dirs.pop
|
389
|
+
end
|
390
|
+
|
391
|
+
find_page_in_tree(map, name, '')
|
392
|
+
end
|
346
393
|
end
|
347
|
-
end
|
394
|
+
end
|