2023-03-07 16:31:47 +01:00
2023-03-04 17:16:14 +01:00
2023-03-07 16:31:47 +01:00
2023-03-06 17:46:05 +01:00

Gitea Asciidoc

Un script python pour permettre le rendu de fichier Asciidoc dans gitea avec le support pour les commandes include::.

Utilisation

Récuperation du script :

git clone https://git.leserveurdansmongrenier.uk/leo/gitea-asciidoc.git

Exemple :

python3 clone_for_markdown.py <repo name (/username/repo)> <repo prefix (can be an URL)> <cache path>

Configuration Gitea :

app.ini
[markup.asciidoc]
ENABLED = true
FILE_EXTENSIONS = .adoc,.asciidoc
RENDER_COMMAND = "python3 /var/lib/gitea/gitea-asciidoc-script/clone_for_markdown.py $GITEA_PREFIX_SRC /var/lib/gitea/git/repositories /var/lib/gitea/markdown_cache"
IS_INPUT_FILE = false
Description
AsciiDoc interface for gitea
Readme 51 KiB
Languages
Python 100%