diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index d8257b6..bf73b6f 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -135,3 +135,19 @@ jobs: run: uv build - name: Publish run: uv publish + - name: Install dependencies + run: uv sync --group doc + - name: Build documentation + run: uv run mkdocs build -c + - name: Commit + run: | + git add --all + git config --global user.email "khrapovs@gmail.com" + git config --global user.name "Stanislav Khrapov" + git commit --all -m "sys: Build documentation" + - name: Push + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages + force: true diff --git a/.gitignore b/.gitignore index b934a2a..2907d28 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ benchmark_history.svg __pycache__/ venv/ .venv/ -site/ docs/reference/ *.egg-info .coverage diff --git a/.readthedocs.yaml b/.readthedocs.yaml deleted file mode 100644 index d737d59..0000000 --- a/.readthedocs.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# .readthedocs.yaml -# Read the Docs configuration file -# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details - -# Required -version: 2 - -build: - os: ubuntu-24.04 - tools: - python: "3.14" - -mkdocs: - configuration: mkdocs.yaml - -python: - install: - - method: pip - path: . - extra_requirements: - - doc diff --git a/README.md b/README.md index ac0d198..3e64be7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Order Book Matching Engine ![pytest](https://github.com/khrapovs/OrderBookMatchingEngine/actions/workflows/workflow.yaml/badge.svg) -[![Documentation Status](https://readthedocs.org/projects/order-book-matching-engine/badge/?version=latest)](https://order-book-matching-engine.readthedocs.io/en/latest/?badge=latest) [![!pypi](https://img.shields.io/pypi/v/order-matching)](https://pypi.org/project/order-matching/) [![!python-versions](https://img.shields.io/pypi/pyversions/order-matching)](https://pypi.org/project/order-matching/) [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit) diff --git a/pyproject.toml b/pyproject.toml index e5f0c34..5680930 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] requires-python = ">=3.10" dependencies = [