ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
    IntroductionLocal DevelopmentUpdating VersionsNode Modules & Customization
    Configuration
    Writing
    OpenAPI
    Authentication
    Integrations
    Guides
      Static FilesEnvironment VariablesCustom pagesMermaid DiagramsMultiple APIsNavigation RulesRedirectsTransforming Operation ExamplesSchema ProcessorsCustom API IdentitiesCreate API Key on AuthDocumenting MCP ServersExample: Rick and Morty API
    Extending
    Components
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Guides

Static Files

Dev Portal makes it easy to serve static files like images, PDFs, or any other assets alongside your documentation. Any files placed in the public directory will be served at the root path / during dev, and copied to the root of the dist directory as-is.

Note that you should always reference public assets using root absolute path - for example, public/icon.png should be referenced in source code as /icon.png.

Usage

  1. Create a public directory in your project root if it doesn't exist already
  2. Place any static files in this directory
  3. Reference these files in your documentation using the root path /

Example

If you have the following structure:

Code
your-project/ ├── public/ │ ├── images/ │ │ └── diagram.png │ └── documents/ │ └── api-spec.pdf └── ...

You can reference these files using markdown like this:

Code
![API Architecture](/dev-portal/zudoku/images/diagram.png)

If you want users to download a file like a PDF, you can use an anchor tag like this:

Code
<a href="/documents/api-spec.pdf" download="/documents/api-spec.pdf">Download API specification</a>

Relative paths

If you want to reference a file that is in the same directory as the current file, you can also use a relative path:

page.mdx
![API Architecture](./image.png)
Edit this page
Last modified on May 29, 2026
SentryEnvironment Variables
On this page
  • Usage
  • Example
  • Relative paths
Markdown
Markdown