Skip to content

Commit

Permalink
RTD: Update & Conda Env
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jan 14, 2025
1 parent e5108b1 commit 52f44ab
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ build:
tools:
python: "mambaforge-latest"

# custom build process
# https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
commands:
# dependencies
- mamba install -c conda-forge mystmd
# build
- myst build --html
# deploy
- mkdir -p $READTHEDOCS_OUTPUT
- mv _build/html $READTHEDOCS_OUTPUT/html
sphinx:
configuration: conf.py

conda:
environment: conda.yml

formats:
- htmlzip
- pdf
- epub
24 changes: 24 additions & 0 deletions conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# For local development, create the environment like this:
# conda env create -y -f conda.yml
# conda activate lattice-standard
#
name: lattice-standard

channels:
- conda-forge
- nodefaults

dependencies:
- docutils
- python
- myst-parser
- pip
- pybtex
- pygments
- recommonmark
- sphinx
- sphinx-copybutton
- sphinx-design
- sphinxcontrib-bibtex
- sphinxcontrib-napoleon
# - sphinx_rtd_theme

0 comments on commit 52f44ab

Please sign in to comment.