-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbunpress.config.ts
More file actions
69 lines (63 loc) · 2.24 KB
/
bunpress.config.ts
File metadata and controls
69 lines (63 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import type { BunpressConfig } from 'bunpress'
const config: BunpressConfig = {
name: 'ts-web-scraper',
description: 'A powerful, type-safe web scraping library for TypeScript and Bun',
url: 'https://ts-web-scraper.netlify.app',
theme: {
primaryColor: '#059669',
},
sidebar: [
{ text: 'Introduction', link: '/' },
{
text: 'Guide',
items: [
{ text: 'Getting Started', link: '/guide/getting-started' },
{ text: 'Static Pages', link: '/guide/static' },
{ text: 'JavaScript-Rendered Pages', link: '/guide/spa' },
{ text: 'CSS Selectors', link: '/guide/selectors' },
],
},
{
text: 'Features',
items: [
{ text: 'Content Extraction', link: '/features/content-extraction' },
{ text: 'Metadata', link: '/features/metadata' },
{ text: 'Pagination', link: '/features/pagination' },
{ text: 'Rate Limiting', link: '/features/rate-limiting' },
{ text: 'Caching', link: '/features/caching' },
{ text: 'Change Detection', link: '/features/change-detection' },
{ text: 'Export Formats', link: '/features/export' },
],
},
{
text: 'Advanced',
items: [
{ text: 'Pipelines', link: '/advanced/pipelines' },
{ text: 'Validation', link: '/advanced/validation' },
{ text: 'GraphQL', link: '/advanced/graphql' },
{ text: 'Cookies & Sessions', link: '/advanced/cookies' },
{ text: 'Performance', link: '/advanced/performance' },
],
},
{
text: 'Analysis',
items: [
{ text: 'SEO Analysis', link: '/analysis/seo' },
{ text: 'Accessibility', link: '/analysis/accessibility' },
{ text: 'Language Detection', link: '/analysis/language' },
],
},
{ text: 'Configuration', link: '/config' },
],
navbar: [
{ text: 'Guide', link: '/guide/getting-started' },
{ text: 'API', link: '/api/scraper' },
{ text: 'GitHub', link: 'https://github.com/stacksjs/ts-web-scraper' },
],
head: [
['link', { rel: 'icon', href: '/favicon.ico' }],
['meta', { name: 'og:title', content: 'ts-web-scraper' }],
['meta', { name: 'og:description', content: 'A powerful web scraping library for TypeScript' }],
],
}
export default config