Skip to content

Commit

Permalink
improve config and env file
Browse files Browse the repository at this point in the history
related to #41
  • Loading branch information
abearab committed Apr 6, 2024
1 parent ef37050 commit 0891b07
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
20 changes: 1 addition & 19 deletions docs/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,11 @@ channels:
- anaconda
- conda-forge
dependencies:
- python=3.9
- scanpy
- python-igraph
- leidenalg
- pandas<2.0
- anndata
- numpy
- scipy
- matplotlib<3.7
- seaborn
- pyarrow
- ipykernel
- mscorefonts
- rust>=1.72
- python
- myst-parser=0.18.1
- sphinx=5.3.0
- sphinx_rtd_theme=1.1.1
- sphinxcontrib-bibtex
- pip
- pip:
- click
- polars
- biobear
- numba
- pydeseq2
- watermark
5 changes: 1 addition & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
sphinx
pandas
anndata
scanpy
myst-parser
sphinx_bootstrap_theme
pip
nbsphinx
sphinx-rtd-theme
pydeseq2
sphinxcontrib-bibtex
24 changes: 24 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,30 @@

language = 'en'

# improve class docs
# By default, Sphinx ignores docstrings for __init__.py and shows only top-level docstrings for the class itself.

autoclass_content = 'both'

autodoc_mock_imports = [
"numpy",
"pandas",
"scipy",
"matplotlib",
"seaborn",
"scanpy",
"anndata",
"screenpro",
"pyarrow",
"biobear",
"click",
"polars",
"biobear",
"numba",
"pydeseq2",
"watermark"
]

# Bibliography settings
bibtex_bibfiles = ["references.bib"]
bibtex_reference_style = "author_year"
Expand Down

0 comments on commit 0891b07

Please sign in to comment.