Skip to content
Merged
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: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# build output
dist/
.wrangler/

# generated types
.astro/
.vercel/

# dependencies
node_modules/
Expand All @@ -23,5 +23,4 @@ pnpm-debug.log*
.DS_Store

.idea
.vercel
.env*.local
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dist/
.vercel/
.wrangler/
.astro/
# css files are linted by biome
**/*.css
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![License](https://img.shields.io/github/license/sumup/sumup-developer)](./LICENSE)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.1%20adopted-ff69b4.svg)](https://github.com/sumup/sumup-developer/tree/main/CODE_OF_CONDUCT.md)

The SumUp's Developer Portal provides documentation for public APIs and integrations that let external developers build payment-accepting solutions for businesses. The website is built using [Astro](https://astro.build/) and [Markdoc](https://markdoc.dev/).
The SumUp's Developer Portal provides documentation for integrations, SDKs, and public APIs that let external developers build payment-acceptance solutions. The website is built using [Astro](https://astro.build/) and [Markdoc](https://markdoc.dev/).

</div>

Expand Down Expand Up @@ -51,20 +51,20 @@ npm i

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

```
$ npm run dev
```bash
npm run dev
```

### Build

```
$ npm run build
```bash
npm run build
```

This is a good way to test that everything will succeed when your changes are merged and are going to be deployed.

## API Specs

The OpenAPI specs used for the [API Reference](https://developer.sumup.com/api) section of the developer portal are managed by [sumup/collector](https://github.com/sumup/collector) and automatically synchronized to this repository. For changes and documentation refer to the [linked repository](https://github.com/sumup/collector).
The OpenAPI specs used for the [API Reference](https://developer.sumup.com/api) section of the developer portal are managed externally from a different repository and synchronized every time they change. If you spotted a mistake or have a suggestion for an improvement please open an issue here and we will take a look.

[docs-badge]: https://img.shields.io/badge/SumUp-documentation-white.svg?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgY29sb3I9IndoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHBhdGggZD0iTTIyLjI5IDBIMS43Qy43NyAwIDAgLjc3IDAgMS43MVYyMi4zYzAgLjkzLjc3IDEuNyAxLjcxIDEuN0gyMi4zYy45NCAwIDEuNzEtLjc3IDEuNzEtMS43MVYxLjdDMjQgLjc3IDIzLjIzIDAgMjIuMjkgMFptLTcuMjIgMTguMDdhNS42MiA1LjYyIDAgMCAxLTcuNjguMjQuMzYuMzYgMCAwIDEtLjAxLS40OWw3LjQ0LTcuNDRhLjM1LjM1IDAgMCAxIC40OSAwIDUuNiA1LjYgMCAwIDEtLjI0IDcuNjlabTEuNTUtMTEuOS03LjQ0IDcuNDVhLjM1LjM1IDAgMCAxLS41IDAgNS42MSA1LjYxIDAgMCAxIDcuOS03Ljk2bC4wMy4wM2MuMTMuMTMuMTQuMzUuMDEuNDlaIiBmaWxsPSJjdXJyZW50Q29sb3IiLz4KPC9zdmc+
8 changes: 4 additions & 4 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { loadEnv } from "vite";
import cloudflare from "@astrojs/cloudflare";
import markdoc from "@astrojs/markdoc";
import react from "@astrojs/react";
import starlight from "@astrojs/starlight";
import vercel from "@astrojs/vercel";
import starlightLinksValidator from "starlight-links-validator";
import starlightLlmsTxt from "starlight-llms-txt";
import { loadEnv } from "vite";

import { defineConfig } from "astro/config";
import type { HeadUserConfig } from "node_modules/@astrojs/starlight/schemas/head";
Expand Down Expand Up @@ -147,8 +147,8 @@ const head = (): HeadUserConfig => {
};

export default defineConfig({
adapter: vercel(),
site: "https://sumup-developer.sumup-vercel.app",
adapter: cloudflare(),
site: "https://developer.sumup.com",

experimental: {
contentIntellisense: true,
Expand Down
6 changes: 3 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import pluginJavaScript from "@eslint/js";
import pluginTypeScript from "typescript-eslint";
import pluginReact from "eslint-plugin-react";
import pluginAstro from "eslint-plugin-astro";
import pluginReactA11y from "eslint-plugin-jsx-a11y";
import pluginReact from "eslint-plugin-react";
import pluginTypeScript from "typescript-eslint";

import globals from "globals";

Expand All @@ -26,7 +26,7 @@ export default [
...pluginReact.configs.flat["jsx-runtime"],
},
{
ignores: [".astro/", ".vercel/", "dist/", ".github/"],
ignores: [".astro/", "dist/", ".wrangler/", ".github/"],
},
{
rules: {
Expand Down
Loading