Skip to content

Commit 895e07f

Browse files
committed
Don't build docs on Travis-CI
1 parent c7cfd07 commit 895e07f

20 files changed

+80
-79
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish Docs
2+
3+
on: ["push", "pull_request"]
4+
5+
jobs:
6+
run:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- name: Setup Micromamba
12+
uses: mamba-org/provision-with-micromamba@v14
13+
with:
14+
environment-file: false
15+
16+
- name: Create environment
17+
shell: bash -l {0}
18+
run: |
19+
micromamba create --name TEST python=3 --file requirements.txt --file requirements-dev.txt --channel conda-forge
20+
micromamba activate TEST
21+
pip install -e . --no-deps --force-reinstall
22+
23+
- name: Build documentation
24+
shell: bash -l {0}
25+
run: |
26+
set -e
27+
micromamba activate TEST
28+
cp examples/Quickstart.ipynb docs/quickstart.ipynb
29+
pushd docs
30+
make clean html linkcheck
31+
popd
32+
33+
- name: GitHub Pages action
34+
if: ${{ github.event_name == 'release' }}
35+
uses: peaceiris/actions-gh-pages@v3
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
publish_dir: docs/_build/html/

.github/workflows/test_code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, windows-latest]
11-
python-version: ["3.7", "3.10"]
11+
python-version: ["3.7", "3.11"]
1212
fail-fast: false
1313

1414
steps:
1515
- uses: actions/checkout@v3
1616

1717
- name: Setup Micromamba
18-
uses: mamba-org/provision-with-micromamba@v13
18+
uses: mamba-org/provision-with-micromamba@v14
1919
with:
2020
environment-file: false
2121

.github/workflows/test_code_notebooks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111

1212
- name: Setup Micromamba
13-
uses: mamba-org/provision-with-micromamba@v13
13+
uses: mamba-org/provision-with-micromamba@v14
1414
with:
1515
environment-file: false
1616

.github/workflows/test_latest_branca.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111

1212
- name: Setup Micromamba
13-
uses: mamba-org/provision-with-micromamba@v13
13+
uses: mamba-org/provision-with-micromamba@v14
1414
with:
1515
environment-file: false
1616

.github/workflows/test_selenium.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111

1212
- name: Setup Micromamba
13-
uses: mamba-org/provision-with-micromamba@v13
13+
uses: mamba-org/provision-with-micromamba@v14
1414
with:
1515
environment-file: false
1616

.github/workflows/test_style_notebooks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111

1212
- name: Setup Micromamba
13-
uses: mamba-org/provision-with-micromamba@v13
13+
uses: mamba-org/provision-with-micromamba@v14
1414
with:
1515
environment-file: false
1616

.travis.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ using Jupyter's nbviewer:
5858

5959
https://nbviewer.jupyter.org/github/python-visualization/folium/tree/main/examples/
6060

61-
https://nbviewer.jupyter.org/github/python-visualization/folium_contrib/tree/master/notebooks/
61+
https://nbviewer.org/github/python-visualization/folium_contrib/tree/main/notebooks/
6262

6363
Contributing
6464
------------

docs/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,8 @@
245245

246246
# How to display URL addresses: 'footnote', 'no', or 'inline'.
247247
#texinfo_show_urls = 'footnote'
248+
249+
# Ignore tile URLs
250+
linkcheck_ignore = [
251+
r"https://free.*",
252+
]

examples/Quickstart.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@
349349
"## Vincent/Vega and Altair/VegaLite Markers\n",
350350
"\n",
351351
"`folium` enables passing any HTML object as a popup,\n",
352-
"including [`bokeh`](https://bokeh.pydata.org/en/latest/) plots,\n",
352+
"including [`bokeh`](https://docs.bokeh.org/en/latest/) plots,\n",
353353
"but there is a built-in support for [vincent](https://github.com/wrobstory/vincent) and [altair](https://altair-viz.github.io) visualizations to any marker type, with the visualization as the popover."
354354
]
355355
},
@@ -422,7 +422,7 @@
422422
"cell_type": "markdown",
423423
"metadata": {},
424424
"source": [
425-
"For more information about popups, please visit [Popups.ipynb](https://nbviewer.jupyter.org/github/python-visualization/folium/blob/main/examples/Popups.ipynb)"
425+
"For more information about popups, please visit [Popups.ipynb](https://nbviewer.org/github/python-visualization/folium/blob/main/examples/Popups.ipynb)"
426426
]
427427
},
428428
{
@@ -489,7 +489,7 @@
489489
"source": [
490490
"## Choropleth maps\n",
491491
"\n",
492-
"Choropleth can be easily created by binding the data between Pandas DataFrames/Series and Geo/TopoJSON geometries. [Color Brewer](http://colorbrewer2.org/) sequential color schemes are built-in to the library, and can be passed to quickly visualize different combinations."
492+
"Choropleth can be easily created by binding the data between Pandas DataFrames/Series and Geo/TopoJSON geometries. [Color Brewer](https://colorbrewer2.org/) sequential color schemes are built-in to the library, and can be passed to quickly visualize different combinations."
493493
]
494494
},
495495
{
@@ -759,7 +759,7 @@
759759
"source": [
760760
"For more examples and use cases please take a look at the gallery:\n",
761761
"\n",
762-
"https://nbviewer.jupyter.org/github/python-visualization/folium_contrib/tree/main/notebooks/"
762+
"https://nbviewer.org/github/python-visualization/folium_contrib/tree/main/notebooks/"
763763
]
764764
}
765765
],
@@ -779,7 +779,7 @@
779779
"name": "python",
780780
"nbconvert_exporter": "python",
781781
"pygments_lexer": "ipython3",
782-
"version": "3.9.7"
782+
"version": "3.10.6"
783783
},
784784
"toc": {
785785
"base_numbering": 1,

0 commit comments

Comments
 (0)