From 0ecbfbb63b128646be4f24dfb4bf093b33fb4895 Mon Sep 17 00:00:00 2001
From: "Pey Lian Lim (Github)" <2090236+pllim@users.noreply.github.com>
Date: Fri, 9 Dec 2022 11:13:10 -0500
Subject: [PATCH 1/2] DOC: Remove CASA section from installation page because
it is no longer needed nor accurate.
---
docs/install.rst | 36 +-----------------------------------
1 file changed, 1 insertion(+), 35 deletions(-)
diff --git a/docs/install.rst b/docs/install.rst
index e203d9709d4..8ae8d4bbcd1 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -379,41 +379,7 @@ The C libraries currently bundled with ``astropy`` include:
- `expat `_ see ``cextern/expat/README`` for the
bundled version. To use the system version, set ``ASTROPY_USE_SYSTEM_EXPAT=1``.
-
-Installing ``astropy`` into CASA
---------------------------------
-
-If you want to be able to use ``astropy`` inside `CASA
-`_, the easiest way is to do so from inside CASA.
-
-First, we need to make sure `pip `__ is
-installed. Start up CASA as normal, and then type::
-
- CASA <2>: from setuptools.command import easy_install
-
- CASA <3>: easy_install.main(['--user', 'pip'])
-
-Now, quit CASA and re-open it, then type the following to install ``astropy``::
-
- CASA <2>: import subprocess, sys
-
- CASA <3>: subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--user', 'astropy'])
-
-Then close CASA again and open it, and you should be able to import ``astropy``::
-
- CASA <2>: import astropy
-
-Any ``astropy`` affiliated package can be installed the same way (e.g. the
-`spectral-cube `_ or other
-packages that may be useful for radio astronomy).
-
-.. note:: The above instructions have not been tested on all systems.
- We know of a few examples that do work, but that is not a guarantee
- that this will work on all systems. If you install ``astropy`` and begin to
- encounter issues with CASA, please look at the `known CASA issues
- `_
- and if you do not encounter your issue there, please post a new one.
-
+.. _install_astropy_nightly:
Installing pre-built Development Versions of ``astropy``
--------------------------------------------------------
From 5eac31479e3cc212e7e70f31fdc17472e5ff9864 Mon Sep 17 00:00:00 2001
From: "Pey Lian Lim (Github)" <2090236+pllim@users.noreply.github.com>
Date: Fri, 9 Dec 2022 11:13:29 -0500
Subject: [PATCH 2/2] DOC: Replace broken XML ref links
---
astropy/io/votable/exceptions.py | 2 +-
docs/io/votable/references.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/astropy/io/votable/exceptions.py b/astropy/io/votable/exceptions.py
index d2986af26f7..40d16db7230 100644
--- a/astropy/io/votable/exceptions.py
+++ b/astropy/io/votable/exceptions.py
@@ -318,7 +318,7 @@ class W02(VOTableSpecWarning):
**References**: `1.1
`__,
- `XML Names `__
+ `XML Names `__
"""
message_template = "{} attribute '{}' is invalid. Must be a standard XML id"
diff --git a/docs/io/votable/references.txt b/docs/io/votable/references.txt
index 42645e18054..e4975684c30 100644
--- a/docs/io/votable/references.txt
+++ b/docs/io/votable/references.txt
@@ -6,7 +6,7 @@
.. _FIELDref: http://www.ivoa.net/documents/REC/VOTable/VOTable-20040811.html#ToC31
.. _FITS: https://fits.gsfc.nasa.gov/fits_documentation.html
.. _GROUP: http://www.ivoa.net/documents/REC/VOTable/VOTable-20040811.html#ToC31
-.. _ID: http://www.w3.org/TR/REC-xml/#id
+.. _ID: https://www.w3.org/TR/xml-id/
.. _INFO: http://www.ivoa.net/documents/VOTable/20040811/REC-VOTable-1.1-20040811.html#ToC19
.. _LINK: http://www.ivoa.net/documents/REC/VOTable/VOTable-20040811.html#ToC22
.. _multidimensional arrays: http://www.ivoa.net/documents/REC/VOTable/VOTable-20040811.html#ToC12