Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb0680d

Browse files
tweaking algolia index scripts
1 parent 8006190 commit bb0680d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

_config_python_search.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ exclude: [
1818
'_posts/nodejs',
1919
'_posts/temp',
2020
'vendor', 'node_modules',
21-
'plotly.py-docs'
21+
'plotly.py'
2222
]
2323

2424
# ---
@@ -37,7 +37,7 @@ algolia:
3737
- '*.png'
3838
- '*.Rmd'
3939
- '*.R'
40-
- 'plotly.py-docs'
40+
- 'plotly.py'
4141
- '_posts/dashboards'
4242
- '_posts/ggplot2'
4343
- '_posts/julia'

makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ update_js_search :
1111

1212
update_python_search :
1313
@echo "Updating python_docs index"
14-
rm -rf plotly.py-docs _posts/python/html
15-
git clone [email protected]:plotly/plotly.py-docs --depth=1
16-
cp -R plotly.py-docs/python _posts/python/html
14+
rm -rf plotly.py _posts/python/html
15+
git clone [email protected]:plotly/plotly.py --branch=doc-prod --depth=1
16+
cp -R plotly.py/doc/python _posts/python/html
1717
python process_python_md.py
1818
bundle exec jekyll algolia push --config _config_python_search.yml
19-
rm -rf plotly.py-docs _posts/python/html
19+
rm -rf plotly.py _posts/python/html
2020

2121
update_r_search :
2222
@echo "Updating r_docs index"

0 commit comments

Comments
 (0)