Commit 68ec9e7
authored
ci: deploy docs to GitHub Pages on push to main (#29)
* docs: deploy to GitHub Pages on push to main
Wires up automated docs publishing now that the source tree is on
MkDocs Material. Build runs on every push to `main` and uploads the
`site/` directory as a Pages artifact; the deploy job ships it to
`https://redis-developer.github.io/sql-redis/`.
Workflow (`.github/workflows/docs.yml`):
- Uses the same uv + Python 3.11 toolchain as `test.yml` and `lint.yml`
for consistency.
- `fetch-depth: 0` so `mkdocs-git-revision-date-localized-plugin` can
walk full history when computing per-page modification dates.
- Builds with `--strict` so broken links or missing references fail the
workflow before deploy runs.
- Deploys via `actions/deploy-pages@v4` (no `gh-pages` branch; uses the
modern Pages "GitHub Actions" source).
- `concurrency: pages` with `cancel-in-progress: false` so concurrent
pushes do not interrupt an in-flight deploy.
Config:
- `mkdocs.yml`: `site_url` -> `https://redis-developer.github.io/sql-redis/`
so canonical links and the auto-generated `llms.txt` point at the
live host.
- `README.md`: replace the "docs site not yet live" callout with a
direct link to the GitHub Pages URL; update the `llms.txt` bullet to
the live URL.
- `AGENTS.md`: same URL update in the discoverable-artifacts table and
the hub-context section.
Pages itself was enabled on the repo with `build_type=workflow` so the
first run of this workflow on `main` is the first publish.
* docs(readme): drop experimental warnings, add centered Redis logo header
- Remove the orange shields.io "Status: Experimental" badge and the
matching blockquote callout. The Experimental tier note still lives
in the docs site for context; the README no longer leads with it.
- Replace the plain `# sql-redis` title with a centered hero block
matching the redisvl README pattern: Redis logo (canonical SVG from
`redis/redis-vl-python/docs/_static/`) + `<h1>sql-redis</h1>` +
one-line tagline + a Documentation / GitHub / PyPI link bar.
- Surface the published docs URL prominently right after the hero so
new readers land on the live site before scrolling.
- Move the local docs preview command (`make docs-serve`) into the
existing Development section where the other `make` targets live.
* chore: remove redundant docs link1 parent 7db408b commit 68ec9e7
4 files changed
Lines changed: 90 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | | - | |
| 7 | + | |
4 | 8 | | |
5 | | - | |
| 9 | + | |
6 | 10 | | |
7 | | - | |
| 11 | + | |
8 | 12 | | |
9 | | - | |
| 13 | + | |
10 | 14 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
428 | 429 | | |
429 | 430 | | |
430 | 431 | | |
431 | | - | |
| 432 | + | |
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
| |||
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
| 442 | + | |
441 | 443 | | |
442 | 444 | | |
443 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments