mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 07:57:38 -04:00
Gitit is a wiki program written in Haskell. It uses Happstack for the web server and pandoc for markup processing. Pages and uploaded files are stored in a git, darcs, or mercurial repository and may be modified either by using the VCS's command-line tools or through the wiki's web interface. By default, pandoc's extended version of markdown is used as a markup language, but reStructuredText, LaTeX, HTML, DocBook, or Emacs Org-mode markup can also be used. Gitit can be configured to display TeX math (using texmath) and highlighted source code (using highlighting-kate). Other features include * plugins: dynamically loaded page transformations written in Haskell (see "Network.Gitit.Interface") * categories * caching * Atom feeds (site-wide and per-page) * a library, "Network.Gitit", that makes it simple to include a gitit wiki in any happstack application WWW: https://github.com/jgm/gitit PR: 273260
22 lines
814 B
Text
22 lines
814 B
Text
--- data/default.conf.orig 2023-07-10 14:38:47 UTC
|
|
+++ data/default.conf
|
|
@@ -266,10 +266,19 @@ feed-days: 14
|
|
feed-refresh-time: 60
|
|
# number of minutes to cache feeds before refreshing
|
|
|
|
+exports: no
|
|
+# if yes, export options will be enabled. Beware, this might disclose
|
|
+# any file contents readable by the gitit process by maliciously
|
|
+# crafting pages that include files!
|
|
+
|
|
pdf-export: no
|
|
# if yes, PDF will appear in export options. PDF will be created using
|
|
# pdflatex, which must be installed and in the path. Note that PDF
|
|
# exports create significant additional server load.
|
|
+
|
|
+pdf-engine: pdflatex
|
|
+# change this to have pandoc use a different engine for PDF creation,
|
|
+# like xelatex, wkhtmltopdf, pdfroff, etc.
|
|
|
|
pandoc-user-data:
|
|
# if a directory is specified, this will be searched for pandoc
|