@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 022afbeb4e
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 15, 11:00 UTC

Fix doc build performance (#17748)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>

Harry Mellor committed May 7, 2025 at 01:36 UTC 022afbeb4efa22bb8a4656a2712cd66c6a811c23
2 files changed +4 -4
docs/source/conf.py
-3
@@ -60,9 +60,6 @@ autodoc2_packages = [
60 autodoc2_output_dir = "api"
61 autodoc2_render_plugin = "myst"
62 autodoc2_hidden_objects = ["dunder", "private", "inherited"]
63 -autodoc2_docstring_parser_regexes = [
64 - (".*", "docs.source.autodoc2_docstring_parser"),
65 -]
63 autodoc2_sort_names = True
64 autodoc2_index_template = None
65
requirements/docs.txt
+4 -1
@@ -1,6 +1,5 @@
1 sphinx==7.4.7
2 sphinx-argparse==0.5.2
3 -sphinx-autodoc2==0.5.0
3 sphinx-book-theme==1.1.4
4 sphinx-copybutton==0.5.2
5 sphinx-design==0.6.1
@@ -9,6 +8,10 @@ myst-parser==3.0.1 # `myst-parser==4.0.1` breaks inline code in titles
8 msgspec
9 commonmark # Required by sphinx-argparse when using :markdownhelp:
10
11 +# Custom autodoc2 is necessary for faster docstring processing
12 +# see: https://github.com/sphinx-extensions2/sphinx-autodoc2/issues/33#issuecomment-2856386035
13 +git+https://github.com/hmellor/sphinx-autodoc2.git # sphinx-autodoc2==0.5.0
14 +
15 # packages to install to build the documentation
16 cachetools
17 -f https://download.pytorch.org/whl/cpu