Skip to content

Commit 616404b

Browse files
committed
Update mkdocs build.
1 parent 9e49b5b commit 616404b

7 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: build
22

3+
permissions: read-all
4+
35
on:
46
workflow_dispatch:
57
push:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
- uses: astral-sh/setup-uv@v7
1515
- run: uv venv --system-site-packages
1616
- run: uv build
17-
- run: uv run --with lupyne mkdocs gh-deploy --force
17+
- run: uv run mkdocs -w . gh-deploy --force
1818
- uses: pypa/gh-action-pypi-publish@release/v1

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ lint:
88
uv run mypy -p lupyne.engine
99

1010
html:
11-
PYTHONPATH=$(PWD) uv run mkdocs build
11+
uv run -w . mkdocs build

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ See `./lupyne/services/README.md` for services usage.
3636

3737
## Installation
3838
```console
39-
% pip install lupyne[graphql,rest]
39+
pip install lupyne[graphql,rest]
4040
```
4141

4242
PyLucene is not `pip` installable.
@@ -53,5 +53,5 @@ PyLucene is not `pip` installable.
5353
100% branch coverage.
5454

5555
```console
56-
% pytest [--cov]
56+
pytest [--cov]
5757
```

docs/examples.ipynb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@
530530
],
531531
"metadata": {
532532
"kernelspec": {
533-
"display_name": "Python 3",
533+
"display_name": ".venv",
534534
"language": "python",
535535
"name": "python3"
536536
},
@@ -544,12 +544,7 @@
544544
"name": "python",
545545
"nbconvert_exporter": "python",
546546
"pygments_lexer": "ipython3",
547-
"version": "3.12.1"
548-
},
549-
"vscode": {
550-
"interpreter": {
551-
"hash": "6ecdebf77f2ee3a47348d003f751c63e810ca996c1c68d1179f338200fa83b34"
552-
}
547+
"version": "3.14.0"
553548
}
554549
},
555550
"nbformat": 4,

lupyne/services/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Services use [Starlette's config](https://www.starlette.io/config/): in environm
22

33
## [GraphQL](https://graphql.org)
44
```console
5-
% DIRECTORIES=... SCHEMA=... uvicorn lupyne.services.graphql:app
5+
DIRECTORIES=... SCHEMA=... uvicorn lupyne.services.graphql:app
66
```
77

88
Open <http://localhost:8000/graphql>.
@@ -25,7 +25,7 @@ type FieldDoc {
2525

2626
## [REST](https://en.wikipedia.org/wiki/Representational_state_transfer)
2727
```console
28-
% DIRECTORIES=... SCHEMA=... uvicorn lupyne.services.rest:app
28+
DIRECTORIES=... SCHEMA=... uvicorn lupyne.services.rest:app
2929
```
3030

3131
Open <http://localhost:8000/docs>.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers = [
1616
"Programming Language :: Python :: 3.11",
1717
"Programming Language :: Python :: 3.12",
1818
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
1920
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
2021
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
2122
"Topic :: Software Development :: Libraries :: Python Modules",

0 commit comments

Comments
 (0)