Skip to content

Commit

Permalink
fix: read the docs build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohulan committed Jan 17, 2024
1 parent 36dad79 commit af8a779
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ repos:
- id: check-yaml
- id: debug-statements
- id: requirements-txt-fixer
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.1
hooks:
- id: docformatter
args: [--in-place]
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
Expand Down
8 changes: 7 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@
# Required
version: 2

# Set the OS, Python version 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/conf.py

# Optionally build your docs in additional formats such as PDF
formats:
- pdf
- epub

# Optionally set the version of Python and requirements required to build your docs
python:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Install DECIMER in the command line using pip:

.. code-block::
$ pip install decimer
pip install decimer
.. toctree::
:maxdepth: 2
Expand Down

0 comments on commit af8a779

Please sign in to comment.