Skip to content

Commit 024f7f2

Browse files
committed
- changing the menu
1 parent f0e7345 commit 024f7f2

10 files changed

Lines changed: 69 additions & 5 deletions

File tree

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 2
9+
trim_trailing_whitespace = true
10+
11+
[*.py]
12+
indent_size = 4
13+
14+
[Makefile]
15+
indent_style = tab

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.pre-commit-config.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: mixed-line-ending
8+
args: [--fix=lf]
9+
- id: check-yaml
10+
- id: check-toml
11+
- id: check-json
12+
- id: check-merge-conflict
13+
- id: detect-private-key
14+
- id: check-added-large-files
15+
- id: no-commit-to-branch
16+
args: [--branch, main]
17+
18+
- repo: https://github.com/igorshubovych/markdownlint-cli
19+
rev: v0.43.0
20+
hooks:
21+
- id: markdownlint
22+
args: [--disable, MD013]
23+
24+
- repo: local
25+
hooks:
26+
- id: forbid-tabs
27+
name: forbid-tabs
28+
entry: '\t'
29+
language: pygrep
30+
types: [text]

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ tests/ Python and R tests
9090

9191
## Development
9292

93+
Install pre-commit hooks:
94+
95+
```bash
96+
python -m pip install pre-commit
97+
pre-commit install
98+
pre-commit run --all-files
99+
```
100+
93101
Run Python tests:
94102

95103
```bash

_pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ template:
44

55
navbar:
66
structure:
7-
left: [reference]
7+
left: [home, reference]
88

99
reference:
1010
- title: Normalization

docs/python/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Python API
2+
3+
This section contains reference docs generated from Python docstrings.
4+
5+
Available modules:
6+
7+
- `crispr_analysis_utils.normalization`

docs/python/normalization.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Normalization
2+
3+
::: crispr_analysis_utils.normalization

docs/python/reference.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/r-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
The full R reference is published under `/r/` via pkgdown.
44

5+
Reference index: `/r/reference/`
6+
57
Build it locally after the MkDocs site:
68

79
```r

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ nav:
3030
- Home: index.md
3131
- Getting started: getting-started.md
3232
- Python API:
33-
- Reference: python/reference.md
33+
- Overview: python/index.md
34+
- Normalization: python/normalization.md
3435
- R API: r-api.md
3536
- Contributing: contributing.md

0 commit comments

Comments
 (0)