1
0
Fork 0

Add a custom template for rst2html

This commit is contained in:
Daniele Tricoli 2021-04-17 01:06:19 +02:00
parent 28f4daae43
commit 7adef5701a
2 changed files with 6 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1,3 @@
%(body_pre_docinfo)s
%(docinfo)s
%(body)s