Commit 48e27291 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix: sometime I can't read readthedocs

parent 0b0a38c06ea5
Pipeline #106101 passed with stages
in 5 minutes and 25 seconds
......@@ -43,7 +43,10 @@ for number, cube in enumerate(all_cubes):
is_new_format = f"cubicweb_{cube_normalized_name}" in cube_files
has_doc = bool({"doc", "docs"} & cube_files) # set intersection
has_readthedocs = requests.get(f"https://cubicweb-{cube_normalized_name}").status_code == 200
except requests.exceptions.ConnectionError:
has_readthedocs = False
number_of_mrs = len([mr for mr in cube.mergerequests.list(all=True) if mr.state == "opened"])
number_of_topics = len([x for x in cube.branches.list() if"topic/")])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment