Skip to content

Commit

Permalink
Merge pull request #19 from MDAnalysis/readthedocs
Browse files Browse the repository at this point in the history
Setup ReadTheDocs
  • Loading branch information
lunamorrow authored Oct 9, 2024
2 parents cb7466e + 77ddacc commit d2df17c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:

- name: Install dependencies
run: |
pip install pipx twine openbabel<3.0.0
pip install pipx twine openbabel>=3.0.0
- name: Build package
run: |
Expand Down
21 changes: 15 additions & 6 deletions docs/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
name: mda_openbabel_converter-docs
channels:

- conda-forge

- defaults
dependencies:
# Base depends
# Base depends
- python
- pip

- mdanalysis-sphinx-theme >=1.0.1
# Pip-only installs
#- pip:

# MDAnalysis
- MDAnalysis
- MDAnalysisTests

# OpenBabel
- openbabel >= 3.0.0

# Testing
- pytest
- pytest-cov
- pytest-xdist
- codecov
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ maintainers = [
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"MDAnalysis>=2.0.0",
"openbabel>=3.0.0"
"MDAnalysis>=2.0.0"
]
keywords = [
"molecular simulations",
Expand Down
8 changes: 4 additions & 4 deletions readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ build:
tools:
python: "mambaforge-4.10"

conda:
environment: docs/requirements.yaml

python:
install:
- method: pip
path: .

conda:
environment: docs/requirements.yaml
path: .

0 comments on commit d2df17c

Please sign in to comment.