Skip to contentSkip to conversation

docs/devel/testing.rst: Update outdated Avocado URLs

PATCH In review Philippe Mathieu-Daudé 3 participants 4 messages Oct 10, 2020 – Feb 8, 2021 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/devel/testing.rst: Update outdated Avocado URLs

Avocado documentation referred returns 404 error.
Update the broken links.

---
 docs/devel/testing.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/devel/testing.rst +2 -2
index bd64c1bdcdd..23a1697d9f4 100644
@@ -696,7 +696,7 @@ To manually install Avocado and its dependencies, run:
 
 Alternatively, follow the instructions on this link:
 
-  http://avocado-framework.readthedocs.io/en/latest/GetStartedGuide.html#installing-avocado
+  https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/installing.html
 
 Overview
 --------
@@ -879,7 +879,7 @@ Parameter reference
 To understand how Avocado parameters are accessed by tests, and how
 they can be passed to tests, please refer to::
 
-  http://avocado-framework.readthedocs.io/en/latest/WritingTests.html#accessing-test-parameters
+  https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#accessing-test-parameters
 
 Parameter values can be easily seen in the log files, and will look
 like the following:
Signature · 1 line
2.26.2
#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 23 lines · Philippe Mathieu-Daudé

Avocado documentation referred returns 404 error.
Update the broken links.

---
  docs/devel/testing.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
docs/devel/testing.rst +1 -1
index bd64c1bdcdd..23a1697d9f4 100644
@@ -696,7 +696,7 @@ To manually install Avocado and its dependencies, run:
 
  Alternatively, follow the instructions on this link:
 
-  http://avocado-framework.readthedocs.io/en/latest/GetStartedGuide.html#installing-avocado
+  https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/installing.html
 
  Overview
  --------

docs/devel/testing.rst Parameter reference · line 885

Quoted 8 lines
docs/devel/testing.rst +1 -1
@@ -879,7 +879,7 @@ Parameter reference
  To understand how Avocado parameters are accessed by tests, and how
  they can be passed to tests, please refer to::
 
-  http://avocado-framework.readthedocs.io/en/latest/WritingTests.html#accessing-test-parameters
+  https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#accessing-test-parameters
 
  Parameter values can be easily seen in the log files, and will look
  like the following:

Thanks, applied to my acceptance-testing tree.

#5 lore raw
In reply to a message not in the archive
Quoted 38 lines · Philippe Mathieu-Daudé
Quoted 30 lines · John Snow
Quoted 28 lines · Philippe Mathieu-Daudé

Avocado documentation referred returns 404 error.
Update the broken links.

---
   docs/devel/testing.rst | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)
docs/devel/testing.rst +2 -2
index bd64c1bdcdd..23a1697d9f4 100644
@@ -696,7 +696,7 @@ To manually install Avocado and its dependencies, run:
 
   Alternatively, follow the instructions on this link:
 
-  http://avocado-framework.readthedocs.io/en/latest/GetStartedGuide.html#installing-avocado
+  https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/installing.html
 
   Overview
   --------
@@ -879,7 +879,7 @@ Parameter reference
   To understand how Avocado parameters are accessed by tests, and how
   they can be passed to tests, please refer to::
 
-  http://avocado-framework.readthedocs.io/en/latest/WritingTests.html#accessing-test-parameters
+  https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#accessing-test-parameters
 
Quoted 6 lines

docs/devel/testing.rst Parameter reference · line 885

Quoted 3 lines
docs/devel/testing.rst +0 -0
   Parameter values can be easily seen in the log files, and will look
   like the following:

Do you know if there's a way we can augment sphinx to check link status once in a while?

Quoted 7 lines

No, but good idea! Why not ask on the list, IIRC danpb mentioned something similar in another thread.

Quoted 4 lines

If there's a callback where we can get sphinx to call a python function for every URL it finds, we can use response = requests.head(url) and check response.status_code to make sure it's 200 OK.

OK, at Phil's nudge: Does anyone know if there's a Sphinx callback for URL processing? We could probably write a test that we could enable every-so-often.

I am thinking there might be some benefit to a test suite that we only run once-in-a-while during release candidate phases, and this could be one of them.

Quoted 3 lines
Quoted 2 lines

--js