Skip to content

Commit

Permalink
chore(config): update configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
binarstrike committed Oct 20, 2023
1 parent cd99357 commit 23e852d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @ts-check
// // @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require("prism-react-renderer/themes/github");
Expand All @@ -8,25 +8,36 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const config = {
title: "Blogger Gabut",
tagline: "Cuman Blog kecil yang membagikan tutorial seputar IT",
url: "https://web.binarstrike.my.id",
url: "https://web.binardev.site",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "binarstrike", // Usually your GitHub org/user name.
projectName: "binarstrike.github.io", // Usually your repo name.
projectName: "blogger-gabut", // Usually your repo name.
i18n: {
defaultLocale: "id",
locales: ["id"],
},
themes: [require.resolve("@easyops-cn/docusaurus-search-local")],
themes: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
hashed: true,
explicitSearchResultPath: true,
docsRouteBasePath: "tutorial",
}),
],
],
presets: [
[
"classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve("./sidebars.js"),
routeBasePath: "tutorial",
},
blog: {
showReadingTime: true,
Expand All @@ -45,7 +56,7 @@ const config = {
title: "Blogger Gabut",
logo: {
alt: "My Site Logo",
src: "/img/ryo-padoru.png",
src: "/img/docusaurus.png",
},
items: [
{ to: "/blog", label: "Blog", position: "left" },
Expand All @@ -56,10 +67,9 @@ const config = {
label: "Tutorial",
},
{
href: "https://github.com/binarstrike",
href: "https://github.com/binarstrike/blogger-gabut",
className: "header-github-link",
"aria-label": "GitHub repository",
// label: "GitHub",
position: "right",
},
],
Expand All @@ -76,7 +86,7 @@ const config = {
},
{
label: "Telegram",
to: "https://t.me/binarstrike",
to: "https://t.me/Lynx2148b974",
},
],
},
Expand All @@ -103,7 +113,7 @@ const config = {
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Blogger Gabut, Inc. Built with <a href="https://docusaurus.io" target="_blank" rel="noopener noreferrer" class="footer__link-item">Docusaurus</a>.`,
copyright: `Copyright © ${new Date().getFullYear()} Blogger Gabut. Built with <a href="https://docusaurus.io" target="_blank" rel="noopener noreferrer" class="footer__link-item">Docusaurus</a>.`,
},
prism: {
theme: lightCodeTheme,
Expand Down
Binary file removed static/img/ryo-padoru.png
Binary file not shown.

0 comments on commit 23e852d

Please sign in to comment.