Skip to content

Commit d296d79

Browse files
committed
Merge branch 'master' of https://github.com/igraph/igraph.org
2 parents 137bc7b + fbf453a commit d296d79

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
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>

_tools/c_postprocess_html.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)