Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: supabase-community/postgres-language-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: supabase-community/postgres-language-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: refs/heads/chore/versioned-docs
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Apr 4, 2025

  1. chore(docs): setup versioned docs

    psteinroe committed Apr 4, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    psteinroe Philipp Steinrötter
    Copy the full SHA
    5f40b01 View commit details
Showing with 141 additions and 0 deletions.
  1. +36 −0 .github/workflows/deploy_dev_docs.yml
  2. +34 −0 .github/workflows/deploy_release_docs.yml
  3. +1 −0 mkdocs.yml
  4. +1 −0 pyproject.toml
  5. +69 −0 uv.lock
36 changes: 36 additions & 0 deletions .github/workflows/deploy_dev_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and Deploy Documentation on Push

on:
push:
branches:
- main

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

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

- name: Set up Python
run: uv python install

- name: Install the project
run: uv sync --all-extras --dev

- name: Configure Git
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Build Docs Website
run: uv run mike deploy --push develop
34 changes: 34 additions & 0 deletions .github/workflows/deploy_release_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and Deploy Release Documentation

on:
release:
types: [published]

permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

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

- name: Set up Python
run: uv python install

- name: Install the project
run: uv sync --all-extras --dev

- name: Configure Git
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Build Docs Website
run: uv run mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ nav:

plugins:
- gh-admonitions
- mike

markdown_extensions:
- admonition
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@ description = "A collection of language tools and a Language Server Protocol (LS
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"mike>=2.1.3",
"mkdocs>=1.6.1",
"mkdocs-github-admonitions-plugin>=0.0.3",
]
69 changes: 69 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.