diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 98c3be25f7..4329750090 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,6 +7,9 @@ build: os: ubuntu-22.04 tools: python: "3.12" + jobs: + post_checkout: + - git fetch --unshallow || true mkdocs: configuration: mkdocs.yaml diff --git a/mkdocs.yaml b/mkdocs.yaml index 8f731a2c1f..78f1c5b77c 100644 --- a/mkdocs.yaml +++ b/mkdocs.yaml @@ -62,6 +62,11 @@ plugins: - autorefs - awesome-nav - glightbox + - git-revision-date-localized: + # exclude autogenerated files + exclude: + - argparse/* + - examples/* # For API reference generation - api-autonav: modules: ["vllm"] diff --git a/requirements/docs.txt b/requirements/docs.txt index 950906b2ff..9e56c9573b 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -5,6 +5,7 @@ mkdocstrings-python mkdocs-gen-files mkdocs-awesome-nav mkdocs-glightbox +mkdocs-git-revision-date-localized-plugin python-markdown-math regex ruff