-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing build for documentation (#29)
* Add yaml.SafeLoader to conf.py * Update python versions in CI * Update tests * Update readthedocs yml * Fix req path in yml * Remove requirements from readthedoc build * Update badges, doc notebook * Formatting update to notebook
- Loading branch information
1 parent
5363c15
commit e930506
Showing
8 changed files
with
207 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
version: 2 | ||
|
||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.11" | ||
|
||
python: | ||
version: 3.7 | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,39 @@ | ||
# -*- coding: utf-8 -*- | ||
import os | ||
import sys | ||
sys.path.insert(0, os.path.abspath('.')) | ||
sys.path.append(os.path.abspath('extensions')) | ||
import yaml | ||
|
||
sys.path.insert(0, os.path.abspath(".")) | ||
sys.path.append(os.path.abspath("extensions")) | ||
from sktda import __version__ | ||
from sktda_docs_config import * | ||
|
||
project = 'scikit-tda' | ||
copyright = '2019, Nathaniel Saul' | ||
author = 'Nathaniel Saul' | ||
project = "scikit-tda" | ||
copyright = "2019, Nathaniel Saul" | ||
author = "Nathaniel Saul" | ||
version = __version__ | ||
release = __version__ | ||
|
||
html_theme_options.update({ | ||
# Google Analytics info | ||
'ga_ua': 'UA-124965309-1', | ||
'ga_domain': '', | ||
'gh_url': 'scikit-tda' | ||
}) | ||
html_theme_options.update( | ||
{ | ||
# Google Analytics info | ||
"ga_ua": "UA-124965309-1", | ||
"ga_domain": "", | ||
"gh_url": "scikit-tda", | ||
} | ||
) | ||
|
||
html_short_title = project | ||
htmlhelp_basename = 'scikit-tdadoc' | ||
htmlhelp_basename = "scikit-tdadoc" | ||
|
||
html_context = {} | ||
|
||
# Setup library data | ||
import yaml | ||
with open('data/libraries.yaml', 'r') as f: | ||
libraries = yaml.load(f) | ||
with open("data/libraries.yaml", "r") as f: | ||
libraries = yaml.load(f, Loader=yaml.SafeLoader) | ||
|
||
|
||
# import pdb; pdb.set_trace() | ||
html_context['libraries'] = libraries | ||
html_context["libraries"] = libraries | ||
|
||
extensions.append('rstjinja') | ||
extensions.append("rstjinja") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from ripser import * | ||
from persim import * | ||
import ripser | ||
import persim | ||
|
||
import tadasets | ||
|
||
from ._version import __version__ | ||
from ._version import __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters