fix formatting (#527)

This commit is contained in:
Massimiliano Pippi
2025-06-03 12:06:25 +02:00
committed by GitHub
parent 672555a510
commit 452a09011b
8 changed files with 2338 additions and 38 deletions
+1 -1
View File
@@ -13,10 +13,10 @@ dist/
# Project related
.tool-versions
docs/*.lock
# IDEs
.idea
.DS_Store
.vscode
.zed
.claude
+5
View File
@@ -0,0 +1,5 @@
[formatting]
align_comments = false
reorder_keys = false
indent_string = " " # adapt to toml-sort
array_trailing_comma = false # adapt to toml-sort
+5 -5
View File
@@ -6,21 +6,21 @@ This repository contains the documentation for LlamaDeploy, built using MkDocs w
### Prerequisites
- Python 3.10 or higher
- Poetry (for dependency management)
- uv (for dependency management)
### Installation
1. Clone the repository
2. Install dependencies using Poetry:
2. Install dependencies using uv:
```bash
poetry install
uv sync
```
## Development
To start the documentation server locally:
```bash
poetry run mkdocs serve
uv run mkdocs serve
```
This will start a development server at `http://127.0.0.1:8000`.
@@ -41,5 +41,5 @@ Contributions are very welcome!
1. Create a new branch for your changes
2. Make your changes to the documentation
3. Test locally using `poetry run mkdocs serve`
3. Test locally using `uv run mkdocs serve`
4. Submit a pull request
@@ -1,3 +0,0 @@
# `deploy`
::: llama_deploy.deploy
@@ -1,3 +0,0 @@
# `messages`
::: llama_deploy.messages
+22 -17
View File
@@ -1,24 +1,29 @@
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.poetry]
[project]
name = "docs"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
authors = [{name = "Your Name", email = "you@example.com"}]
requires-python = "~=3.11"
readme = "README.md"
package-mode = false
dependencies = [
"llama_deploy[awssqs, rabbitmq, kafka, redis]",
"mkdocs>=1.6.1,<2",
"mkdocstrings[python]>=0.26.1,<0.27",
"mkdocs-include-dir-to-nav>=1.2.0,<2",
"mkdocs-material>=9.5.39,<10",
"mkdocs-redirects>=1.2.1,<2",
"mkdocs-click>=0.8.1,<0.9",
"mkdocs-render-swagger-plugin>=0.1.2,<0.2",
"griffe-fieldz>=0.2.0,<0.3",
"mkdocs-github-admonitions-plugin>=0.0.3,<0.0.4"
]
[tool.poetry.dependencies]
python = "^3.11"
llama_deploy = {path = "../", extras = ["awssqs", "rabbitmq", "kafka", "redis"], develop = true}
mkdocs = "^1.6.1"
mkdocstrings = {extras = ["python"], version = "^0.26.1"}
mkdocs-include-dir-to-nav = "^1.2.0"
mkdocs-material = "^9.5.39"
mkdocs-redirects = "^1.2.1"
mkdocs-click = "^0.8.1"
mkdocs-render-swagger-plugin = "^0.1.2"
griffe-fieldz = "^0.2.0"
mkdocs-github-admonitions-plugin = "^0.0.3"
[tool.uv]
package = false
[tool.uv.sources]
llama_deploy = {path = "../", editable = true}
Generated
+2303
View File
File diff suppressed because it is too large Load Diff
+2 -9
View File
@@ -55,10 +55,7 @@ dependencies = [
]
[project.optional-dependencies]
kafka = [
"aiokafka>=0.11.0,<0.12",
"kafka-python-ng>=2.2.2,<3"
]
kafka = ["aiokafka>=0.11.0,<0.12", "kafka-python-ng>=2.2.2,<3"]
rabbitmq = ["aio-pika>=9.4.2,<10"]
redis = ["redis>=5.0.7,<6"]
@@ -70,8 +67,4 @@ ignore-words-list = "LITS"
skip = "./examples,*/algolia.js,docs/poetry.lock"
[tool.coverage.run]
omit = [
"__main__.py",
"tests/*",
"llama_deploy/apiserver/stats.py"
]
omit = ["__main__.py", "tests/*", "llama_deploy/apiserver/stats.py"]