forked from repo-mirrors/sqlfluff
31 lines
740 B
YAML
31 lines
740 B
YAML
# .readthedocs.yml
|
|
# Read the Docs configuration file
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
# Required
|
|
version: 2
|
|
|
|
# Build documentation in the docs/source directory with Sphinx
|
|
sphinx:
|
|
configuration: docs/source/conf.py
|
|
|
|
# Don't build any additional formats
|
|
formats: []
|
|
|
|
# Optionally set the version of Python and requirements required to build your docs.
|
|
# In our case we need both the docs requirements and the package itself.
|
|
python:
|
|
install:
|
|
- requirements: docs/requirements.txt
|
|
- method: pip
|
|
path: .
|
|
|
|
build:
|
|
os: ubuntu-22.04
|
|
tools:
|
|
python: "3.11"
|
|
jobs:
|
|
# Before building, generate the rule & dialect docs
|
|
pre_build:
|
|
- python docs/generate-auto-docs.py
|