Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
33 changes: 13 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
permissions:
id-token: write
contents: write

pages: write

services:
postgres:
image: postgres:latest
Expand Down Expand Up @@ -55,11 +56,6 @@ jobs:
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"

- name: Set required env variables
run: |
echo "DB_USER=postgres" > _environment
Expand All @@ -75,20 +71,17 @@ jobs:
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v2

- name: Render Documentation
- name: Build Documentation
run: |
# Publish Quarto documentation
uv run quarto publish gh-pages --no-prompt --no-browser

# Render README in GitHub Flavored Markdown
uv run quarto render index.qmd --output-dir . --output README.md --to gfm

# Remove index.html if it exists
rm -f index.html
set -a
source _environment
set +a
PYTHONPATH=. uv run great-docs build

- name: Commit version change
uses: stefanzweifel/git-auto-commit-action@v5
- name: Deploy Documentation
uses: peaceiris/actions-gh-pages@v4
with:
commit_message: "Update README"
branch: ${{ github.ref_name }}
file_pattern: "README.md"
github_token: ${{ steps.create_token.outputs.token }}
publish_dir: ./great-docs/_site
publish_branch: gh-pages
force_orphan: false
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@ package.json
.specstory
repomix-output.txt
artifacts/
.cursorindexingignore
.cursorindexingignore
# Great Docs build directory (ephemeral, do not commit)
great-docs/

# Great Docs versioned-build artifacts
_great_docs_build/
.great-docs-build/
.great-docs-cache/
.great-docs/
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@


![Screenshot of the FastAPI webapp template
homepage](docs/static/screenshot.jpg)
homepage](user_guide/static/screenshot.jpg)

## Quickstart

This quickstart guide provides a high-level overview. See the full
documentation for comprehensive information on
[features](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/index.html),
[installation](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/docs/installation.html),
[architecture](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/docs/architecture.html),
[features](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/),
[installation](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/user-guide/installation.html),
[architecture](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/user-guide/architecture.html),
[conventions, code style, and
customization](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/docs/customization.html),
customization](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/user-guide/customization.html),
[deployment to cloud
platforms](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/docs/deployment.html),
platforms](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/user-guide/deployment.html),
and
[contributing](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/docs/contributing.html).
[contributing](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/user-guide/contributing.html).

## Features

Expand Down Expand Up @@ -60,8 +60,7 @@ to deploy to any major cloud hosting platform.
- [Pytest](https://docs.pytest.org/en/7.4.x/): testing framework
- [Docker](https://www.docker.com/): development containerization
- [Github Actions](https://docs.github.com/en/actions): CI/CD pipeline
- [Quarto](https://quarto.org/docs/): simple documentation website
renderer
- [Great Docs](https://posit-dev.github.io/great-docs/): documentation website generator
- [ty](https://docs.astral.sh/ty/): static type checker for Python
- [Bootstrap](https://getbootstrap.com/): HTML/CSS styler
- [Resend](https://resend.com/): zero- or low-cost email service used
Expand All @@ -70,7 +69,7 @@ to deploy to any major cloud hosting platform.
## Installation

For comprehensive installation instructions, see the [installation
page](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/docs/installation.html).
page](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/user-guide/installation.html).

### uv

Expand Down Expand Up @@ -182,10 +181,11 @@ uv run ty check .
## Developing with LLMs

The `.cursor/rules` folder contains a set of AI rules for working on
this codebase in the Cursor IDE. We have also exposed the full
Markdown-formatted project documentation as a [single text
file](docs/static/documentation.txt) for easy downloading and embedding
for RAG.
this codebase in the Cursor IDE. The documentation site also publishes
[llms.txt](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/llms.txt)
and
[llms-full.txt](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/llms-full.txt)
for easy downloading and embedding for RAG.

## Contributing

Expand Down
39 changes: 0 additions & 39 deletions _quarto.yml

This file was deleted.

Loading
Loading