diff --git a/docs/extra/tweaks.css b/docs/extra/tweaks.css new file mode 100644 index 0000000000..275cfb2530 --- /dev/null +++ b/docs/extra/tweaks.css @@ -0,0 +1,9 @@ +/* Revert hue value to that of pre mkdocs-material v9.4.0 */ +[data-md-color-scheme="slate"] { + --md-hue: 230; + --md-default-bg-color: hsla(230, 15%, 21%, 1); +} + +.hide { + display: none; +} diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 0000000000..74301be3a0 Binary files /dev/null and b/docs/favicon.ico differ diff --git a/docs/img/logo-white.svg b/docs/img/logo-white.svg new file mode 100644 index 0000000000..e38e6723da --- /dev/null +++ b/docs/img/logo-white.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/docs/img/pydantic-ai-dark.svg b/docs/img/pydantic-ai-dark.svg new file mode 100644 index 0000000000..de3a32b951 --- /dev/null +++ b/docs/img/pydantic-ai-dark.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/img/pydantic-ai-light.svg b/docs/img/pydantic-ai-light.svg new file mode 100644 index 0000000000..86e06d3298 --- /dev/null +++ b/docs/img/pydantic-ai-light.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/index.md b/docs/index.md index 9b69e5db0b..478ba9f226 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,28 @@ -# PydanticAI +

+ PydanticAI +

+

+ PydanticAI +

+

+ Agent Framework / shim to use Pydantic with LLMs +

+

+ + CI + + + PyPI + + + versions + + + license + +

+ +# PydanticAI {.hide} You can think of PydanticAI as an Agent Framework or a shim to use Pydantic with LLMs — they're the same thing. diff --git a/mkdocs.yml b/mkdocs.yml index 2e7c3fbd51..81b54f8258 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,5 @@ site_name: PydanticAI -site_description: PydanticAI +site_description: Agent Framework / shim to use Pydantic with LLMs strict: true site_url: https://ai.pydantic.dev @@ -11,7 +11,7 @@ copyright: © Pydantic Services Inc. 2024 to present nav: - Introduction: - - index.md + - Introduction: index.md - install.md - Examples: - examples/index.md @@ -76,8 +76,8 @@ theme: - navigation.tracking - toc.follow # - navigation.tabs # don't use navbar tabs -# logo: "logo-white.svg" -# favicon: "favicon.png" + logo: "img/logo-white.svg" + favicon: "favicon.ico" # https://www.mkdocs.org/user-guide/configuration/#validation validation: @@ -85,6 +85,8 @@ validation: absolute_links: warn unrecognized_links: warn +extra_css: + - 'extra/tweaks.css' # used for analytics extra_javascript: - "/flarelytics/client.js"