Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ jobs:
with:
auto-update-conda: true
miniforge-variant: Mambaforge
channels: conda-forge
activate-environment: pyjanitor-dev
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value of channels and activate-environment use the variable of mkdocs/environment.yml

environment-file: environment-dev.yml
environment-file: mkdocs/environment.yml
use-mamba: true

- name: Build docs
run: |
conda activate pyjanitor-dev
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default will activate that env

python -m ipykernel install --user --name pyjanitor-dev
pip install -e .
pip install .
mkdocs build

- name: Deploy docs preview to Netlify
Expand Down
24 changes: 24 additions & 0 deletions mkdocs/environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: pyjanitor-doc
channels:
- conda-forge
dependencies:
- python
# required
- pandas
- pandas-flavor
- multipledispatch
- scipy
# optional
- biopython
- natsort
- pyspark>=3.2.0
- rdkit
- tqdm
- unyt
- xarray
- numba
# doc
- mkdocs
- mkdocs-material
- mkdocstrings-python
- ipython