File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 97
97
< li class ="nav-item dropdown ">
98
98
< a href ="# " class ="nav-link dropdown-toggle " id ="communityDropdown " role ="button " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false "> Community</ a >
99
99
< div class ="dropdown-menu " aria-labelledby ="communityDropdown ">
100
+ < a class ="dropdown-item " href ="/community/packages.html "> < i class ="fa-solid fa-cube "> </ i > Community packages</ a >
100
101
< a class ="dropdown-item " href ="https://igraph.discourse.group "> < i class ="fa-solid fa-comments "> </ i > Forum</ a >
101
102
< a class ="dropdown-item " href ="https://discord.gg/cSyHDPJWDD "> < i class ="fa-brands fa-discord "> </ i > Discord</ a >
102
103
< a class ="dropdown-item " href ="/code-of-conduct.html "> < i class ="fa-solid fa-gavel "> </ i > Code of Conduct</ a >
Original file line number Diff line number Diff line change @@ -69,9 +69,6 @@ def main():
69
69
if not doc_dir .exists ():
70
70
fail (f"Build the HTML docs first; { doc_dir } does not exist" )
71
71
72
- if jekyll_dir .exists ():
73
- rmtree (jekyll_dir )
74
-
75
72
for version in versions :
76
73
doc_dir_version = doc_dir / version
77
74
jekyll_dir_version = jekyll_dir / version
@@ -83,6 +80,9 @@ def main():
83
80
continue
84
81
85
82
print (jekyll_dir_version )
83
+ if jekyll_dir_version .exists ():
84
+ rmtree (jekyll_dir_version )
85
+
86
86
jekyll_dir_version .mkdir (parents = True , exist_ok = True )
87
87
for html_file in doc_dir_version .glob ("*.html" ):
88
88
jekyll_html_file = jekyll_dir_version / html_file .name
You can’t perform that action at this time.
0 commit comments