diff --git a/mkdocs.yml b/mkdocs.yml index b66528595..d0a0ac977 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -8,8 +8,9 @@ exclude_docs: api-reference/java/legal/* # Repository -repo_name: adk-python -repo_url: https://github.com/google/adk-python +repo_name: adk-docs +repo_url: https://github.com/google/adk-docs +edit_uri: edit/main/docs/ # Copyright copyright: Copyright Google 2025  |  Terms  |  Privacy  |  Manage cookies @@ -19,6 +20,9 @@ extra_css: - stylesheets/custom.css extra: + first_repo_url: https://github.com/google/adk-python + first_repo_name: adk-python + first_repo_icon: fontawesome/brands/github second_repo_url: https://github.com/google/adk-java second_repo_name: adk-java second_repo_icon: fontawesome/brands/github @@ -27,8 +31,8 @@ extra: property: G-DKHZS27PHP consent: title: Cookie consent - description: >- - We use cookies to recognize repeated visits and preferences, + description: >- + We use cookies to recognize repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find the information they need. With your consent, you're helping us to make our documentation better. @@ -58,6 +62,7 @@ theme: icon: material/brightness-4 name: Switch to light mode features: + - content.action.edit - content.code.annotate - content.code.copy - content.code.select diff --git a/overrides/partials/source.html b/overrides/partials/source.html index 29d07905d..ba96f46ae 100644 --- a/overrides/partials/source.html +++ b/overrides/partials/source.html @@ -1,21 +1,21 @@ - +
- {% set icon = config.theme.icon.repo or "fontawesome/brands/git-alt" %} - {% include ".icons/" ~ icon ~ ".svg" %} + {% set first_icon = config.extra.first_repo_icon or "fontawesome/brands/github" %} + {% include ".icons/" ~ first_icon ~ ".svg" %}
- {{ config.repo_name }} + {{ config.extra.first_repo_name or 'First Repository' }}
- + {{ config.extra.second_repo_name or 'Second Repository' }} - \ No newline at end of file +