Register rstHandler to restore experimental reST support
authorAnthony Fok <foka@debian.org>
Wed, 21 Jan 2015 13:05:16 +0000 (06:05 -0700)
committerAnthony Fok <foka@debian.org>
Wed, 21 Jan 2015 13:41:19 +0000 (06:41 -0700)
commit19c52ab0b5a5a8f89d43dcc2e2a15e2f53170017
tree67caec1e7d94f74c7683cafba64734fb4635e897
parent1cc638693713d7f4ce564b91302af72e3d8531e2
Register rstHandler to restore experimental reST support

(Experimental) reStructuredText support was working in v0.12,
but was no longer handled after some refactoring in v0.13-DEV.
That experimental support is now restored.

Furthermore, check for both rst2html and rst2html.py in the PATH,
and execute whichever is found.

See #472 for more information.
helpers/content.go
hugolib/handler_page.go