Skip to content

Commit a540a2e

Browse files
authored
docs: update doc-environment.yml file and Documentation Setup documentation (#3058)
<!--Add a description of your PR here--> This PR fixes #3054 by updating the `doc-environment.yml` file: - Add `sphinxawesome-theme`, `snakemake-interface-common >=1.17.0`, `snakemake-interface-executor-plugins >=9.1.0`, `snakemake-interface-storage-plugins >=3.2.3` dependencies - Replace `ratelimiter` by `throttler` - Update required Python version from 3.7 to 3.11 Another option which I mentioned in #3054 would be to merge the `test-environment.yml` and `doc-environment.yml`. Let me know if you would prefer this. ### QC <!-- Make sure that you can tick the boxes below. --> * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. (N.A.) * [x] The documentation (`docs/`) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated Python version requirement to 3.11 for improved functionality. - Added new dependencies to enhance environment capabilities. - Introduced improved documentation styling options with `sphinxawesome-theme`. - Added instructions for installing the development version of Snakemake in the contributing guide. - **Bug Fixes** - Corrected hyperlink references in documentation for clarity and accuracy. - **Documentation** - Enhanced clarity and precision in descriptions related to modular workflows. - Updated terminology throughout documentation for consistency. - Improved navigation and accessibility of documentation links. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent bf9305b commit a540a2e

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

doc-environment.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
channels:
22
- conda-forge
33
dependencies:
4-
- python >=3.7
4+
- python >=3.11
55
- datrie
66
- wrapt
77
- pyyaml
88
- requests
99
- appdirs
1010
- docutils
11-
- ratelimiter
11+
- throttler
1212
- configargparse
1313
- jsonschema
1414
- gitpython
1515
- sphinx
1616
- pip
1717
- pip:
1818
- sphinxcontrib-napoleon
19+
- snakemake-interface-common >=1.17.0
20+
- snakemake-interface-executor-plugins >=9.1.0
21+
- snakemake-interface-storage-plugins >=3.2.3
1922
- sphinx-argparse
2023
- sphinx_rtd_theme
24+
- sphinxawesome-theme
2125
- docutils
2226
- recommonmark
2327
- commonmark

docs/project_info/contributing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ Snakemake development environment via
186186
$ cd snakemake
187187
$ conda env create -f doc-environment.yml -n snakemake
188188
189+
You will also need to install your development version of Snakemake for the docs to be built correctly
190+
191+
.. code-block:: console
192+
193+
$ pip install -e .
194+
189195
Then, the docs can be built with
190196

191197
.. code-block:: console

0 commit comments

Comments
 (0)