Skip to content
Open
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
23 changes: 14 additions & 9 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.10"
nodejs: "16"
commands:
- npm install -g yarn
- yarn install
- yarn clean
- yarn build-prod
- mkdir --parents _readthedocs/html
- mv dist/* _readthedocs/html/
python: "3.12"
jobs:
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs
build:
html:
- mkdir --parents _readthedocs/html
- cd quarto-site; uv run quarto render --output-dir ../_readthedocs/html/
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[project]
name = "mypycampes"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []

[dependency-groups]
docs = [
"quarto-cli>=1.8.25",
]
1 change: 1 addition & 0 deletions quarto-site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.quarto/
17 changes: 17 additions & 0 deletions quarto-site/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
project:
type: website

website:
title: "pycamp"
navbar:
left:
- href: index.qmd
text: Home
- about.qmd
- current_event.qmd

format:
html:
css: styles.css
theme: cosmo
toc: true
Loading