diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 64d213db4..eebefe54d 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -18,7 +18,7 @@ jobs: python-version: 3.x - name: Install necessary tools - run: pip install mkdocs mkdocs-material + run: pip install mkdocs mkdocs-material mkdocs-redirects - name: Copy Javadoc run: cp -r javadoc/ docs/javadoc/ diff --git a/mkdocs.yml b/mkdocs.yml index e8e14228e..1444d1297 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -49,6 +49,14 @@ markdown_extensions: - pymdownx.snippets - pymdownx.superfences +plugins: + - search: + - redirects: + redirect_maps: + "activity-lifecycle.md": "androidx_test.md" + "custom-shadows.md": "extending.md" + "errorprone-refactorings.md": "automated-migration.md" + extra: analytics: provider: google