Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
/ elabdoc Public archive

Commit fa41f1d

Browse files
authored
use uv (#55)
* use uv * circleci fixes
1 parent 7af547c commit fa41f1d

File tree

5 files changed

+396
-6
lines changed

5 files changed

+396
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
version: 2.1
22
orbs:
33
# See the orb documentation here: https://circleci.com/developer/orbs/orb/circleci/python
4-
python: circleci/python@1.5.0
4+
python: circleci/python@3.3.0
55

66
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
77
jobs:
88
build:
99
docker:
10-
- image: cimg/python:3.10.2
10+
- image: cimg/python:3.12
1111
steps:
1212
- checkout
1313
- python/install-packages:

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ Main project repository: [elabftw/elabftw](https://github.com/elabftw/elabftw).
1111
~~~bash
1212
git clone https://github.com/elabftw/elabdoc
1313
cd elabdoc
14-
python -m venv venv
15-
source venv/bin/activate
16-
pip install -r requirements.txt
14+
uv sync
1715
~~~
1816

1917
## Config examples
@@ -26,7 +24,7 @@ To generate the HTML documentation:
2624

2725
~~~bash
2826
cd doc
29-
make html
27+
uv run make html
3028
~~~
3129

3230
Then point your browser to the `_build/html/index.html` file inside the `doc/` folder.

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[project]
2+
name = "elabdoc"
3+
version = "5.3.0"
4+
description = "eLabFTW documentation repository"
5+
readme = "README.md"
6+
requires-python = ">=3.12"
7+
dependencies = [
8+
"sphinx>=8.2.3",
9+
"sphinx-rtd-theme>=3.0.2",
10+
]

0 commit comments

Comments
 (0)