Skip to content

Commit

Permalink
change docs build (trial)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben9809 committed May 4, 2024
1 parent a034713 commit 72e2341
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

build:
os: "ubuntu-22.04"
os: ubuntu-22.04
tools:
python: "3.8"
jobs:
post_create_environment:
# Install poetry
- pip install poetry
post_install:
# Install dependencies
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only docs

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
configuration: docs/source/conf.py

# Optionally build your docs in additional formats such as PDF
formats: []

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: docs/source/requirements.txt

45 changes: 45 additions & 0 deletions docs/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Production
POT==0.9.0
analytics-python>=1.2.7, <2.0.0
arch==5.5.0
cvxpy==1.3.1
cython==0.29.28
dash==2.10.2
getmac>=0.8.0, <1.0.0
jupyter-dash>=0.2.0, <1.0.0
keras==2.12.0
lxml>=4.9.1
matplotlib==3.7.1
mpmath==1.2.1
networkx>=2.2, <2.6
numpy==1.23.5
pandas==2.0.0
pmdarima==2.0.3
protobuf>=3.20.3
pyvinecopulib==0.5.5
requests_html==0.10.0
scikit-learn==1.1.3
scipy>=1.2.0, <2.0.0
scs==3.2.0
seaborn==0.12.2
statsmodels==0.14.0
tensorflow-macos==2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64'
tensorflow==2.12.0; sys_platform != 'darwin' or platform_machine != 'arm64'
werkzeug==2.2.3
yahoo-fin==0.8.9.1
yfinance==0.2.24

# Develop
coverage==7.2.7
docutils==0.18.1 # Docs
hudsonthames-sphinx-theme==0.1.5 # Docs
jinja2<3.1 # Docs
pyarmor==8.2.5 # Encryption
pylint==2.17.4
pytest==7.3.1
releases==1.6.3 # Docs
sphinx-copybutton==0.5.2 # docs
sphinx-rtd-theme==1.2.2 # docs
sphinx-autoapi==2.1.1
sphinx-tabs==3.4.1
myst-parser==2.0.0 # Docs

0 comments on commit 72e2341

Please sign in to comment.