From 64ff075b7076727affdc521a2209afd852d3f024 Mon Sep 17 00:00:00 2001 From: Stanislav Khrapov Date: Wed, 1 Jul 2026 08:30:02 +0200 Subject: [PATCH 1/5] Publish docs in GH pages --- .github/workflows/workflow.yaml | 10 ++++++++++ .readthedocs.yaml | 21 --------------------- README.md | 1 - pyproject.toml | 1 + 4 files changed, 11 insertions(+), 22 deletions(-) delete mode 100644 .readthedocs.yaml diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index d8257b6..4854db2 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -135,3 +135,13 @@ 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: Push + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages + force: true 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 = [ From 8b968bfd26e511214a3086e5daa4b943a87dc3ae Mon Sep 17 00:00:00 2001 From: Stanislav Khrapov Date: Wed, 1 Jul 2026 08:31:19 +0200 Subject: [PATCH 2/5] Publish docs in GH pages on a branch --- .github/workflows/workflow.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 4854db2..98e4ff0 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -107,6 +107,12 @@ jobs: run: uv sync --group doc - name: Build documentation run: uv run mkdocs build -s -c + - name: Push + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages + force: true publish: name: Build and publish wheels From 5f44d479289dc4b70210b7261bca2ceb7a8af4ac Mon Sep 17 00:00:00 2001 From: Stanislav Khrapov Date: Wed, 1 Jul 2026 08:33:10 +0200 Subject: [PATCH 3/5] add commit --- .github/workflows/workflow.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 98e4ff0..7cefa4b 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -107,6 +107,12 @@ jobs: run: uv sync --group doc - name: Build documentation run: uv run mkdocs build -s -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: From d328948e47b9f559de05cc0a40e56fca7f4e23b8 Mon Sep 17 00:00:00 2001 From: Stanislav Khrapov Date: Wed, 1 Jul 2026 08:38:22 +0200 Subject: [PATCH 4/5] remove site from gitignore --- .github/workflows/workflow.yaml | 6 ++++++ .gitignore | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 7cefa4b..eab3c21 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -151,6 +151,12 @@ jobs: 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: 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 From 3c972ac45d2fe843be12782ca345c0035105f1f3 Mon Sep 17 00:00:00 2001 From: Stanislav Khrapov Date: Wed, 1 Jul 2026 08:40:48 +0200 Subject: [PATCH 5/5] revert --- .github/workflows/workflow.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index eab3c21..bf73b6f 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -107,18 +107,6 @@ jobs: run: uv sync --group doc - name: Build documentation run: uv run mkdocs build -s -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 publish: name: Build and publish wheels