Skip to content

Commit 6c43b9d

Browse files
Zeroto521ericmjl
andauthored
[INF] Set independent environment for building documentation (#1141)
* Create mkdocs/environment.yaml * correct commands * correct file path * Try to remove ipython * Update CHANGELOG.md * correct word Co-authored-by: Eric Ma <[email protected]> Co-authored-by: Eric Ma <[email protected]>
1 parent f753323 commit 6c43b9d

File tree

3 files changed

+26
-6
lines changed

3 files changed

+26
-6
lines changed

.github/workflows/docs-preview.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ jobs:
2222
with:
2323
auto-update-conda: true
2424
miniforge-variant: Mambaforge
25-
channels: conda-forge
26-
activate-environment: pyjanitor-dev
27-
environment-file: environment-dev.yml
25+
environment-file: mkdocs/environment.yaml
2826
use-mamba: true
2927

3028
- name: Build docs
3129
run: |
32-
conda activate pyjanitor-dev
33-
python -m ipykernel install --user --name pyjanitor-dev
34-
pip install -e .
30+
pip install .
3531
mkdocs build
3632
3733
- name: Deploy docs preview to Netlify

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- [ENH] `dropna` parameter added to `pivot_longer`. Issue #1132 @samukweku
1717
- [INF] Update `mkdocstrings` version and to fit its new coming features. PR #1138 @Zeroto521
1818
- [BUG] Force `math.softmax` returning `Series`. PR #1139 @Zeroto521
19+
- [INF] Set independent environment for building documentation. PR #1141 @Zeroto521
1920

2021
## [v0.23.1] - 2022-05-03
2122

mkdocs/environment.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: pyjanitor-doc
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python
6+
# required
7+
- pandas
8+
- pandas-flavor
9+
- multipledispatch
10+
- scipy
11+
# optional
12+
- biopython
13+
- natsort
14+
- pyspark>=3.2.0
15+
- rdkit
16+
- tqdm
17+
- unyt
18+
- xarray
19+
- numba
20+
# doc
21+
- mkdocs
22+
- mkdocs-material
23+
- mkdocstrings-python

0 commit comments

Comments
 (0)