mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
docs: fix broken links (#3540)
# What does this PR do? <!-- Provide a short summary of what this PR does and why. Link to relevant issues if applicable. --> <!-- If resolving an issue, uncomment and update the line below --> <!-- Closes #[issue-number] --> - Fixes broken links and Docusaurus search Closes #3518 ## Test Plan The following should produce a clean build with no warnings and search enabled: ``` npm install npm run gen-api-docs all npm run build npm run serve ``` <!-- Describe the tests you ran to verify your changes with result summaries. *Provide clear instructions so the plan can be easily re-executed.* -->
This commit is contained in:
parent
8537ada11b
commit
6101c8e015
52 changed files with 188 additions and 981 deletions
|
@ -358,16 +358,6 @@ def generate_index_docs(api_name: str, api_docstring: str | None, provider_entri
|
|||
md_lines.append("")
|
||||
|
||||
md_lines.append(f"This section contains documentation for all available providers for the **{api_name}** API.")
|
||||
md_lines.append("")
|
||||
|
||||
md_lines.append("## Providers")
|
||||
md_lines.append("")
|
||||
|
||||
# For Docusaurus, create a simple list of links instead of toctree
|
||||
for entry in provider_entries:
|
||||
provider_name = entry["display_name"]
|
||||
filename = entry["filename"]
|
||||
md_lines.append(f"- [{provider_name}](./{filename})")
|
||||
|
||||
return "\n".join(md_lines) + "\n"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue