feat(mods): Add external RST renderer

This commit is contained in:
jeanluc
2022-05-11 09:36:25 +02:00
parent 93849b8001
commit a2ddc1c1a1
37 changed files with 762 additions and 0 deletions

14
gitea/mods/rst/clean.sls Normal file
View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# vim: ft=sls
{%- set tplroot = tpldir.split('/')[0] %}
{%- set sls_config_file = tplroot ~ '.config.file' %}
{%- from tplroot ~ "/map.jinja" import mapdata as gitea with context %}
{%- from tplroot ~ "/libtofs.jinja" import files_switch with context %}
Gitea RST external renderer is absent:
file.absent:
- names:
- {{ gitea.lookup.mod_rst.chroma_build_path }}
- {{ gitea.lookup.mod_rst.chroma_bin }}
- {{ gitea.lookup.mod_rst.path }}