Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2f525e3
chore: migrate to uv, ruff, and ty
korbonits Apr 11, 2026
3212e67
pinning ty
korbonits Apr 11, 2026
bce9ca6
chore: migrate docs deploy workflow to uv and pin ty version
korbonits Apr 11, 2026
034311d
chore: make --locked explicit instead of implicit
korbonits Apr 11, 2026
d0d7ccb
chore: update documentation
korbonits Apr 11, 2026
c46f58a
chore: fix all ruff lint and format errors
korbonits Apr 11, 2026
72f2c88
Merge pull request #158 from korbonits/chore/uv-ruff-ty
petertzy Apr 13, 2026
3d3d3c0
Add korbonits to contributors list (#158)
github-actions[bot] Apr 13, 2026
44ac9d1
remove the complex logic for a specific mathematic page
petertzy Apr 13, 2026
5980c9b
fix the format issue
petertzy Apr 13, 2026
30d8bd5
Merge pull request #159 from petertzy/peter/delete-complex-logic-for-…
petertzy Apr 13, 2026
8b5f892
modify the readme file and docs/index.md file
petertzy Apr 13, 2026
a98b222
Solving the problem of packaging and generating an app
petertzy Apr 13, 2026
7a46118
fix ruff check issue
petertzy Apr 13, 2026
37fae20
lock uv
petertzy Apr 13, 2026
85bd301
docs: add Testing and uv workflow sections to README and docs
korbonits Apr 14, 2026
b91d909
Merge pull request #160 from korbonits/docs/testing-and-uv-workflow
petertzy Apr 14, 2026
958542a
moved the installation instructions round so that it made more sense …
Yolsh Apr 20, 2026
b30dea4
Merge pull request #164 from Yolsh/Documentation-Improvements
petertzy Apr 22, 2026
3fb669b
Add Yolsh to contributors list (#164)
github-actions[bot] Apr 22, 2026
a1603b8
task 1 and 2
dhuhaaf Apr 22, 2026
ae3f452
fix: unify virtual environment to .venv, fix indentation in ui.py, pi…
petertzy Apr 23, 2026
9221bb0
Merge pull request #165 from dhuhaaf/new-tasks
petertzy Apr 23, 2026
4c36690
Add dhuhaaf to contributors list (#165)
github-actions[bot] Apr 23, 2026
ba7185e
Move some files to other directories
petertzy Apr 23, 2026
750341f
update
petertzy Apr 23, 2026
890f172
Merge pull request #166 from petertzy/peter/Refactor
petertzy Apr 23, 2026
64b1725
Update README.MD
petertzy Apr 24, 2026
369bf21
Update README.MD
petertzy Apr 24, 2026
eea3797
update
petertzy Apr 24, 2026
43be29c
Merge branch 'main' of https://github.com/petertzy/markdown-reader
petertzy Apr 24, 2026
933b1c5
Update README.MD
petertzy Apr 24, 2026
7142418
fix open issue
petertzy Apr 24, 2026
7b4f87c
fix save issue
petertzy Apr 24, 2026
d77ff8f
fix save issue advanced
petertzy Apr 24, 2026
b4d3bc1
update
petertzy Apr 24, 2026
ec43387
update
petertzy Apr 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: 3.x
- run: pip install mkdocs mkdocs-material
- run: mkdocs gh-deploy --force
enable-cache: true

- name: Set up Python
run: uv python install

- name: Install docs dependencies
run: uv sync --locked --extra docs

- name: Deploy
run: uv run mkdocs gh-deploy --force
66 changes: 49 additions & 17 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,58 @@
name: Python CI

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
build:
lint:
name: Lint & format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true

- name: Set up Python
run: uv python install

- name: Install dev dependencies
run: uv sync --locked --extra dev

- name: ruff check
run: uv run ruff check .

- name: ruff format (check)
run: uv run ruff format --check .

- name: ty check (experimental)
run: uv run ty check .
continue-on-error: true # ty is still in early release

test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt

- name: Run syntax check
run: |
python -m py_compile app.py
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true

- name: Set up Python
run: uv python install

- name: Install dependencies
run: uv sync --locked

- name: Syntax check
run: uv run python -m py_compile app.py

- name: Run tests
run: uv run python -m unittest discover -s tests
15 changes: 11 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@
build/
dist/

# Python virtual environments
venv/
# Python virtual environment (project standard)
.venv/

# Frontend dependencies and build artifacts
frontend/node_modules/
frontend/.next/
frontend/out/

# Tauri/Rust build artifacts
frontend/src-tauri/target/
frontend/src-tauri/gen/
frontend/src-tauri/binaries/

# Local environment secrets
.env
.env.local
Expand All @@ -28,6 +37,4 @@ document.html
LICENCE.pdf
.gitignore

scripts

site/
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.5
hooks:
# Fix lint issues (including import sorting I001)
- id: ruff
args: [--fix]
# Auto-format code
- id: ruff-format
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.14
3 changes: 3 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Thank you to all the contributors who have helped make Markdown Reader better!
- [@raza-khan0108](https://github.com/raza-khan0108) - Code contributions
- [@O-sama12](https://github.com/O-sama12) - QA and testing

- [@korbonits](https://github.com/korbonits) - chore: migrate to uv, ruff, and ty (#158)
- [@Yolsh](https://github.com/Yolsh) - moved the installation instructions round so that it made more sense … (#164)
- [@dhuhaaf](https://github.com/dhuhaaf) - new features: add word count status bar and recent files menu (#165)
## How to Contribute

We welcome contributions! Please see our [CONTRIBUTING.md](CONTRIBUTING.md) guide for details on how to:
Expand Down
Loading
Loading