mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-05-11 02:35:58 -04:00
24 lines
579 B
YAML
24 lines
579 B
YAML
version: 2
|
|
|
|
build:
|
|
os: "ubuntu-22.04"
|
|
tools:
|
|
python: "3.8"
|
|
jobs:
|
|
install:
|
|
- pip install .[doc]
|
|
post_build:
|
|
- mkdir -p docs/_build/doctrees docs/_build/markdown "$READTHEDOCS_OUTPUT/html/_markdown"
|
|
- python -m sphinx -T -b markdown -d docs/_build/doctrees -D "language=$READTHEDOCS_LANGUAGE" docs docs/_build/markdown
|
|
- cp docs/_build/markdown/changelog.md "$READTHEDOCS_OUTPUT/html/_markdown/changelog.md"
|
|
|
|
sphinx:
|
|
configuration: docs/conf.py
|
|
|
|
python:
|
|
install:
|
|
- method: pip
|
|
path: .
|
|
extra_requirements:
|
|
- doc
|