forked from hiddify/hiddify.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
18 lines (12 loc) · 778 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
prepare:
pip install "mkdocs-material[imaging]==9.2.5" mkdocs-rss-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-authors-plugin mkdocs-awesome-pages-plugin mkdocs-nav-weight nltk mkdocs-include-markdown-plugin mkdocs-exclude
pip install -U --force-reinstall git+https://github.com/hiddify/mkdocs-static-i18n git+https://github.com/hiddify/mkdocs git+https://github.com/hiddify/lunr.py
sudo apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev pngquant
docs:
@mkdocs serve --no-livereload
live:
@env DEV=true mkdocs serve
tw:
@npx tailwindcss -i ./input.css -o ./docs/assets/css/site.css
.PHONY: all test clean docs
idx = lunr(ref='location',fields=('title', 'text'),documents={'location':1},languages="fa",)