Skip to content

Commit

Permalink
Install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
craabreu committed Dec 11, 2023
1 parent 809e239 commit fd0668b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions devtools/conda-envs/build-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build
channels:
- conda-forge
dependencies:
- cmake
- compilers
- khronos-opencl-icd-loader
- make
- openmm >=7.7
- pip >=22.2
- pocl
- pytest
- python
- swig =4.0
- numpy

# Docs depends
- sphinx
- sphinxcontrib-bibtex
- sphinx-copybutton
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def create_rst_file(cls):
'sphinx.ext.todo',
'sphinx.ext.mathjax',
'sphinxcontrib.bibtex',
'sphinx_copybutton',
]
if os.getenv('SPELLCHECK'):
extensions += 'sphinxcontrib.spelling',
Expand Down Expand Up @@ -117,3 +118,7 @@ def setup(app):
# External links
extlinks = {'OpenMM': ('http://docs.openmm.org/latest/api-python/generated/openmm.openmm.%s.html',
'openmm.%s')}

# Copy button configuration
copybutton_prompt_text = r">>> |\.\.\. "
copybutton_prompt_is_regexp = True

0 comments on commit fd0668b

Please sign in to comment.