Skip to content

Commit

Permalink
Fix readthedocs build (#133)
Browse files Browse the repository at this point in the history
* update documentation build
  • Loading branch information
barrust committed Jan 6, 2024
1 parent ef22c59 commit 425030b
Show file tree
Hide file tree
Showing 23 changed files with 115 additions and 3,255 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Expand Up @@ -24,6 +24,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install -e .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
22 changes: 22 additions & 0 deletions .readthedocs.yaml
@@ -0,0 +1,22 @@
# .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 version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

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

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
2 changes: 2 additions & 0 deletions requirements.txt → docs/requirements.txt
@@ -1,2 +1,4 @@
sphinx>=3.0
sphinx-rtd-theme
requests>=2.0.0,<3.0.0
beautifulsoup4
4 changes: 4 additions & 0 deletions docs/source/_static/custom.css
@@ -0,0 +1,4 @@
/* Set the properties to be full width */
dl.py.property {
display: block !important;
}
19 changes: 0 additions & 19 deletions docs/source/_themes/custom_theme/__init__.py

This file was deleted.

82 changes: 0 additions & 82 deletions docs/source/_themes/custom_theme/breadcrumbs.html

This file was deleted.

52 changes: 0 additions & 52 deletions docs/source/_themes/custom_theme/footer.html

This file was deleted.

0 comments on commit 425030b

Please sign in to comment.