Skip to content

Commit

Permalink
0.0.2: Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Sep 21, 2021
1 parent 89e9593 commit 44bbd6b
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v1
Expand Down
25 changes: 25 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

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

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: requirements.txt
- method: setuptools
path: .
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# sphinx-exec-code
![Tests Status](https://github.com/spacemanspiff2007/sphinx-exec-code/workflows/Tests/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/sphinx-exec-code/badge/?version=latest)](https://sphinx-exec-code.readthedocs.io/en/latest/)
[![Updates](https://pyup.io/repos/github/spacemanspiff2007/sphinx-exec-code/shield.svg)](https://pyup.io/repos/github/spacemanspiff2007/sphinx-exec-code/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/sphinx-exec-code)
![PyPI](https://img.shields.io/pypi/v/sphinx-exec-code)
[![Downloads](https://pepy.tech/badge/sphinx-exec-code/month)](https://pepy.tech/project/sphinx-exec-code)
Expand Down
2 changes: 1 addition & 1 deletion src/sphinx_exec_code/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.1'
__version__ = '0.0.2'
2 changes: 1 addition & 1 deletion src/sphinx_exec_code/sphinx_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def builder_ready(app):
def setup(app):
""" Register sphinx_execute_code directive with Sphinx """

doc_src = Path(app.srcdir)
doc_src = Path(app.confdir)

cwd = str(doc_src.parent)

Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist =
py36
py37
py38
py39
flake
docs
docs

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, flake, docs
3.9: py39
Expand Down

0 comments on commit 44bbd6b

Please sign in to comment.