From ee74fd9a17804da53f8695180c27801bf966c78b Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Wed, 4 Nov 2026 18:27:31 +0100 Subject: [PATCH] docs: exclude tooling files from the published docs site MkDocs copies every non-Markdown file in docs_dir into the built site, so the docs Dockerfile and requirements files were published at the site root. Exclude them from the build. Fixes #2739 --- mkdocs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index 4922509c5..535cfca40 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,6 +2,9 @@ site_name: Powertools for AWS Lambda (Java) site_description: Powertools for AWS Lambda (Java) site_author: Amazon Web Services site_url: https://docs.aws.amazon.com/powertools/java/latest/ +exclude_docs: | + /Dockerfile + /requirements.* nav: - Homepage: index.md - Usage patterns: usage-patterns.md