From dd62ba50fbd26548aca69b22933459d71c6f0b7f Mon Sep 17 00:00:00 2001 From: Richard R <58728519+rrjbca@users.noreply.github.com> Date: Sat, 18 Nov 2023 12:05:35 +0000 Subject: [PATCH] MAINT: Update .readthedocs.yml to latest version in astropy package-template (#609) * Update .readthedocs.yml to latest version in astropy package-template * Fix underline length * Add graphviz to apt_packages --- .readthedocs.yml | 7 +++++-- skypy/utils/photometry.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 46f015014..432dbdea7 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,13 +1,16 @@ version: 2 build: - image: latest + os: ubuntu-20.04 + tools: + python: '3.7' + apt_packages: + - graphviz sphinx: fail_on_warning: true python: - version: 3.7 install: - method: pip path: . diff --git a/skypy/utils/photometry.py b/skypy/utils/photometry.py index 2b72cfd7e..fad1b47c9 100644 --- a/skypy/utils/photometry.py +++ b/skypy/utils/photometry.py @@ -436,7 +436,7 @@ def logistic_completeness_function(magnitude, magnitude_95, magnitude_50): is array_like of shape (nb, ) it returns array_like of shape (nb, ). References - ----------- + ---------- .. [1] López-Sanjuan, C. et al., `2017A&A…599A..62L`_ .. _2017A&A…599A..62L: https://ui.adsabs.harvard.edu/abs/2017A%26A...599A..62L