From 88b80966b6fb69d38b9dca82c9b99a20451ec0de Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Wed, 12 Apr 2023 11:50:02 +0200
Subject: [PATCH] [doxygen] Fix PETSc links.

---
 .../prj/linear_solvers/linear_solver/petsc/t_prefix.md        | 2 +-
 .../prj/nonlinear_solvers/nonlinear_solver/t_prefix.md        | 2 +-
 MathLib/LinAlg/PETSc/PETScLinearSolver.h                      | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/ProjectFile/prj/linear_solvers/linear_solver/petsc/t_prefix.md b/Documentation/ProjectFile/prj/linear_solvers/linear_solver/petsc/t_prefix.md
index 3b980ae4330..7dc90b76939 100644
--- a/Documentation/ProjectFile/prj/linear_solvers/linear_solver/petsc/t_prefix.md
+++ b/Documentation/ProjectFile/prj/linear_solvers/linear_solver/petsc/t_prefix.md
@@ -1,3 +1,3 @@
 Sets the options prefix for this PETSc linear solver.
 
-Cf. the PETSc [KSPSetOptionsPrefix documentation](http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPSetOptionsPrefix.html).
+Cf. the PETSc [KSPSetOptionsPrefix documentation](https://petsc.org/release/manualpages/KSP/KSPSetOptionsPrefix/).
diff --git a/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_prefix.md b/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_prefix.md
index a0c291ee737..b678f79ee82 100644
--- a/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_prefix.md
+++ b/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_prefix.md
@@ -1,5 +1,5 @@
 Sets the options prefix for the PETSc SNES solver.
 
 See the PETSc
-[SNESSetOptionsPrefix](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESSetOptionsPrefix.html)
+[SNESSetOptionsPrefix](https://petsc.org/release/manualpages/SNES/SNESSetOptionsPrefix/)
 documentation for details.
diff --git a/MathLib/LinAlg/PETSc/PETScLinearSolver.h b/MathLib/LinAlg/PETSc/PETScLinearSolver.h
index 559024eba10..ba9db59fda5 100644
--- a/MathLib/LinAlg/PETSc/PETScLinearSolver.h
+++ b/MathLib/LinAlg/PETSc/PETScLinearSolver.h
@@ -42,7 +42,7 @@ public:
                        that owns an instance of this class.
         \param petsc_options PETSc options string which is passed to PETSc lib
         and inserted in the PETSc option database (see
-        https://petsc.org/release/docs/manualpages/Sys/PetscOptionsInsertString.html).
+        https://petsc.org/release/manualpages/Sys/PetscOptionsInsertString/).
     */
     PETScLinearSolver(std::string const& prefix,
                       std::string const& petsc_options);
@@ -69,4 +69,4 @@ private:
     double elapsed_ctime_ = 0.0;  ///< Clock time
 };
 
-}  // end namespace
+}  // namespace MathLib
-- 
GitLab