Skip to content

Commit a0da3cc

Browse files
committed
fix! Dismiss keyboard; Min size for small subs
1 parent b4f190f commit a0da3cc

20 files changed

Lines changed: 902 additions & 23 deletions

.github/workflows/docs.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Publish Docs
2+
3+
on:
4+
push:
5+
branches: [master]
6+
paths:
7+
- "docs/**"
8+
9+
jobs:
10+
docs-build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: astral-sh/setup-uv@v3
19+
with:
20+
python-version: '3.12'
21+
- name: Sync docs dependencies
22+
run: cd docs && uv sync
23+
- name: Build site
24+
run: cd docs && uv run mkdocs build --strict
25+
- name: Upload artifact
26+
uses: actions/upload-pages-artifact@v3
27+
with:
28+
path: docs/site
29+
30+
docs-deploy:
31+
runs-on: ubuntu-latest
32+
needs: docs-build
33+
environment:
34+
name: github-pages
35+
url: ${{ steps.deployment.outputs.page_url }}
36+
permissions:
37+
pages: write
38+
id-token: write
39+
steps:
40+
- name: Deploy to GitHub Pages
41+
id: deployment
42+
uses: actions/deploy-pages@v4

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ lib/
6969
4. **Configure notifications** (optional): ensure the iOS simulator/device has
7070
notification permissions enabled so local reminders can fire.
7171

72+
## GitHub Pages Policies
73+
74+
Static policy/support pages for App Store review live in `docs/`. The folder now
75+
contains a minimal Jekyll setup (`_config.yml`, `_layouts`, and `assets`) so
76+
Markdown pages gain HTML wrappers when GitHub Pages builds the `gh-pages`
77+
branch. The `Publish Docs` workflow pushes the folder to `gh-pages` only when a
78+
commit touching `docs/` lands on `master`, so publishing simply means editing
79+
Markdown with the required front matter (`layout`, `title`, `permalink`) and
80+
pushing your change. Preview the pages locally with any static server (they
81+
render as plain Markdown locally) or let GitHub Pages handle the Jekyll build.
82+
7283
## Testing
7384

7485
All unit and widget tests run through `flutter test --coverage`, and coverage

docs/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.python-version
2+
.venv
3+
site/

docs/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build:
2+
uv run mkdocs build --strict
3+
4+
serve:
5+
uv run mkdocs serve

docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Subctrl Docs
2+
3+
Use [uv](https://docs.astral.sh/uv/) for building and serving the documentation.
4+
5+
```bash
6+
uv sync
7+
uv run mkdocs serve
8+
```
9+
10+
Static docs are located in `docs/site`.

docs/mkdocs.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
site_name: Subctrl Docs
2+
site_description: "Docs for publishing Subctrl on App Store"
3+
site_url: https://gonfff.github.io/subctrl
4+
repo_url: https://github.com/gonfff/subctrl
5+
repo_name: subctrl
6+
docs_dir: pages
7+
site_dir: site
8+
nav:
9+
- Home: index.md
10+
- Policy:
11+
- Privacy Policy (EN): policy-en.md
12+
- Политика конфиденциальности (RU): policy-ru.md
13+
- Support:
14+
- Support Subctrl (EN): support-en.md
15+
- Поддержка Subctrl (RU): support-ru.md
16+
17+
theme:
18+
name: material
19+
language: en
20+
favicon: assets/favicon-32x32.png
21+
features:
22+
- content.code.copy
23+
- navigation.sections
24+
- navigation.top
25+
markdown_extensions:
26+
- toc:
27+
permalink: true
2.04 KB
Loading

docs/pages/assets/wallets.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"version": "1.0.0",
3+
"updated": "2026-01-03",
4+
"wallets": [
5+
{
6+
"currency": "BTC",
7+
"name": "Bitcoin",
8+
"label": "BTC",
9+
"address": "bc1qjtjzlxel5mn3pvtps2u2wnfease44783r5nmhl",
10+
"network": "Bitcoin"
11+
},
12+
{
13+
"currency": "USDT",
14+
"name": "Tether",
15+
"label": "USDT (TRC20)",
16+
"address": "TRsN3XgSXdeQz3yoGusW3f94KHsBNE62yR",
17+
"network": "TRON (TRC20)"
18+
},
19+
{
20+
"currency": "ETH",
21+
"name": "Ethereum",
22+
"label": "ETH",
23+
"address": "0xDf3275d97DF7Ba76d12ec0F82378C1e0628A5F6F",
24+
"network": "Ethereum"
25+
},
26+
{
27+
"currency": "TON",
28+
"name": "Toncoin",
29+
"label": "TON",
30+
"address": "UQCYgQSiRx5pk5E0ALzhz6WsFjuK3SyPiAe7vYG5uhidsyqj",
31+
"network": "TON"
32+
},
33+
{
34+
"currency": "SOL",
35+
"name": "Solana",
36+
"label": "SOL",
37+
"address": "2KRt8ASpGasvMSaWZfgFfrFgb1LaUHzudHfGiEcF9vVK",
38+
"network": "Solana"
39+
}
40+
]
41+
}

docs/pages/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Subctrl Docs
2+
3+
Dead-simple subscription tracker for iOS, built with Flutter/Cupertino widgets.
4+
Subctrl keeps tabs on recurring costs, converts currencies automatically, and
5+
sends optional local reminders before renewals hit.
6+
7+
- [Privacy Policy (English)](policy-en.md)
8+
- [Политика конфиденциальности (Russian)](policy-ru.md)
9+
- [Support (English)](support-en.md)
10+
- [Поддержка (Russian)](support-ru.md)
11+
12+
Add any additional public pages for the store review process in this folder so
13+
`gh-pages` can be rebuilt without touching the Flutter app bundle.

docs/pages/policy-en.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Privacy Policy
2+
3+
## Last updated: January 2026
4+
5+
## Data Collection
6+
7+
The application does not collect, store, or transmit any personal data to the developer or third parties.
8+
9+
## iCloud
10+
11+
User data may be stored in iCloud to enable backup and synchronization between devices.
12+
All data is associated only with the user’s Apple ID and is not accessible to the developer.
13+
14+
## Third-Party Services
15+
16+
The application does not use third-party analytics, advertising, or tracking services.
17+
18+
## Data Security
19+
20+
All data is stored securely on the user’s device and/or in iCloud in accordance with Apple’s security standards.
21+
22+
## Changes
23+
24+
This privacy policy may be updated in the future. Changes will be reflected on this page.
25+
26+
## Contact
27+
28+
If you have any questions about this privacy policy, you can contact the developer at: dementev926@yandex.ru

0 commit comments

Comments
 (0)