Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ProdDev
Jenkins PortalDocs folderDocs folder
Jenkinsfiles/ci/jenkinsci/jenkins

...

Prerequisites - You will need Docker.  Refer You will also need a Docker account from hub.docker.com. Refer to [ci/README.md](https://github.com/apache/incubator-mxnet/blob/master/ci/README.md) for setup instructions for Docker and docker-python. Be sure to run `docker login` before running the following script. These are required for running the `build.py` script.

...

ci/docker/runtime_functions.sh build_python_docs

or directly running

pushd docs/python_docs
eval "$(/work/miniconda/bin/conda shell.bash hook)"
conda env create -f environment.yml -p /work/conda_env
conda activate /work/conda_env
pip install themes/mx-theme
pip install -e /work/mxnet/python --user
pushd python
make clean
make html EVAL=0

To fully emulate the Jenkinsfile that generates the website, you may call each runtime_function for each docs package and for the Jekyll site then deploy the contents of your `docs/_build/` folder.

...