From 2aa6fa06c554513b0000ac93795f43aca4a406fd Mon Sep 17 00:00:00 2001
From: Brent Huisman <brenthuisman@users.noreply.github.com>
Date: Wed, 26 May 2021 08:55:14 +0200
Subject: [PATCH] Update URLs to arbor-sim.org (#1538)

* Update URLs to arbor-sim.org
* update badge links
---
 CONTRIBUTING.md       | 2 +-
 README.md             | 8 ++++----
 doc/contrib/doc.rst   | 2 +-
 doc/index.rst         | 6 +++---
 python/morphology.cpp | 2 +-
 python/readme.md      | 2 +-
 python/setup.py       | 2 +-
 setup.py              | 2 +-
 spack/package.py      | 4 ++--
 9 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 06ad387e..93df75ca 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -8,7 +8,7 @@ There are many ways to contribute: writing tutorials or blog posts, improving th
 documentation, submitting bug reports and feature requests or writing code which can be
 incorporated into Arbor itself.
 
-The Arbor documentation has a [Contributing section](https://arbor.readthedocs.io/en/latest/contrib) where we have laid out how you
+The Arbor documentation has a [Contributing section](https://docs.arbor-sim.org/en/latest/contrib) where we have laid out how you
 can go about making your contribution.
 
 ## Get in touch
diff --git a/README.md b/README.md
index eb0437df..f69290f6 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
 [![hpc ci](https://gitlab.com/cscs-ci/arbor-sim/arbor/badges/master/pipeline.svg)](https://gitlab.com/cscs-ci/arbor-sim/arbor/-/commits/master)
-[![basic ci](https://github.com/arbor-sim/arbor/workflows/Basic%20Tests%20and%20Documentation/badge.svg)](https://github.com/arbor-sim/arbor/actions?query=workflow%3A%22Basic+Tests+and+Documentation%22)
+[![basic ci](https://github.com/arbor-sim/arbor/actions/workflows/basic.yml/badge.svg)](https://github.com/arbor-sim/arbor/actions/workflows/basic.yml)
 [![gitpod](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/arbor-sim/arbor)
-[![docs](https://readthedocs.org/projects/arbor/badge/?version=latest)](https://arbor.readthedocs.io/en/latest/)
+[![docs](https://readthedocs.org/projects/arbor/badge/?version=latest)](https://docs.arbor-sim.org/en/latest/)
 
 # Arbor Library
 
-Arbor is a library for implementing performance portable network simulations of multi-compartment neuron models.
+[Arbor](https://arbor-sim.org) is a library for implementing performance portable network simulations of multi-compartment neuron models.
 
 An installation guide and library documentation are available online at [Read the Docs](http://arbor.readthedocs.io/en/latest/).
 
@@ -13,4 +13,4 @@ An installation guide and library documentation are available online at [Read th
 
 ### Citing Arbor
 
-Please refer to [our documentation](https://arbor.readthedocs.io/en/latest/index.html#citing-arbor).
+Please refer to [our documentation](https://docs.arbor-sim.org/en/latest/index.html#citing-arbor).
diff --git a/doc/contrib/doc.rst b/doc/contrib/doc.rst
index 0dca6027..18016240 100644
--- a/doc/contrib/doc.rst
+++ b/doc/contrib/doc.rst
@@ -3,7 +3,7 @@
 Documentation
 =====================
 
-The source for `the documentation <https://arbor.readthedocs.io>`__ is
+The source for `the documentation <https://docs.arbor-sim.org>`__ is
 found in the ``/doc`` subdirectory. You can add your contribution to the documentation
 in the same way you would contribute code, please see the :ref:`contribpr` section.
 
diff --git a/doc/index.rst b/doc/index.rst
index 6c113c14..0ec4c895 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -3,8 +3,8 @@ Arbor
 
 |testbadge| |zlatest|
 
-.. |testbadge| image:: https://github.com/arbor-sim/arbor/workflows/Basic%20Tests%20and%20Documentation/badge.svg
-    :target: https://github.com/arbor-sim/arbor/actions?query=workflow%3A%22Basic+Tests+and+Documentation%22
+.. |testbadge| image:: https://github.com/arbor-sim/arbor/actions/workflows/basic.yml/badge.svg
+    :target: https://github.com/arbor-sim/arbor/actions/workflows/basic.yml
 
 Welcome to the documentation for Arbor, the multi-compartment neural network simulation library.
 
@@ -13,7 +13,7 @@ You can find out how to :ref:`get Arbor<in_install>`; get started quickly with o
 What is Arbor?
 --------------
 
-Arbor is a high-performance library for computational neuroscience simulations with multi-compartment, morphologically-detailed cells,
+`Arbor <https://arbor-sim.org>`_. is a high-performance library for computational neuroscience simulations with multi-compartment, morphologically-detailed cells,
 from single cell models to very large networks. Arbor is written from the ground up with many-cpu and gpu architectures in mind, to
 help neuroscientists effectively use contemporary and future HPC systems to meet their simulation needs.
 
diff --git a/python/morphology.cpp b/python/morphology.cpp
index 24ffeb02..7493fc88 100644
--- a/python/morphology.cpp
+++ b/python/morphology.cpp
@@ -285,7 +285,7 @@ void register_morphology(py::module& m) {
         },
         "filename"_a,
         "Generate a morphology from an SWC file following the rules prescribed by NEURON.\n"
-        "See the documentation https://arbor.readthedocs.io/en/latest/fileformat/swc.html\n"
+        "See the documentation https://docs.arbor-sim.org/en/latest/fileformat/swc.html\n"
         "for a detailed description of the interpretation.");
 
     // arb::morphology
diff --git a/python/readme.md b/python/readme.md
index 33d43a2f..cfa7ddda 100644
--- a/python/readme.md
+++ b/python/readme.md
@@ -4,7 +4,7 @@ The Arbor Python package is a wrapper around the high-performance C++ library Ar
 constructing and running simulations multi-compartment neuron models, from single cell models
 to large networks.
 
-Documentation is available online at [Read the Docs](https://arbor.readthedocs.io/en/latest/python).
+Documentation is available online at [Read the Docs](https://docs.arbor-sim.org/en/latest/python).
 
 [Submit a ticket](https://github.com/arbor-sim/arbor) if you have any questions or want help.
 
diff --git a/python/setup.py b/python/setup.py
index 0b182d7d..70b4386a 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -25,7 +25,7 @@ setuptools.setup(
     ],
     project_urls={
         'Source': 'https://github.com/arbor-sim/arbor',
-        'Documentation': 'https://arbor.readthedocs.io',
+        'Documentation': 'https://docs.arbor-sim.org',
         'Bug Reports': 'https://github.com/arbor-sim/arbor/issues',
     },
     package_data={
diff --git a/setup.py b/setup.py
index ac92bf81..8f8f7045 100644
--- a/setup.py
+++ b/setup.py
@@ -233,7 +233,7 @@ setuptools.setup(
     ],
     project_urls={
         'Source': 'https://github.com/arbor-sim/arbor',
-        'Documentation': 'https://arbor.readthedocs.io',
+        'Documentation': 'https://docs.arbor-sim.org',
         'Bug Reports': 'https://github.com/arbor-sim/arbor/issues',
     },
 )
diff --git a/spack/package.py b/spack/package.py
index 40de8430..43019fa6 100644
--- a/spack/package.py
+++ b/spack/package.py
@@ -10,7 +10,7 @@ class Arbor(CMakePackage, CudaPackage):
     """Arbor is a high-performance library for computational neuroscience
     simulations."""
 
-    homepage = 'https://arbor-sim.github.io/'
+    homepage = 'https://arbor-sim.org'
     git      = 'https://github.com/arbor-sim/arbor.git'
     url      = 'https://github.com/arbor-sim/arbor/releases/download/v0.5/arbor-v0.5-full.tar.gz'
     maintainers = ['bcumming', 'brenthuisman', 'haampie', 'halfflat']
@@ -25,7 +25,7 @@ class Arbor(CMakePackage, CudaPackage):
     variant('python', default=True, description='Enable Python frontend support')
     variant('vectorize', default=False, description='Enable vectorization of computational kernels')
 
-    # https://arbor.readthedocs.io/en/latest/install/build_install.html?highlight=requirements#compilers
+    # https://docs.arbor-sim.org/en/latest/install/build_install.html?highlight=requirements#compilers
     conflicts('%gcc@:8.3')
     conflicts('%clang@:7')
     # Cray compiler v9.2 and later is Clang-based.
-- 
GitLab