Skip to content

Commit 7be7f38

Browse files
authored
[Docs] Improve API docs (+small tweaks) (#22459)
Signed-off-by: Harry Mellor <[email protected]>
1 parent ccdae73 commit 7be7f38

File tree

5 files changed

+5
-13
lines changed

5 files changed

+5
-13
lines changed

docs/.nav.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@ nav:
5858
- CI: contributing/ci
5959
- Design Documents: design
6060
- API Reference:
61-
- Summary: api/README.md
61+
- Summary: api/summary.md
6262
- Contents:
63-
- glob: api/vllm/*
64-
preserve_directory_names: true
63+
- api/vllm/*
6564
- CLI Reference:
6665
- Summary: cli/README.md
6766
- Community:
File renamed without changes.

docs/features/quantization/inc.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
---
2-
title: FP8 INC
3-
---
4-
[](){ #inc }
1+
# FP8 INC
52

63
vLLM supports FP8 (8-bit floating point) weight and activation quantization using Intel® Neural Compressor (INC) on Intel® Gaudi® 2 and Intel® Gaudi® 3 AI accelerators.
74
Currently, quantization is validated only in Llama models.

docs/mkdocs/hooks/generate_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def determine_title(self) -> str:
105105
return fix_case(self.path.stem.replace("_", " ").title())
106106

107107
def generate(self) -> str:
108-
content = f"---\ntitle: {self.title}\n---\n\n"
108+
content = f"# {self.title}\n\n"
109109
content += f"Source <gh-file:{self.path.relative_to(ROOT_DIR)}>.\n\n"
110110

111111
# Use long code fence to avoid issues with

mkdocs.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ theme:
4040
- navigation.sections
4141
- navigation.prune
4242
- navigation.top
43+
- navigation.indexes
4344
- search.highlight
4445
- search.share
4546
- toc.follow
@@ -51,11 +52,6 @@ hooks:
5152
- docs/mkdocs/hooks/generate_argparse.py
5253
- docs/mkdocs/hooks/url_schemes.py
5354

54-
# Required to stop api-autonav from raising an error
55-
# https://github.com/tlambert03/mkdocs-api-autonav/issues/16
56-
nav:
57-
- api
58-
5955
plugins:
6056
- meta
6157
- search

0 commit comments

Comments
 (0)