Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Example: enable Apigee apps UI functionality #91

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
APIGEE_PROXY_URL=<Your deployment URL from Apigee>
APIGEE_ORG_NAME=<Your Apigee organization name>
APIGEE_VERSION=apigeex #or apigeeedge
3 changes: 3 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
APIGEE_PROXY_URL=<Your deployment URL from Apigee>
APIGEE_ORG_NAME=<Your Apigee organization name>
APIGEE_VERSION=apigeex #or apigeeedge
12 changes: 12 additions & 0 deletions app.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: App
matchPath: '/app/*'
requestLogin: true
---

import { AppPage } from '@redocly/developer-portal/apigee';
import { FullWidthLayout } from '@redocly/developer-portal/ui';

export default FullWidthLayout;

<AppPage />
11 changes: 11 additions & 0 deletions apps.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Apps list
requestLogin: true
---

import { AppsPage } from '@redocly/developer-portal/apigee';
import { FullWidthLayout } from '@redocly/developer-portal/ui';

export default FullWidthLayout;

<AppsPage />
11 changes: 11 additions & 0 deletions create-app.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Create app
requestLogin: true
---

import { CreateAppPage } from '@redocly/developer-portal/apigee';
import { FullWidthLayout } from '@redocly/developer-portal/ui';

export default FullWidthLayout;

<CreateAppPage />
15 changes: 15 additions & 0 deletions siteConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,21 @@ nav:

- search: true

login:
label: Sign in/Sign up
userAvatar: # can be false
claim: picture
fallbackLettersClaim: name
userLabel: # can be false, but one of those must be not false
claim: name
fallback: <unknown user>
menu:
- label: Apps
page: apps.mdx
- separatorLine: true
- label: Sign out
logout: true

footer:
copyrightText: Copyright © Redocly 2019-2021. All right reserved.
columns:
Expand Down