Skip to content

Commit a7f247f

Browse files
authored
MAINT: adding linkcheck to CI and minor fixes (astropy#377)
* CI: adding linkcheck job to CI and cleaning up envs in tox config * MAINT: fixing links and redirects
1 parent a7f41c1 commit a7f247f

File tree

18 files changed

+25
-30
lines changed

18 files changed

+25
-30
lines changed

.github/workflows/cibuild.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: py310 with online tests, Linux
2727
python-version: '3.10'
2828
tox_env: py310-test-alldeps-online
29+
- name: linkcheck
30+
python-version: '3.10'
31+
tox_env: linkcheck
2932

3033
steps:
3134
- name: Checkout code

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PyVO
22
===================================
33

44
.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
5-
:target: http://www.astropy.org
5+
:target: https://www.astropy.org
66
:alt: Powered by Astropy Badge
77

88
.. image:: https://github.com/astropy/pyvo/workflows/CI/badge.svg?branch=main

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Introduction
55
------------
66

77
This is the documentation for PyVO, an affiliated package for the
8-
`astropy <http://www.astropy.org>`__ package.
8+
`astropy <https://www.astropy.org>`__ package.
99

1010
PyVO lets you find and retrieve astronomical data available from archives that
1111
support standard `IVOA <http://www.ivoa.net/>`__ virtual observatory service
@@ -25,7 +25,7 @@ protocols.
2525
.. note::
2626
If you need to access data which is not available via the Virtual Observatory
2727
standards, try the astropy affiliated package
28-
`astroquery <http://astroquery.readthedocs.io/en/latest/>`__ (and, of
28+
`astroquery <https://astroquery.readthedocs.io/en/latest/>`__ (and, of
2929
course, ask the data providers to do the right thing and use the proper
3030
standards for their publication).
3131

docs/registry/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ There are two fundamental modes of searching in the VO:
2727
Both modes are supported by this module.
2828

2929

30+
.. _registry-basic-interface:
31+
3032
Basic interface
3133
===============
3234

@@ -51,7 +53,7 @@ keyword arguments. The following constraints are available:
5153
patterns; resources match when they serve columns having a matching
5254
UCD (e.g., ``phot.mag;em.ir.%`` for “any infrared magnitude”).
5355
* :py:class:`pyvo.registry.Waveband` (``waveband``): one or more terms
54-
from the vocabulary at http://www.ivoa.net/messenger giving the rough
56+
from the vocabulary at http://www.ivoa.net/rdf/messenger giving the rough
5557
spectral location of the resource.
5658
* :py:class:`pyvo.registry.Author` (``author``): an author (“creator”).
5759
This is a single SQL pattern, and given the sloppy practices in the

pyvo/dal/tests/data/query/basic.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Produced with astropy.io.votable version 5.0.1
3-
http://www.astropy.org/ -->
3+
https://www.astropy.org/ -->
44
<VOTABLE version="1.4" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.4.xsd">
55
<RESOURCE type="results">
66
<INFO ID="QUERY_STATUS" name="QUERY_STATUS" value="OK">OK</INFO>

pyvo/dal/tests/data/query/dataset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Produced with astropy.io.votable version 5.0.1
3-
http://www.astropy.org/ -->
3+
https://www.astropy.org/ -->
44
<VOTABLE version="1.4" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.4.xsd">
55
<RESOURCE type="results">
66
<INFO ID="QUERY_STATUS" name="QUERY_STATUS" value="OK">OK</INFO>

pyvo/dal/tests/data/query/errorstatus.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Produced with astropy.io.votable version 5.0.1
3-
http://www.astropy.org/ -->
3+
https://www.astropy.org/ -->
44
<VOTABLE version="1.4" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.4.xsd">
55
<RESOURCE type="results">
66
<INFO ID="QUERY_STATUS" name="QUERY_STATUS" value="ERROR">ERROR</INFO>

pyvo/dal/tests/data/query/firstresource.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Produced with astropy.io.votable version 5.0.1
3-
http://www.astropy.org/ -->
3+
https://www.astropy.org/ -->
44
<VOTABLE version="1.4" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.4.xsd">
55
<RESOURCE type="results">
66
<INFO ID="QUERY_STATUS" name="QUERY_STATUS" value="OK">OK</INFO>

pyvo/dal/tests/data/query/missingcolumns.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Produced with astropy.io.votable version 5.0.1
3-
http://www.astropy.org/ -->
3+
https://www.astropy.org/ -->
44
<VOTABLE version="1.4" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.4.xsd">
55
<RESOURCE type="results">
66
<INFO ID="QUERY_STATUS" name="QUERY_STATUS" value="OK">OK</INFO>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Produced with astropy.io.votable version 5.0.1
3-
http://www.astropy.org/ -->
3+
https://www.astropy.org/ -->
44
<VOTABLE version="1.4" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/VOTable-1.4.xsd"/>

0 commit comments

Comments
 (0)