Skip to content

Instantly share code, notes, and snippets.

@mosch
Created December 4, 2025 15:54
Show Gist options
  • Select an option

  • Save mosch/24f993494869a5612fcbcb71d7a0f75c to your computer and use it in GitHub Desktop.

Select an option

Save mosch/24f993494869a5612fcbcb71d7a0f75c to your computer and use it in GitHub Desktop.
import type { ZudokuConfig } from "zudoku";
/**
* Developer Portal Configuration
* For more information, see:
* https://zuplo.com/docs/dev-portal/zudoku/configuration/overview
*/
const config: ZudokuConfig = {
site: {
title: "My Developer Portal",
logo: {
src: {
light: "https://cdn.zuplo.com/assets/my-dev-portal-light.svg",
dark: "https://cdn.zuplo.com/assets/my-dev-portal-dark.svg",
},
},
},
redirects: [
{ from: "/", to: "/api" },
{ from: "/", to: "/bar" },
],
baseUrl: "/hello",
metadata: {
title: "Developer Portal",
description: "Developer Portal",
},
navigation: [
{
type: "category",
label: "Documentation",
items: [
{
type: "category",
label: "Getting Started",
icon: "sparkles",
items: [
{
type: "doc",
file: "introduction",
},
{
type: "doc",
file: "markdown",
},
],
},
{
type: "category",
label: "Useful Links",
collapsible: false,
icon: "link",
items: [
{
type: "link",
label: "Zuplo Docs",
to: "https://zuplo.com/docs/dev-portal/introduction",
},
{
type: "link",
label: "Developer Portal Docs",
to: "https://zuplo.com/docs/dev-portal/introduction",
},
],
},
],
},
{
type: "link",
to: "/api",
label: "API Reference",
},
],
apis: [
{
type: "file",
input: "../config/routes.oas.json",
path: "api",
},
],
authentication: {
// IMPORTANT: This is a demo Auth0 configuration.
// In a real application, you should replace these values with your own
// identity provider's configuration.
// This configuration WILL NOT WORK with custom domains.
// For more information, see:
// https://zuplo.com/docs/dev-portal/zudoku/configuration/authentication
type: "auth0",
domain: "auth.zuplo.site",
clientId: "f8I87rdsCRo4nU2FHf0fHVwA9P7xi7Ml",
audience: "https://api.example.com/",
},
apiKeys: {
enabled: true,
},
};
export default config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment