Skip to content

remove dead code #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions scripts/run_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@

from agent_as_a_judge.agent import JudgeAgent
from agent_as_a_judge.config import AgentConfig
from agent_as_a_judge.module.ask import DevAsk
from agent_as_a_judge.module.code_search import DevCodeSearch
from agent_as_a_judge.module.read import DevRead
from agent_as_a_judge.module.graph import DevGraph
from agent_as_a_judge.llm.provider import LLM


def download_github_repo(repo_url, target_dir):
Expand Down Expand Up @@ -1134,12 +1129,8 @@ def print_directory_structure(path, max_depth=3, depth=0):

def generate_html_page(documentation, output_dir, section=None):
template_dir = Path(__file__).parent / "templates" / "html"
template_file = template_dir / "index.html"

try:
with open(template_file, "r") as f:
template = f.read()

try:
import jinja2
env = jinja2.Environment(loader=jinja2.FileSystemLoader(template_dir))
template = env.get_template("index.html")
Expand Down