Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c16b52a
chore: remove astro, prepare for migration
Xignotic84 Apr 28, 2025
b6c402c
chore: initial refactor of api docs
Xignotic84 Apr 28, 2025
1aac97f
fix build:tm:
Luke-6723 Apr 28, 2025
3f214ae
remove astro shite
Luke-6723 Apr 28, 2025
5c37a35
fix start script
Luke-6723 Apr 28, 2025
b118816
fix build
Luke-6723 Apr 28, 2025
36c2646
chore: add api routes
Xignotic84 Apr 30, 2025
0857a0c
chore: use openAPI schemas for routes
Xignotic84 Apr 30, 2025
945ca84
chore: bump deps
Xignotic84 Apr 30, 2025
1aecc7f
chore: remove cors proxy
Xignotic84 Apr 30, 2025
b6944e3
chore: add .vscode to .gitignore
12LuA Apr 30, 2025
bb4edf3
feature: add tags route
Xignotic84 May 1, 2025
e8dc83a
chore: update schemas and descriptions
Xignotic84 May 1, 2025
b5056af
Merge branch 'next' of https://github.com/top-stats/docs into next
Xignotic84 May 1, 2025
1daabcf
chore: layout changes
Xignotic84 May 1, 2025
9749a0a
chore: some fixes
Xignotic84 May 1, 2025
d44ea30
feat: add search
Xignotic84 May 1, 2025
03baaa9
feat: add GitHub URL to layout configuration
12LuA May 1, 2025
cf2607e
feat: update title in README to reflect project name
12LuA May 1, 2025
5a1410e
feat: restructure FAQ section into accordions for better readability
12LuA May 1, 2025
275efca
feat: add application icon
12LuA May 1, 2025
f5044a2
feat: update homepage layout with logo and new content sections
12LuA May 1, 2025
1b12457
chore: add colors to card icons
Xignotic84 May 2, 2025
e83db7f
chore: document ratelimit and ban responses
Xignotic84 May 3, 2025
50f9847
feat: add background layers for improved visual design
12LuA May 3, 2025
c243ed7
fix: background
Xignotic84 May 3, 2025
1e0a34b
chore: update card color
Xignotic84 May 3, 2025
86e5185
chore: add .code-workspace to .gitignore
12LuA May 3, 2025
211f4ec
chore: remove unused IDE configuration files
12LuA May 3, 2025
c410c9f
feat: enhance card interactions with transition effects
12LuA May 3, 2025
2f4c7f0
chore: update rate limits documentation
Xignotic84 May 3, 2025
9fe497e
fix: markdown for py install
Xignotic84 May 3, 2025
401cbfe
chore: update schema
Xignotic84 May 3, 2025
44f9189
chore: more styling
Xignotic84 May 3, 2025
a897af5
feat: add animation effects for title and cards on homepage
12LuA May 3, 2025
db6fcb0
chore: finalize docs
Xignotic84 May 4, 2025
de499b7
chore: add read the docs card
Xignotic84 May 4, 2025
d87e7f8
chore: add initial widget documentation
Xignotic84 May 4, 2025
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 .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
40 changes: 25 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,32 @@
# build output
dist/
# generated types
.astro/
# deps
/node_modules

# dependencies
node_modules/
# generated content
.contentlayer
.content-collections
.source

# logs
# test & build
/coverage
/.next/
/out/
/build
/dist
*.tsbuildinfo

# misc
.DS_Store
*.pem
/.pnp
.pnp.js
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
# others
.env*.local
.vercel
next-env.d.ts
.idea
.vscode
*.code-workspace
6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

106 changes: 0 additions & 106 deletions .idea/workspace.xml

This file was deleted.

11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
# Stage 1: Build the Astro project
FROM node:18-alpine AS app
FROM node:22-alpine AS app

# Set the working directory inside the container
WORKDIR /app

# Copy package.json and package-lock.json (if present) to install dependencies
COPY package*.json ./
# Copy all project files
COPY . .

# Install dependencies
RUN npm install

# Copy all project files
COPY . .

# Build the Astro project (output will go to /app/dist)
RUN npm run build

ENV HOST=0.0.0.0
ENV PORT=3000

EXPOSE 3000
CMD ["node", "/app/dist/server/entry.mjs"]
CMD ["npm", "start"]

65 changes: 18 additions & 47 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,26 @@
# Starlight Starter Kit: Basics
# TopStats Documentation

[![Built with Starlight](https://astro.badg.es/v2/built-with-starlight/tiny.svg)](https://starlight.astro.build)
This is a Next.js application generated with
[Create Fumadocs](https://github.com/fuma-nama/fumadocs).

```
npm create astro@latest -- --template starlight
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/starlight/tree/main/examples/basics)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/starlight/tree/main/examples/basics)
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/withastro/starlight&create_from_path=examples/basics)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fwithastro%2Fstarlight%2Ftree%2Fmain%2Fexamples%2Fbasics&project-name=my-starlight-docs&repository-name=my-starlight-docs)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!

## 🚀 Project Structure

Inside of your Astro + Starlight project, you'll see the following folders and files:
Run development server:

```bash
npm run dev
# or
pnpm dev
# or
yarn dev
```
.
├── public/
├── src/
│ ├── assets/
│ ├── content/
│ │ ├── docs/
│ │ └── config.ts
│ └── env.d.ts
├── astro.config.mjs
├── package.json
└── tsconfig.json
```

Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory. Each file is exposed as a route based on its file name.

Images can be added to `src/assets/` and embedded in Markdown with a relative link.

Static assets, like favicons, can be placed in the `public/` directory.

## 🧞 Commands

All commands are run from the root of the project, from a terminal:
Open http://localhost:3000 with your browser to see the result.

| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |
## Learn More

## 👀 Want to learn more?
To learn more about Next.js and Fumadocs, take a look at the following
resources:

Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat).
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js
features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
- [Fumadocs](https://fumadocs.vercel.app) - learn about Fumadocs
50 changes: 0 additions & 50 deletions astro.config.mjs

This file was deleted.

Loading