From d566e9803daab01182a7a3d28c26973d48dcb01e Mon Sep 17 00:00:00 2001 From: Madison Date: Tue, 8 Jul 2025 20:09:55 -0500 Subject: [PATCH] python docs changes. --- docs/docs-platform.yml | 50 +- docs/src/components/layouts/shared-header.tsx | 2 +- .../templates-python/authentication/index.mdx | 30 - .../templates-python/authentication/meta.json | 11 - .../concepts/teams-management.mdx | 599 ++++++++++++++++++ .../user-authentication.mdx | 8 - .../getting-started/setup.mdx | 189 +++--- docs/templates-python/integration/django.mdx | 6 - docs/templates-python/integration/meta.json | 10 - docs/templates-python/meta.json | 22 +- .../team-management/meta.json | 10 - .../user-management/meta.json | 10 - 12 files changed, 705 insertions(+), 242 deletions(-) delete mode 100644 docs/templates-python/authentication/index.mdx delete mode 100644 docs/templates-python/authentication/meta.json create mode 100644 docs/templates-python/concepts/teams-management.mdx rename docs/templates-python/{authentication => concepts}/user-authentication.mdx (96%) delete mode 100644 docs/templates-python/integration/django.mdx delete mode 100644 docs/templates-python/integration/meta.json delete mode 100644 docs/templates-python/team-management/meta.json delete mode 100644 docs/templates-python/user-management/meta.json diff --git a/docs/docs-platform.yml b/docs/docs-platform.yml index 05cd9bb1c..6e01a0afb 100644 --- a/docs/docs-platform.yml +++ b/docs/docs-platform.yml @@ -261,54 +261,12 @@ pages: # Python-specific content from templates-python/ # Authentication section - - path: authentication/api-setup.mdx - platforms: ["python"] - - path: authentication/user-sessions.mdx - platforms: ["python"] + - path: concepts/user-authentication.mdx + platforms: ["python"] # python only - - path: authentication/oauth-flows.mdx - platforms: ["python"] - - - path: authentication/server-validation.mdx - platforms: ["python"] + - path: concepts/teams-management.mdx + platforms: ["python"] # python only - # User Management section - - path: user-management/create-users.mdx - platforms: ["python"] - - path: user-management/user-operations.mdx - platforms: ["python"] - - - path: user-management/custom-user-data.mdx - platforms: ["python"] - - - path: user-management/user-permissions.mdx - platforms: ["python"] - - # Team Management section - - path: team-management/team-operations.mdx - platforms: ["python"] - - - path: team-management/team-invitations.mdx - platforms: ["python"] - - - path: team-management/team-permissions.mdx - platforms: ["python"] - - - path: team-management/organization-management.mdx - platforms: ["python"] - - # Framework Integration section - - path: integration/django.mdx - platforms: ["python"] - - - path: integration/flask.mdx - platforms: ["python"] - - - path: integration/fastapi.mdx - platforms: ["python"] - - - path: integration/standalone-scripts.mdx - platforms: ["python"] diff --git a/docs/src/components/layouts/shared-header.tsx b/docs/src/components/layouts/shared-header.tsx index 442a8315b..085e227bd 100644 --- a/docs/src/components/layouts/shared-header.tsx +++ b/docs/src/components/layouts/shared-header.tsx @@ -80,7 +80,7 @@ function AIChatToggleButton() { return null; } - const { isChatOpen, toggleChat } = sidebarContext; + const { toggleChat } = sidebarContext; return (