Skip to content

Commit 49d395c

Browse files
committed
docs: update info
1 parent f2ba26a commit 49d395c

File tree

13 files changed

+989
-82
lines changed

13 files changed

+989
-82
lines changed

README.md

Lines changed: 155 additions & 1 deletion
Large diffs are not rendered by default.

docs/images/README.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

mkdocs.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ theme:
3030
- content.code.copy
3131
- search.suggest
3232
- search.highlight
33-
- toc.integrate
33+
- toc.follow
34+
- navigation.indexes
3435
icon:
3536
repo: fontawesome/brands/github
3637

@@ -46,6 +47,11 @@ validation:
4647
absolute_links: warn
4748
unrecognized_links: ignore
4849

50+
# Exclude files from site build
51+
exclude_docs: |
52+
images/README.md
53+
**/README.md
54+
4955
plugins:
5056
- search
5157

@@ -55,6 +61,8 @@ markdown_extensions:
5561
- md_in_html
5662
- toc:
5763
permalink: true
64+
toc_depth: 4
65+
title: On this page
5866
- pymdownx.details
5967
- pymdownx.superfences
6068
- pymdownx.extra

scripts/sync_readme.py

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -306,30 +306,35 @@ def generate_papers_section() -> str:
306306

307307

308308
def generate_tables_section() -> str:
309-
"""Generate the tables section from converted markdown files."""
310-
tables_dir = ROOT / "docs" / "tables"
309+
"""Generate the tables section from tables.md file."""
310+
tables_md = ROOT / "docs" / "tables.md"
311311

312-
if not tables_dir.exists():
313-
print("[WARN] Tables directory not found, skipping tables section")
312+
if not tables_md.exists():
313+
print("[WARN] tables.md not found, skipping tables section")
314314
return "\n\nNo tables available yet.\n"
315315

316-
content = ["\n## 📋 Statistical Tables\n"]
317-
content.append("Comprehensive tables and statistics about issue resolution datasets, methods, and benchmarks.\n")
318-
319-
# Read all individual table files
320-
table_files = sorted(tables_dir.glob("table*.md"))
321-
322-
for table_file in table_files:
323-
try:
324-
table_content = table_file.read_text(encoding="utf-8")
325-
content.append(f"\n{table_content}\n")
326-
except Exception as e:
327-
print(f"[WARN] Failed to read {table_file}: {e}")
328-
329-
if len(content) == 2: # Only header added
330-
content.append("\nNo tables available yet.\n")
316+
try:
317+
content_text = tables_md.read_text(encoding="utf-8")
318+
319+
# Extract content after the first "---" separator
320+
# Skip the page title and intro text
321+
lines = content_text.split('\n')
322+
start_idx = 0
323+
for i, line in enumerate(lines):
324+
if line.strip() == '---' and i > 0:
325+
start_idx = i + 1
326+
break
327+
328+
if start_idx > 0:
329+
# Get the tables content
330+
table_content = '\n'.join(lines[start_idx:])
331+
return f"\n## 📋 Statistical Tables\n\nComprehensive tables and statistics about issue resolution datasets, methods, and benchmarks.\n\n{table_content}\n"
332+
else:
333+
return "\n\nNo tables available yet.\n"
331334

332-
return "\n".join(content)
335+
except Exception as e:
336+
print(f"[WARN] Failed to read tables.md: {e}")
337+
return "\n\nNo tables available yet.\n"
333338

334339

335340
def generate_usage_section() -> str:

site/404.html

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,7 @@
375375

376376

377377

378-
379-
380-
<nav class="md-nav md-nav--primary md-nav--lifted md-nav--integrated" aria-label="Navigation" data-md-level="0">
378+
<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0">
381379
<label class="md-nav__title" for="__drawer">
382380
<a href="/Awesome-Issue-Resolution/." title="Awesome Issue Resolution" class="md-nav__button md-logo" aria-label="Awesome Issue Resolution" data-md-component="logo">
383381

@@ -544,6 +542,24 @@
544542
</div>
545543

546544

545+
546+
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
547+
<div class="md-sidebar__scrollwrap">
548+
<div class="md-sidebar__inner">
549+
550+
551+
552+
553+
<nav class="md-nav md-nav--secondary" aria-label="On this page">
554+
555+
556+
557+
558+
</nav>
559+
</div>
560+
</div>
561+
</div>
562+
547563

548564

549565
<div class="md-content" data-md-component="content">
@@ -594,7 +610,7 @@ <h1>404 - Not found</h1>
594610

595611

596612

