diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3f3618e..ab3c4b4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -2,14 +2,17 @@ version: 2 sphinx: builder: html + configuration: docs/source/conf.py build: - os: ubuntu-20.04 + os: ubuntu-24.04 tools: - python: "3.9" - rust: "1.64" + python: latest + rust: latest python: install: - method: pip path: . + extra_requirements: + - docs diff --git a/Cargo.toml b/Cargo.toml index ee18a06..350b70e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "python-vibrato" -version = "0.2.2" +version = "0.2.3" edition = "2021" [lib] diff --git a/pyproject.toml b/pyproject.toml index d167149..c14cf55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,3 +6,18 @@ build-backend = "maturin" name = "vibrato" dynamic = ["version"] requires-python = ">=3.10" +description = "🎤 vibrato: VIterbi-Based acceleRAted TOkenizer" +readme = "README.md" +classifiers = [ + "License :: OSI Approved :: Apache Software License", + "License :: OSI Approved :: MIT License", + "Programming Language :: Rust", + "Topic :: Software Development :: Libraries", + "Topic :: Text Processing", +] + +[project.optional-dependencies] +docs = [ + "sphinx", + "sphinx-rtd-theme", +]