forked from plotly/graphing-library-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
33 lines (27 loc) · 1008 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
all : search_readme
search_readme :
@echo ""
less make_instructions.txt
update_js_search :
@echo "Updating js_docs search index"
python update_js_docs_search.py
update_python_search :
@echo "Updating python_docs index"
rm -rf plotly.py _posts/python/html
git clone git@github.com:plotly/plotly.py --branch=doc-prod --depth=1
cp -R plotly.py/doc/python _posts/python/html
python process_python_md.py
bundle exec jekyll algolia push --config _config_python_search.yml
rm -rf plotly.py _posts/python/html
update_r_search :
@echo "Updating r_docs index"
rm -rf plotly.r-docs _posts/r/md _posts/ggplot2/md
git clone git@github.com:plotly/plotly.r-docs --branch=master --depth=1
bash process_r_md.sh
cp -R plotly.r-docs/r/ _posts/r/md
cp -R plotly.r-docs/ggplot2/ _posts/ggplot2/md
bundle exec jekyll algolia push --config _config_r_search.yml
rm -rf plotly.r-docs _posts/r/md _posts/ggplot2/md
update_ref_search :
@echo "Updating search for reference pages"
python update_ref_search.py