Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/docs/readthedocs/settings/local_settings.py

11 lines
326 B
Python
Raw Normal View History

docs: Add RTD local_settings file, to add custom templates.
2014-12-21 11:21:06 +00:00
import os
# Directory that the project lives in, aka ../..
all: Update Python formatting to ruff-format. This updates a small number of files that change with ruff-format's (vs black's) rules. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-10-21 17:40:27 +11:00
SITE_ROOT = "/".join(os.path.dirname(__file__).split("/")[0:-2])
docs: Add RTD local_settings file, to add custom templates.
2014-12-21 11:21:06 +00:00
TEMPLATE_DIRS = (
all: Update Python formatting to ruff-format. This updates a small number of files that change with ruff-format's (vs black's) rules. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-10-21 17:40:27 +11:00
"%s/templates/"
% SITE_ROOT, # Your custom template directory, before the RTD one to override it.
"%s/readthedocs/templates/" % SITE_ROOT, # Default RTD template dir
docs: Add RTD local_settings file, to add custom templates.
2014-12-21 11:21:06 +00:00
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 174ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API