Skip to content

Commit

Permalink
lorem
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed Jan 23, 2024
1 parent fe55f0e commit 7ea77b0
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ pnpm-debug.log*
.vercel
_
.*cache
.wrangler
functions
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"typescript.inlayHints.parameterNames.enabled": "all",
"files.associations": {
// tells vscode that the file can take comments
"*.css": "tailwindcss"
"*.css": "tailwindcss",
"*mdoc": "markdown"
},
"editor.quickSuggestions": {
"strings": "on"
Expand Down
30 changes: 16 additions & 14 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import process from 'node:process'
import sentry from '@sentry/astro'
import tailwind from '@astrojs/tailwind'
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import spotlightjs from '@spotlightjs/astro'
import starlightLinksValidator from 'starlight-links-validator'
import { defineConfig, passthroughImageService } from 'astro/config'

const SITE_URL = 'https://docs.ethfollow.xyz'

Expand All @@ -15,6 +15,9 @@ export default defineConfig({
output: 'static',
trailingSlash: 'ignore',
integrations: [
sentry(),
spotlightjs(),
tailwind({ applyBaseStyles: false, configFile: 'tailwind.config.ts' }),
starlight({
title: 'EFP Docs',
tagline: 'Ethereum Follow Protocol',
Expand Down Expand Up @@ -58,13 +61,20 @@ export default defineConfig({
{
label: 'Specification',
collapsed: false,
autogenerate: { directory: 'design' }
autogenerate: {
directory: 'design'
}
},
{
label: 'Public API',
collapsed: false,
autogenerate: { directory: 'api' },
badge: { text: '/api/v1', variant: 'tip' }
autogenerate: {
directory: 'api'
},
badge: {
text: '/api/v1',
variant: 'tip'
}
}
],
head: [
Expand Down Expand Up @@ -119,18 +129,10 @@ export default defineConfig({
// https://starlight-links-validator.vercel.app/configuration/#configuration-options
starlightLinksValidator()
]
}),
tailwind({
applyBaseStyles: false,
configFile: 'tailwind.config.ts'
}),
sentry(),
spotlightjs()
})
],
image: {
service: passthroughImageService()
},
experimental: {
clientPrerender: true,
contentCollectionCache: !import.meta.env.DEV
},
server: {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"prettier-plugin-astro": "^0.13.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"sharp": "^0.33.2",
"shikiji-twoslash": "^0.10.0",
"starlight-links-validator": "^0.5.2",
"tailwindcss": "^3.4.1",
"typed-query-selector": "^2.11.0",
"typescript": "^5.3.3",
"shikiji-twoslash": "^0.10.0"
"typescript": "^5.3.3"
},
"homepage": "https://docs.ethfollow.xyz",
"sideEffects": false,
Expand Down

0 comments on commit 7ea77b0

Please sign in to comment.