-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [ci] [docs] use mamba for readthedocs builds (fixes #4954) * update docs * simplify build script and add docs flag to gitignore * exit with non-0 if build fails * update CI job * add doxygen * remove outdated requirement_base.txt reference * use conda create instead of conda env create * fix conda create flags * add nodefaults to env.yml * Update docs/README.rst Co-authored-by: Nikita Titov <[email protected]> * try to fix check-docs CI job * additional changes * switch from mamba to miniforge * simplify docker command and fix issues in local build script * Apply suggestions from code review Co-authored-by: Nikita Titov <[email protected]> * update docs and conda * Apply suggestions from code review Co-authored-by: Nikita Titov <[email protected]> Co-authored-by: Nikita Titov <[email protected]>
- Loading branch information
1 parent
d0467f5
commit 2f27d4b
Showing
9 changed files
with
98 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
rm -f ./_FIRST_RUN.flag | ||
|
||
export PATH="${CONDA}/bin:${PATH}" | ||
|
||
curl \ | ||
-sL \ | ||
-o ${HOME}/miniforge.sh \ | ||
https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh | ||
|
||
/bin/bash ${HOME}/miniforge.sh -b -p ${CONDA} | ||
|
||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q -y conda | ||
|
||
conda env create \ | ||
--name docs-env \ | ||
--file env.yml || exit -1 | ||
|
||
source activate docs-env | ||
make clean html || exit -1 | ||
|
||
echo "Done building docs. Open docs/_build/html/index.html in a web browser to view them." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: docs-env | ||
channels: | ||
- nodefaults | ||
- conda-forge | ||
dependencies: | ||
- breathe | ||
- python=3.9 | ||
- r-base=4.1.2 | ||
- r-data.table=1.14.2 | ||
- r-jsonlite=1.7.2 | ||
- r-knitr=1.37 | ||
- r-matrix=1.4_0 | ||
- r-pkgdown=1.6.1 | ||
- r-rmarkdown=2.11 | ||
- r-roxygen2=7.1.2 | ||
- sphinx | ||
- "sphinx_rtd_theme>=0.5" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.