mirror of
https://github.com/DanielLavrushin/b4.git
synced 2026-07-20 21:25:49 +00:00
- Created UDP documentation detailing traffic handling and filtering options. - Added backup settings documentation for configuration backup and restoration. - Introduced core settings documentation covering service management, packet processing, and logging. - Added discovery settings documentation for automatic configuration detection. - Created geodata documentation explaining GeoSite and GeoIP databases and their usage. - Added payloads documentation for generating and managing TLS payloads for faking. - Introduced security documentation for web interface authorization and HTTPS setup. - Added domain monitoring documentation for automatic detection of blocked domains and recovery processes. - Created footer and navbar localization files for Russian language support.
85 lines
1.8 KiB
TypeScript
85 lines
1.8 KiB
TypeScript
import { themes as prismThemes } from "prism-react-renderer";
|
|
import type { Config } from "@docusaurus/types";
|
|
import type * as Preset from "@docusaurus/preset-classic";
|
|
|
|
const config: Config = {
|
|
title: "B4 - Bye Bye Big Bro",
|
|
tagline: "Advanced censorship bypass system",
|
|
favicon: "img/favicon.ico",
|
|
url: "https://daniellavrushin.github.io/",
|
|
baseUrl: "/b4",
|
|
|
|
onBrokenLinks: "warn",
|
|
|
|
markdown: {
|
|
mermaid: true,
|
|
},
|
|
themes: ["@docusaurus/theme-mermaid"],
|
|
|
|
i18n: {
|
|
defaultLocale: "en",
|
|
locales: ["en", "ru"],
|
|
localeConfigs: {
|
|
en: { label: "English" },
|
|
ru: { label: "Русский" },
|
|
},
|
|
},
|
|
|
|
presets: [
|
|
[
|
|
"classic",
|
|
{
|
|
docs: {
|
|
sidebarPath: "./sidebars.ts",
|
|
editUrl:
|
|
"https://github.com/DanielLavrushin/b4/tree/main/docs/",
|
|
},
|
|
theme: {
|
|
customCss: "./src/css/custom.css",
|
|
},
|
|
} satisfies Preset.Options,
|
|
],
|
|
],
|
|
|
|
themeConfig: {
|
|
navbar: {
|
|
title: "",
|
|
logo: {
|
|
alt: "B4 Logo",
|
|
src: "img/favicon.svg",
|
|
},
|
|
items: [
|
|
{
|
|
type: "docSidebar",
|
|
sidebarId: "tutorialSidebar",
|
|
position: "left",
|
|
label: "Docs",
|
|
},
|
|
{
|
|
to: "/swagger",
|
|
label: "API",
|
|
position: "left",
|
|
},
|
|
{
|
|
type: "localeDropdown",
|
|
position: "right",
|
|
},
|
|
{
|
|
href: "https://github.com/DanielLavrushin/b4",
|
|
label: "GitHub",
|
|
position: "right",
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
style: "dark",
|
|
copyright: `Copyright © ${new Date().getFullYear()} B4 Project`,
|
|
},
|
|
prism: {
|
|
theme: prismThemes.dracula,
|
|
darkTheme: prismThemes.dracula,
|
|
},
|
|
} satisfies Preset.ThemeConfig,
|
|
};
|
|
|
|
export default config;
|