File tree Expand file tree Collapse file tree 3 files changed +40
-3
lines changed
bindings/python/docs/source Expand file tree Collapse file tree 3 files changed +40
-3
lines changed Original file line number Diff line number Diff line change 79
79
run : |
80
80
pip install check-manifest
81
81
check-manifest -v
82
+
83
+ docs :
84
+ runs-on : ubuntu-latest
85
+ steps :
86
+ - uses : actions/checkout@v2
87
+ - name : Cache conda
88
+ uses : actions/cache@v2
89
+ env :
90
+ # Increase this value to reset cache if environment.yml has not changed
91
+ CACHE_NUMBER : 0
92
+ with :
93
+ path : ~/conda_pkgs_dir
94
+ key :
95
+ ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
96
+ hashFiles('bindings/python/docs/environment.yml') }}
97
+ - uses : conda-incubator/setup-miniconda@v2
98
+ with :
99
+ auto-update-conda : true
100
+ activate-environment : mongo_arrow_documentation
101
+ environment-file : bindings/python/docs/environment.yml
102
+ use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
103
+ - name : Install lib
104
+ shell : bash -l {0}
105
+ run : |
106
+ pip install .
107
+ - name : Build docs with warnings
108
+ shell : bash -l {0}
109
+ run : |
110
+ pushd docs
111
+ make html SPHINXOPTS="-W"
112
+ - name : Run linkcheck
113
+ shell : bash -l {0}
114
+ run : |
115
+ pushd docs
116
+ make linkcheck
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ know to use **PyMongoArrow**.
30
30
Getting Help
31
31
------------
32
32
If you're having trouble or have questions about PyMongoArrow, ask your question on
33
- our `MongoDB Community Forum <https://developer .mongodb.com/community/forums/tags/c/drivers-odms-connectors/7/ python-driver >`_.
33
+ our `MongoDB Community Forum <https://www .mongodb.com/community/forums/tag/ python >`_.
34
34
Once you get an answer, it'd be great if you could work it back into this
35
35
documentation and contribute!
36
36
Original file line number Diff line number Diff line change @@ -30,8 +30,10 @@ To upgrade using pip::
30
30
31
31
$ python -m pip install --upgrade pymongoarrow
32
32
33
- .. attention :: If the install fails due to an error like ``ValueError: Could not find "libbson-1.0" library`` it means that ``pip`` failed to find a
34
- suitable wheel for your platform. We recommend first ensuring you have ``pip `` >= 20.3 installed. To upgrade ``pip `` run::
33
+ .. attention :: If the install fails due to an error like ``ValueError: Could
34
+ not find "libbson-1.0" library`` it means that ``pip `` failed to find a
35
+ suitable wheel for your platform. We recommend first ensuring you have
36
+ ``pip `` >= 20.3 installed. To upgrade ``pip `` run::
35
37
36
38
$ python -m pip install --upgrade pip
37
39
You can’t perform that action at this time.
0 commit comments