File tree Expand file tree Collapse file tree 6 files changed +31
-28
lines changed
Expand file tree Collapse file tree 6 files changed +31
-28
lines changed Original file line number Diff line number Diff line change 99 branches :
1010 - master
1111 - production
12- schedule :
13- # * is a special character in YAML so you have to quote this string
14- - cron : " 0 3 * * 6"
1512 workflow_dispatch :
1613 inputs :
1714 reason :
@@ -32,13 +29,14 @@ jobs:
3229 with :
3330 python-version : 3.12
3431
35- - name : Install dependencies
36- run : |
37- pip install -r requirements.txt
38- pip freeze
32+ - name : Install uv
33+ uses : astral-sh/setup-uv@v6
34+
35+ - name : Install the project
36+ run : uv sync
3937
4038 - name : Build
41- run : mkdocs build --clean --strict -v
39+ run : uv run mkdocs build --clean --strict -v
4240
4341 - name : Check links
4442 uses : untitaker/hyperlink@0.1.44
Original file line number Diff line number Diff line change 11* DS_Store
22site /*
33.cache
4+ uv.lock
Original file line number Diff line number Diff line change 1- variables :
2- MKDOCS_VERSION : ' 1.6.1'
3- MATERIAL_VERSION : ' 9.6.14'
4-
51include :
6- - project : ' authoring/documentation/mkdocs-ci'
7- file : ' mkdocs-gitlab-pages.gitlab-ci.yml'
2+ - project : " authoring/documentation/mkdocs-ci"
3+ file : " mkdocs-gitlab-pages.gitlab-ci.yml"
4+
5+ validation :
6+ script :
7+ - apt update && apt install -y git
8+ - pip install --no-cache-dir uv
9+ - uv sync
10+ - mkdocs build -d public
Original file line number Diff line number Diff line change @@ -6,9 +6,10 @@ This is the source of InvenioRDM user documentation web site. You can view the d
66
77## Running
88
9+ Install [ uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) , then run:
10+
911``` console
10- $ mkvirtualenv docs-invenio-rdm
11- $ pip install -r requirements.txt
12- $ mkdocs serve
12+ $ uv sync
13+ $ uv run mkdocs serve
1314$ firefox http://127.0.0.1:8000
1415```
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " docs-invenio-rdm"
3+ version = " 0.1.0"
4+ description = " InvenioRDM docs"
5+ readme = " README.md"
6+ requires-python = " >=3.12"
7+ dependencies = [
8+ " mkdocs>=1.6.1" ,
9+ " mkdocs-glightbox>=0.5.2" ,
10+ " mkdocs-material>=9.6.22" ,
11+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments