Skip to content

Commit 187a4a3

Browse files
authored
docs: Add tensorrtllm_backend into doc generation (#7563)
1 parent fb60c0e commit 187a4a3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/generate_docs.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,12 @@ def main():
393393
if "python_backend" in repo_tags:
394394
clone_from_github("python_backend", repo_tags["python_backend"], github_org)
395395

396+
# Usage generate_docs.py --repo-tag=tensorrtllm_backend:main
397+
if "tensorrtllm_backend" in repo_tags:
398+
clone_from_github(
399+
"tensorrtllm_backend", repo_tags["tensorrtllm_backend"], github_org
400+
)
401+
396402
# Usage generate_docs.py --backend-tag=custom_backend:main
397403
# Custom backend can be anything currently empty
398404
if "custom_backend" in backend_tags:
@@ -409,6 +415,10 @@ def main():
409415
run_command("rm -rf python_backend")
410416
if "custom_backend" in backend_tags:
411417
run_command("rm -rf custom_backend")
418+
if "tensorrtllm_backend" in repo_tags:
419+
run_command("rm -rf tensorrtllm_backend")
420+
if "perf_analyzer" in repo_tags:
421+
run_command("rm -rf perf_analyzer")
412422

413423
# Return to previous working directory server/.
414424
os.chdir(server_abspath)

0 commit comments

Comments
 (0)