Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
Julia Signell edited this page Nov 7, 2018 · 2 revisions

Website building instructions

conda env create -f environment.yml
conda activate earthml
conda install -c pyviz/label/dev nbsite sphinx_ioam_theme
nbsite generate-rst --org pyviz-topics --project-name earthml --offset 1 --skip '.*Carbon_Flux.*' --nblink=bottom
nbsite build --what=html --output=builtdocs

# To view:
cd builtdocs; python -m http.server

# Transfer to gh-pages branch
#e.g

git rm -r *
rm -r *
cp -r ../../EarthML/doc/_build/html/* .
echo earthml.pyviz.org > CNAME
git add *  # DO NOT ADD .doctrees!
Clone this wiki locally