mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-07 19:08:35 +03:00
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
# .readthedocs.yaml
|
|
# Read the Docs configuration file
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
# Required
|
|
version: 2
|
|
|
|
# Set the OS, Python version and other tools you might need
|
|
build:
|
|
os: ubuntu-22.04
|
|
tools:
|
|
python: "3.9"
|
|
jobs:
|
|
post_create_environment:
|
|
# Install pipenv
|
|
- pip install pipenv
|
|
post_install:
|
|
# Install dev dependencies, without using a virtual environment
|
|
- pipenv install --dev --system
|
|
# This is a sloppy workaround
|
|
- python -m spacy download xx_ent_wiki_sm
|
|
- python -m spacy download fr_core_news_sm
|
|
- python -m spacy download de_core_news_sm
|
|
- python -m spacy download nl_core_news_sm
|
|
- python -m spacy download it_core_news_sm
|
|
- python -m spacy download ru_core_news_sm
|
|
- python -m spacy download en_core_web_sm
|
|
|
|
# Build documentation in the "docs/" directory with Sphinx
|
|
sphinx:
|
|
configuration: docs/source/conf.py
|
|
|
|
# Optionally build your docs in additional formats such as PDF and ePub
|
|
# formats:
|
|
# - pdf
|
|
# - epub
|
|
|
|
# Optional but recommended, declare the Python requirements required
|
|
# to build your documentation
|
|
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
|
|
# python:
|
|
# install:
|
|
# - requirements: docs/requirements.txt |