Add a custom template for rst2html
This commit is contained in:
parent
28f4daae43
commit
7adef5701a
|
@ -1,6 +1,8 @@
|
|||
FROM gitea/gitea:1.14.1
|
||||
|
||||
RUN apk --no-cache add py3-pip gawk
|
||||
RUN apk --no-cache add py3-pip
|
||||
RUN pip3 install docutils Pygments
|
||||
|
||||
COPY docutils_template.txt /usr/share/docutils/writers/htmlbody/template.txt
|
||||
|
||||
EXPOSE 3000
|
||||
|
|
3
docutils_template.txt
Normal file
3
docutils_template.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
%(body_pre_docinfo)s
|
||||
%(docinfo)s
|
||||
%(body)s
|
Loading…
Reference in a new issue