Skip to content

Commit

Permalink
Merge pull request #63 from brittonsmith/cifix
Browse files Browse the repository at this point in the history
Update to new circleci images.
  • Loading branch information
brittonsmith committed Aug 22, 2022
2 parents 39cc6a8 + 6866bc2 commit 7329bd6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Expand Up @@ -115,7 +115,7 @@ executors:
type: string
default: latest
docker:
- image: circleci/python:<< parameters.tag >>
- image: cimg/python:<< parameters.tag >>

jobs:
tests:
Expand All @@ -133,6 +133,7 @@ jobs:
name: python
tag: << parameters.tag >>

resource_class: large
working_directory: ~/yt_georaster

steps:
Expand Down Expand Up @@ -178,7 +179,7 @@ workflows:
jobs:
- tests:
name: "Python 3.8 tests"
tag: "3.8.12"
tag: "3.8.13"
coverage: 1
ytdev: 1

Expand All @@ -193,5 +194,5 @@ workflows:
jobs:
- tests:
name: "Python 3.8 tests"
tag: "3.8.12"
tag: "3.8.13"
ytdev: 1
13 changes: 11 additions & 2 deletions doc/source/conf.py
Expand Up @@ -15,6 +15,7 @@
# sys.path.insert(0, os.path.abspath('.'))

import glob
import os

# -- Project information -----------------------------------------------------

Expand All @@ -27,6 +28,13 @@
# The full version, including alpha/beta/rc tags.
release = "1.0.0.dev1"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = 'en'


# -- General configuration ---------------------------------------------------

Expand All @@ -36,7 +44,6 @@
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.imgmath",
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
]
Expand All @@ -45,7 +52,9 @@
"yt": ("http://yt-project.org/docs/dev/", None),
}

autosummary_generate = glob.glob("api_reference.rst")
if not os.environ.get('READTHEDOCS') == 'True':
autosummary_generate = glob.glob("api_reference.rst")
extensions.append("sphinx.ext.autosummary")

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down

0 comments on commit 7329bd6

Please sign in to comment.