feat(mods): Add external RST renderer
This commit is contained in:
14
gitea/mods/rst/clean.sls
Normal file
14
gitea/mods/rst/clean.sls
Normal 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 }}
|
||||
Reference in New Issue
Block a user