mirror of
https://github.com/prdlk/leetcode.git
synced 2026-09-17 07:26:27 +00:00
feat(config): add Blume configuration file
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { defineConfig } from "blume";
|
||||
|
||||
export default defineConfig({
|
||||
title: "Leetcode",
|
||||
description: "Documentation powered by Blume.",
|
||||
deployment: {
|
||||
site: "https://prdlk.github.io",
|
||||
base: "/leetcode",
|
||||
},
|
||||
});
|
||||
@@ -1,7 +0,0 @@
|
||||
node_modules/
|
||||
.blume/
|
||||
dist/
|
||||
|
||||
# vendored blume built from a pinned upstream master commit (see package.json)
|
||||
!vendor/*.tgz
|
||||
.blume-verify/
|
||||
@@ -1,21 +0,0 @@
|
||||
import { defineConfig } from "blume";
|
||||
|
||||
export default defineConfig({
|
||||
title: "WTF",
|
||||
logo: "https://avatars.githubusercontent.com/u/3804558?s=64&v=4",
|
||||
description: "Documentation powered by Blume.",
|
||||
content: {
|
||||
root: "content",
|
||||
},
|
||||
deployment: {
|
||||
site: "https://leetcode.wtf",
|
||||
},
|
||||
navigation: {
|
||||
tabs: [
|
||||
{
|
||||
label: "Problems",
|
||||
path: "/problems",
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
-2390
File diff suppressed because it is too large
Load Diff
@@ -1,27 +0,0 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "leetcode-docs",
|
||||
"main": "worker.js",
|
||||
"compatibility_date": "2026-08-14",
|
||||
"workers_dev": false,
|
||||
"preview_urls": true,
|
||||
"build": {
|
||||
"command": "bun run build",
|
||||
"watch_dir": "content"
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"pattern": "leetcode.wtf",
|
||||
"custom_domain": true
|
||||
}
|
||||
],
|
||||
"assets": {
|
||||
"directory": "./dist",
|
||||
"binding": "ASSETS",
|
||||
"not_found_handling": "404-page",
|
||||
"run_worker_first": true
|
||||
},
|
||||
"vars": {
|
||||
"SITE_PASSWORD": "getcracked2026"
|
||||
}
|
||||
}
|
||||
@@ -1,17 +1,13 @@
|
||||
{
|
||||
"name": "docs",
|
||||
"name": "leetcode",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "blume dev",
|
||||
"build": "blume build",
|
||||
"doctor": "blume doctor",
|
||||
"deploy": "wrangler deploy"
|
||||
"doctor": "blume doctor"
|
||||
},
|
||||
"dependencies": {
|
||||
"blume": "^1.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"wrangler": "^4"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user