Skip to content

Commit

Permalink
Fix readthedocs.yml (#59)
Browse files Browse the repository at this point in the history
* readthedocs requires `build` block to be set, see https://docs.readthedocs.io/en/stable/config-file/index.html

* populate `.gitignore` with `egg-info`, `build` and `_build`

* version bump to 1.2.7
  • Loading branch information
lukashergt authored Mar 11, 2024
1 parent 2055125 commit 3b0ce70
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
__pycache__
margarine.egg-info/
build
_build
8 changes: 7 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.8"

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

Expand All @@ -12,7 +19,6 @@ formats:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Introduction

:margarine: Marginal Bayesian Statistics
:Authors: Harry T.J. Bevins
:Version: 1.2.6
:Version: 1.2.7
:Homepage: https://github.com/htjb/margarine
:Documentation: https://margarine.readthedocs.io/

Expand Down

0 comments on commit 3b0ce70

Please sign in to comment.