diff --git a/mkdocs.yml b/mkdocs.yml index 3ab3dc9f..cbd8c8c5 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,6 +1,7 @@ site_name: Strands Agents SDK site_description: Documentation for Strands Agents, a simple-to-use, code-first, lightweight library for building AI agents site_dir: site +site_url: https://strandsagents.com repo_url: https://github.com/strands-agents/sdk-python @@ -59,6 +60,11 @@ markdown_extensions: extra_css: - stylesheets/extra.css +extra_javascript: + # Workaround for site_url breaking mermaid rendering; see the following for more info: + # https://github.com/squidfunk/mkdocs-material/issues/3742#issuecomment-1076068038 + - https://unpkg.com/mermaid@11/dist/mermaid.min.js + nav: - User Guide: - Welcome: README.md @@ -146,6 +152,15 @@ plugins: docstring_style: google show_root_heading: true show_source: true + - llmstxt: + sections: + User Guide: + - README.md + - user-guide/**/*.md + Examples: + - examples/**/*.md + API Reference: + - api-reference/*.md extra: social: diff --git a/requirements.txt b/requirements.txt index aeb8c7a1..2271997e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ mike~=2.1.3 mkdocs~=1.6.1 mkdocs-macros-plugin~=1.3.7 mkdocs-material~=9.6.12 -mkdocs-macros-plugin~=1.3.7 mkdocstrings-python~=1.16.10 +mkdocs-llmstxt~=0.2.0 strands-agents~=0.1.0