Skip to content

Commit 447344e

Browse files
[pre-commit.ci] pre-commit autoupdate (#156)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/alessandrojcm/commitlint-pre-commit-hook: v9.26.0 → v9.27.0](alessandrojcm/commitlint-pre-commit-hook@v9.26.0...v9.27.0) - [github.com/pycqa/isort: 9.0.1 → 9.0.2](PyCQA/isort@9.0.1...9.0.2) - [github.com/psf/black-pre-commit-mirror: 26.5.1 → 26.10.0](psf/black-pre-commit-mirror@26.5.1...26.10.0) - [github.com/PyCQA/flake8: 7.3.0 → 7.4.1](PyCQA/flake8@7.3.0...7.4.1) * Docs: Fix docs generation --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Adrien Berchet <adrien.berchet@epfl.ch>
1 parent 4e0900f commit 447344e

6 files changed

Lines changed: 35 additions & 19 deletions

File tree

‎.gitignore‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ examples/.ipynb_checkpoints
4141
# Node
4242
node_modules
4343
package-lock.json
44+
45+
# uv
46+
uv.lock
47+
48+
# graft's local graph cache — regenerable, not committed (run `graft build`).
49+
/graft/

‎.ignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# graft's cards are gitignored but should stay greppable: ripgrep reads
2+
# .ignore before .gitignore, so this re-admits the tree to search only.
3+
!graft/
4+
graft/.cache/
5+
graft/.graph/

‎.pre-commit-config.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ repos:
1111
- id: end-of-file-fixer
1212
- id: trailing-whitespace
1313
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
14-
rev: v9.26.0
14+
rev: v9.27.0
1515
hooks:
1616
- id: commitlint
1717
language_version: 20.17.0
1818
stages:
1919
- commit-msg
2020
additional_dependencies: ['conventional-changelog-conventionalcommits@4.6.3']
2121
- repo: https://github.com/pycqa/isort
22-
rev: 9.0.1
22+
rev: 9.0.2
2323
hooks:
2424
- id: isort
2525
- repo: https://github.com/psf/black-pre-commit-mirror
26-
rev: 26.5.1
26+
rev: 26.10.0
2727
hooks:
2828
- id: black
2929
- repo: https://github.com/codespell-project/codespell
@@ -37,7 +37,7 @@ repos:
3737
- id: pydocstyle
3838
additional_dependencies: ["tomli"]
3939
- repo: https://github.com/PyCQA/flake8
40-
rev: 7.3.0
40+
rev: 7.4.1
4141
hooks:
4242
- id: flake8
4343
ci:

‎CONTRIBUTING.md‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22

33
We would love for you to contribute to this package and help make it even better than it is today!
44
As a contributor, here are the guidelines we would like you to follow:
5-
* [Issues and Bugs](#issue)
6-
* [Feature Requests](#feature)
7-
* [Submission Guidelines](#submit)
5+
* [Issues and Bugs](#got-a-question-or-found-a-bug)
6+
* [Feature Requests](#missing-a-feature)
7+
* [Submission Guidelines](#submission-guidelines)
88

9-
## <a name="issue"></a> Got a question or found a bug?
9+
## Got a question or found a bug?
1010

1111
If you have a question or find a bug in the source code, you can help us by
12-
[submitting an issue](#submit-issue) to our [GitHub Repository][github]. Even better, you can
13-
[submit a Pull Request](#submit-pr) with a fix.
12+
[submitting an issue](#submitting-an-issue) to our [GitHub Repository][github]. Even better, you can
13+
[submit a Pull Request](#submitting-a-pull-request-pr) with a fix.
1414

15-
## <a name="feature"></a> Missing a Feature?
15+
## Missing a Feature?
1616

17-
You can *request* a new feature by [submitting an issue](#submit-issue) to our
17+
You can *request* a new feature by [submitting an issue](#submitting-an-issue) to our
1818
[GitHub Repository][github]. If you would like to *implement* a new feature, please submit an
1919
issue with a proposal for your work first, to be sure that we can use it. Then
20-
[submit a Pull Request](#submit-pr) that points to this issue.
20+
[submit a Pull Request](#submitting-a-pull-request-pr) that points to this issue.
2121

2222
Please consider what kind of change it is:
2323
* For a **Major Feature**, first open an issue and outline your proposal so that it can be
2424
discussed. This will also allow us to better coordinate our efforts, prevent duplication of work,
2525
and help you to craft the change so that it is successfully accepted into the project.
26-
* **Small Features** can be crafted and directly [submitted as a Pull Request](#submit-pr).
26+
* **Small Features** can be crafted and directly [submitted as a Pull Request](#submitting-a-pull-request-pr).
2727

28-
## <a name="submit"></a> Submission Guidelines
28+
## Submission Guidelines
2929

30-
### <a name="submit-issue"></a> Submitting an Issue
30+
### Submitting an Issue
3131

3232
Before you submit an issue, please search the issue tracker, maybe an issue for your problem
3333
already exists and the discussion might inform you of workarounds readily available.
@@ -37,7 +37,7 @@ and confirm it. In order to reproduce bugs we will need as much information as p
3737
[Minimal Working Example](https://stackoverflow.com/help/minimal-reproducible-example), and
3838
preferably be in touch with you to gather information.
3939

40-
### <a name="submit-pr"></a> Submitting a Pull Request (PR)
40+
### Submitting a Pull Request (PR)
4141

4242
When you wish to contribute to the code base, please consider the following guidelines:
4343
* Make a [fork](https://guides.github.com/activities/forking/) of this repository.
@@ -119,7 +119,7 @@ main (upstream) repository:
119119
git pull --ff upstream main
120120
```
121121
122-
### <a name="release"></a> Releasing a new version
122+
### Releasing a new version
123123
124124
Releasing a new version can only be done by the maintainers.
125125

‎docs/source/_static/custom.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* Keep section titles visible below the fixed header when following an anchor link */
2+
section {
3+
scroll-margin-top: 4rem;
4+
}

‎docs/source/conf.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
# Add any paths that contain custom static files (such as style sheets) here,
6666
# relative to this directory. They are copied after the builtin static files,
6767
# so a file named "default.css" will overwrite the builtin "default.css".
68-
# html_static_path = ['_static']
68+
html_static_path = ["_static"]
69+
html_css_files = ["custom.css"]
6970

7071
html_theme_options = {
7172
"metadata_distribution": package_name,

0 commit comments

Comments
 (0)