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 9797 < li class ="nav-item dropdown ">
9898 < a href ="# " class ="nav-link dropdown-toggle " id ="communityDropdown " role ="button " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false "> Community</ a >
9999 < 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 >
100101 < a class ="dropdown-item " href ="https://igraph.discourse.group "> < i class ="fa-solid fa-comments "> </ i > Forum</ a >
101102 < a class ="dropdown-item " href ="https://discord.gg/cSyHDPJWDD "> < i class ="fa-brands fa-discord "> </ i > Discord</ a >
102103 < 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():
6969 if not doc_dir .exists ():
7070 fail (f"Build the HTML docs first; { doc_dir } does not exist" )
7171
72- if jekyll_dir .exists ():
73- rmtree (jekyll_dir )
74-
7572 for version in versions :
7673 doc_dir_version = doc_dir / version
7774 jekyll_dir_version = jekyll_dir / version
@@ -83,6 +80,9 @@ def main():
8380 continue
8481
8582 print (jekyll_dir_version )
83+ if jekyll_dir_version .exists ():
84+ rmtree (jekyll_dir_version )
85+
8686 jekyll_dir_version .mkdir (parents = True , exist_ok = True )
8787 for html_file in doc_dir_version .glob ("*.html" ):
8888 jekyll_html_file = jekyll_dir_version / html_file .name
You can’t perform that action at this time.
0 commit comments