Created
September 18, 2018 03:35
-
-
Save JamesTheAwesomeDude/9047e21db8c86af430fe69af96916a8e to your computer and use it in GitHub Desktop.
Gitea RST support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; append this FRAGMENT to gitea/custom/conf/app.ini | |
; NOTE: you must first run apt install python3-pip | |
; and python3 -m pip install docutils | |
; (if the latter is NOT run as root, be sure that ~/.local/bin is in PATH) | |
[markup.restructuredtext] | |
ENABLED = true | |
FILE_EXTENSIONS = .rst | |
RENDER_COMMAND = rst2html.py | |
IS_INPUT_FILE = false | |
; That's all! Enjoy RST support in your Gitea server next time it restarts! | |
; ( IMPORTANT TODO: does this do a security hole ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment