2025-11-12 22:29:35 +01:00
|
|
|
// @ts-check
|
2025-11-13 21:00:55 +01:00
|
|
|
import {defineConfig} from 'astro/config'
|
|
|
|
|
import starlight from '@astrojs/starlight'
|
|
|
|
|
|
|
|
|
|
const BASE_URL = 'https://domainwatchdog.eu'
|
2025-11-12 22:29:35 +01:00
|
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
|
export default defineConfig({
|
2025-11-13 21:00:55 +01:00
|
|
|
site: BASE_URL,
|
2025-11-12 22:29:35 +01:00
|
|
|
integrations: [
|
|
|
|
|
starlight({
|
|
|
|
|
title: 'Domain Watchdog',
|
|
|
|
|
defaultLocale: 'en',
|
|
|
|
|
logo: {
|
|
|
|
|
src: './src/assets/logo.png'
|
|
|
|
|
},
|
2025-11-13 20:51:51 +01:00
|
|
|
favicon: 'logo.png',
|
2025-11-12 22:29:35 +01:00
|
|
|
description: 'An app that uses RDAP to collect publicly available info about domains, track their history, and purchase then when they are delete',
|
|
|
|
|
editLink: {
|
2025-11-12 23:07:44 +01:00
|
|
|
baseUrl: 'https://github.com/maelgangloff/domain-watchdog/edit/develop/docs/'
|
2025-11-12 22:29:35 +01:00
|
|
|
},
|
|
|
|
|
tagline: 'Your companion in the quest for domain names 🔍',
|
|
|
|
|
lastUpdated: true,
|
|
|
|
|
social: [{icon: 'github', label: 'GitHub', href: 'https://github.com/maelgangloff/domain-watchdog'}],
|
|
|
|
|
sidebar: [
|
|
|
|
|
{label: 'Getting started', slug: 'features'},
|
|
|
|
|
{
|
|
|
|
|
label: 'Self hosting',
|
|
|
|
|
autogenerate: {directory: 'self-hosting'},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: 'Features',
|
|
|
|
|
items: [
|
|
|
|
|
{label: 'Domain back-order', autogenerate: {directory: 'features/backorder'}},
|
|
|
|
|
{label: 'Domain search', autogenerate: {directory: 'features/search'}},
|
|
|
|
|
{label: 'Domain tracking', autogenerate: {directory: 'features/tracking'}},
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: 'Developing',
|
|
|
|
|
items: [
|
|
|
|
|
{slug: 'developing/technical-stack'},
|
2025-11-14 00:46:27 +01:00
|
|
|
{slug: 'developing/add-provider'},
|
2025-11-12 22:29:35 +01:00
|
|
|
{slug: 'developing/translation'},
|
|
|
|
|
{label: 'Contributing', autogenerate: {directory: 'developing/contributing'}}
|
|
|
|
|
],
|
|
|
|
|
collapsed: true
|
|
|
|
|
},
|
|
|
|
|
{label: 'Legal', autogenerate: {directory: 'legal'}, collapsed: true}
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
locales: {
|
|
|
|
|
en: {
|
|
|
|
|
label: 'English',
|
|
|
|
|
lang: 'en'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
head: [
|
2025-11-13 21:12:08 +01:00
|
|
|
{
|
|
|
|
|
tag: 'meta',
|
|
|
|
|
attrs: {name: 'twitter:card', content: 'summary'},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
tag: 'meta',
|
|
|
|
|
attrs: {name: 'twitter:url', content: BASE_URL},
|
|
|
|
|
},
|
2025-11-13 21:00:55 +01:00
|
|
|
{
|
|
|
|
|
tag: 'meta',
|
|
|
|
|
attrs: {property: 'og:image', content: BASE_URL + '/logo.png'},
|
|
|
|
|
},
|
2025-11-12 22:29:35 +01:00
|
|
|
{
|
|
|
|
|
tag: 'script',
|
|
|
|
|
attrs: {type: 'text/javascript'},
|
|
|
|
|
content: `var _paq = window._paq = window._paq || [];
|
|
|
|
|
_paq.push(['trackPageView']);
|
|
|
|
|
_paq.push(['enableLinkTracking']);
|
|
|
|
|
_paq.push(['trackAllContentImpressions']);
|
|
|
|
|
_paq.push(['trackVisibleContentImpressions']);
|
|
|
|
|
_paq.push(['enableHeartBeatTimer']);
|
|
|
|
|
|
|
|
|
|
(function () {
|
|
|
|
|
var u = "//sonar.domainwatchdog.eu/";
|
|
|
|
|
_paq.push(['setTrackerUrl', u + 'sonar']);
|
|
|
|
|
_paq.push(['setSiteId', '4']);
|
|
|
|
|
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
|
|
|
|
g.async = true;
|
|
|
|
|
g.src = u + 'sonar.js';
|
|
|
|
|
s.parentNode.insertBefore(g, s);
|
|
|
|
|
})();`
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
]
|
2025-11-13 21:00:55 +01:00
|
|
|
})
|