From 9c7daefa5082b7c4ce442696a6348c993b4d2b77 Mon Sep 17 00:00:00 2001 From: Wei Kang Date: Mon, 17 Jun 2019 10:26:23 -0700 Subject: [PATCH 1/2] migrate from readthedocs configuration file v1 to v2 --- readthedocs.yml | 25 +++++++++++++++++++------ requirements_docs.txt | 5 ++--- requirements_tests.txt | 1 - 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/readthedocs.yml b/readthedocs.yml index ccf884a..9feb5cb 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,7 +1,20 @@ +# Required +version: 2 + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: doc/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +formats: all + + python: - version: 3.5 - setup_py_install: true - pip_install: true - extra_requirements: - - tests - - docs + version: 3.7 + install: + - requirements: requirements.txt + - method: pip + path: . + extra_requirements: + - tests + - docs diff --git a/requirements_docs.txt b/requirements_docs.txt index 1324d71..81fdee3 100644 --- a/requirements_docs.txt +++ b/requirements_docs.txt @@ -1,7 +1,6 @@ sphinx>=1.4.3 -sphinxcontrib-napoleon -sphinx_gallery sphinxcontrib-bibtex sphinx_bootstrap_theme numpydoc -nbsphinx \ No newline at end of file +nbsphinx +matplotlib diff --git a/requirements_tests.txt b/requirements_tests.txt index 02b9523..fa8032a 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -3,4 +3,3 @@ nose-progressive nose-exclude coverage coveralls -matplotlib \ No newline at end of file From 56783cdf6f99677b0a43988c69760ee33d1701fa Mon Sep 17 00:00:00 2001 From: Wei Kang Date: Mon, 17 Jun 2019 10:57:18 -0700 Subject: [PATCH 2/2] larger width for docs body --- doc/_static/pysal-styles.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/_static/pysal-styles.css b/doc/_static/pysal-styles.css index ca2ef3c..7191df2 100644 --- a/doc/_static/pysal-styles.css +++ b/doc/_static/pysal-styles.css @@ -75,4 +75,8 @@ .label { color: #222222; font-size: 100%; -} \ No newline at end of file +} + +div.body { + max-width: 1080px; +}