597-
<script id="__config" type="application/json">{"annotate": null, "base": "/Awesome-Issue-Resolution/", "features": ["navigation.instant", "navigation.tracking", "navigation.top", "navigation.tabs", "navigation.tabs.sticky", "content.code.copy", "search.suggest", "search.highlight", "toc.integrate"], "search": "/Awesome-Issue-Resolution/assets/javascripts/workers/search.7a47a382.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
613+
<script id="__config" type="application/json">{"annotate": null, "base": "/Awesome-Issue-Resolution/", "features": ["navigation.instant", "navigation.tracking", "navigation.top", "navigation.tabs", "navigation.tabs.sticky", "content.code.copy", "search.suggest", "search.highlight", "toc.follow", "navigation.indexes"], "search": "/Awesome-Issue-Resolution/assets/javascripts/workers/search.7a47a382.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
598614

599615

600616
<script src="/Awesome-Issue-Resolution/assets/javascripts/bundle.e71a0d61.min.js"></script>

site/about/index.html

Lines changed: 100 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,7 @@
388388

389389

390390

391-
392-
393-
<nav class="md-nav md-nav--primary md-nav--lifted md-nav--integrated" aria-label="Navigation" data-md-level="0">
391+
<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0">
394392
<label class="md-nav__title" for="__drawer">
395393
<a href=".." title="Awesome Issue Resolution" class="md-nav__button md-logo" aria-label="Awesome Issue Resolution" data-md-component="logo">
396394

@@ -549,7 +547,9 @@
549547

550548

551549

552-
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
550+
551+
552+
<nav class="md-nav md-nav--secondary" aria-label="On this page">
553553

554554

555555

@@ -558,7 +558,7 @@
558558

559559
<label class="md-nav__title" for="__toc">
560560
<span class="md-nav__icon md-icon"></span>
561-
Table of contents
561+
On this page
562562
</label>
563563
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
564564

@@ -670,6 +670,100 @@
670670
</div>
671671

672672

673+
674+
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
675+
<div class="md-sidebar__scrollwrap">
676+
<div class="md-sidebar__inner">
677+
678+
679+
680+
681+
<nav class="md-nav md-nav--secondary" aria-label="On this page">
682+
683+
684+
685+
686+
687+
688+
<label class="md-nav__title" for="__toc">
689+
<span class="md-nav__icon md-icon"></span>
690+
On this page
691+
</label>
692+
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
693+
694+
<li class="md-nav__item">
695+
<a href="#about-this-project" class="md-nav__link">
696+
<span class="md-ellipsis">
697+
698+
About This Project
699+
700+
</span>
701+
</a>
702+
703+
</li>
704+
705+
<li class="md-nav__item">
706+
<a href="#key-features" class="md-nav__link">
707+
<span class="md-ellipsis">
708+
709+
Key Features
710+
711+
</span>
712+
</a>
713+
714+
</li>
715+
716+
<li class="md-nav__item">
717+
<a href="#contribution-guide" class="md-nav__link">
718+
<span class="md-ellipsis">
719+
720+
Contribution Guide
721+
722+
</span>
723+
</a>
724+
725+
</li>
726+
727+
<li class="md-nav__item">
728+
<a href="#acknowledgements" class="md-nav__link">
729+
<span class="md-ellipsis">
730+
731+
Acknowledgements
732+
733+
</span>
734+
</a>
735+
736+
</li>
737+
738+
<li class="md-nav__item">
739+
<a href="#interactive-exploration" class="md-nav__link">
740+
<span class="md-ellipsis">
741+
742+
Interactive Exploration
743+
744+
</span>
745+
</a>
746+
747+
</li>
748+
749+
<li class="md-nav__item">
750+
<a href="#contact-us" class="md-nav__link">
751+
<span class="md-ellipsis">
752+
753+
Contact Us
754+
755+
</span>
756+
</a>
757+
758+
</li>
759+
760+
</ul>
761+
762+
</nav>
763+
</div>
764+
</div>
765+
</div>
766+
673767

674768

675769
<div class="md-content" data-md-component="content">
@@ -784,7 +878,7 @@ <h2 id="contact-us">Contact Us<a class="headerlink" href="#contact-us" title="Pe
784878

785879

786880

787-
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["navigation.instant", "navigation.tracking", "navigation.top", "navigation.tabs", "navigation.tabs.sticky", "content.code.copy", "search.suggest", "search.highlight", "toc.integrate"], "search": "../assets/javascripts/workers/search.7a47a382.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
881+
<script id="__config" type="application/json">{"annotate": null, "base": "..", "features": ["navigation.instant", "navigation.tracking", "navigation.top", "navigation.tabs", "navigation.tabs.sticky", "content.code.copy", "search.suggest", "search.highlight", "toc.follow", "navigation.indexes"], "search": "../assets/javascripts/workers/search.7a47a382.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
788882

789883

790884
<script src="../assets/javascripts/bundle.e71a0d61.min.js"></script>

0 commit comments

Comments
 (0)