Skip to content

Commit

Permalink
fix docs, update readme (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
WardDeb authored Jul 19, 2024
2 parents 8aa9d2e + 8e58360 commit d683c11
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: docs

on:
push:
branches: [ prod, main, WD, manke ]
pull_request:
branches: [ prod, main, WD, manke ]

defaults:
run:
Expand All @@ -23,6 +21,7 @@ jobs:
- name: build docs
run: |
micromamba activate dissectBCL
pip install .
cd docs
pip install -r requirements.txt
make html
2 changes: 0 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ name: pytest

on:
push:
branches: [ prod, main, WD, manke, tests ]
pull_request:
branches: [ prod, main, WD, manke, tests ]

defaults:
run:
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Documentation Status](https://readthedocs.org/projects/dissectbcl/badge/?version=latest)](https://dissectbcl.readthedocs.io/en/latest/?badge=latest)
![flake8](https://github.com/maxplanck-ie/dissectBCL/actions/workflows/flake.yml/badge.svg)
![pytest](https://github.com/maxplanck-ie/dissectBCL/actions/workflows/pytest.yml/badge.svg)
[![Lint](https://github.com/maxplanck-ie/dissectBCL/actions/workflows/lint.yml/badge.svg)](https://github.com/maxplanck-ie/dissectBCL/actions/workflows/lint.yml)
![Pytest](https://github.com/maxplanck-ie/dissectBCL/actions/workflows/pytest.yml/badge.svg)

# dissectBCL

Expand All @@ -12,7 +12,7 @@ Clone this repository, create the environment and pip install

> git clone [email protected]:maxplanck-ie/dissectBCL.git
> cd dissectBCL
> conda create -f env.yml --name dissectBCL
> conda create -f env.yml --name dissectBCL
> conda activate dissectBCL
> pip install ./
Expand All @@ -26,6 +26,10 @@ or

> dissect -c /path/to/config.ini
or

> dissect -f /path/to/flowcell.ini
## Docs.

Documentation is available [here](https://dissectbcl.readthedocs.io/en/latest/).
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sphinx_rtd_theme
from pbr.version import VersionInfo
from importlib.metadata import version as versionFetcher
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
Expand All @@ -11,7 +11,7 @@
project = 'dissectBCL'
copyright = '2024'
author = 'wardDeb'
release = VersionInfo('dissectBCL').version_string()
release = versionFetcher("dissectBCL")

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
5 changes: 2 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
sphinx==7.2.6
sphinx_rtd_theme==2.0.0
pbr==6.0.0
sphinx>=7.2.6
sphinx_rtd_theme>=2.0.0

0 comments on commit d683c11

Please sign in to comment.