support md in TOS
This commit is contained in:
parent
28c3ae47de
commit
6cb8b68bd0
@ -26,6 +26,7 @@ rdatadir=$(datadir)/taler/exchange
|
||||
|
||||
tosen_DATA = \
|
||||
tos/en/*.txt \
|
||||
tos/en/*.md \
|
||||
tos/en/*.pdf \
|
||||
tos/en/*.epub \
|
||||
tos/en/*.xml \
|
||||
@ -33,6 +34,7 @@ tosen_DATA = \
|
||||
|
||||
ppen_DATA = \
|
||||
pp/en/*.txt \
|
||||
pp/en/*.md \
|
||||
pp/en/*.pdf \
|
||||
pp/en/*.epub \
|
||||
pp/en/*.xml \
|
||||
|
@ -29,6 +29,10 @@ do
|
||||
else
|
||||
mv _build/$f/${VERSION}.$f $l/${VERSION}.$f
|
||||
fi
|
||||
if test $f = "txt"
|
||||
then
|
||||
cp $l/${VERSION}.$f $l/${VERSION}.md
|
||||
fi
|
||||
done
|
||||
done
|
||||
cd ..
|
||||
|
@ -29,6 +29,10 @@ do
|
||||
else
|
||||
mv _build/$f/${VERSION}.$f $l/${VERSION}.$f
|
||||
fi
|
||||
if test $f = "txt"
|
||||
then
|
||||
cp $l/${VERSION}.$f $l/${VERSION}.md
|
||||
fi
|
||||
done
|
||||
done
|
||||
cd ..
|
||||
|
@ -388,6 +388,7 @@ load_terms (struct TALER_MHD_Legal *legal,
|
||||
{ .ext = ".html", .mime = "text/html", .priority = 100 },
|
||||
{ .ext = ".htm", .mime = "text/html", .priority = 99 },
|
||||
{ .ext = ".txt", .mime = "text/plain", .priority = 50 },
|
||||
{ .ext = ".md", .mime = "text/markdown", .priority = 50 },
|
||||
{ .ext = ".pdf", .mime = "application/pdf", .priority = 25 },
|
||||
{ .ext = ".jpg", .mime = "image/jpeg" },
|
||||
{ .ext = ".jpeg", .mime = "image/jpeg" },
|
||||
|
Loading…
Reference in New Issue
Block a user