Skip to content

Commit

Permalink
chore: enable docusaurus fast build
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Nov 15, 2024
1 parent 7497434 commit 96c9880
Show file tree
Hide file tree
Showing 5 changed files with 1,638 additions and 753 deletions.
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

37 changes: 21 additions & 16 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
import { themes } from "prism-react-renderer";
import remarkMath from "remark-math";
import rehypeKatex from "rehype-katex";
const site_url = "https://pranabdas.github.io";
const drive_url = "https://pranabdas.github.io/drive";
/** @type {import('@docusaurus/types').Config} */
const config = {
title: "OpenMX tutorial",
tagline: "DFT calculation using OpenMX",
url: "https://pranabdas.github.io",
url: site_url,
baseUrl: "/openmx/", // must have a trailing "/"
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
Expand Down Expand Up @@ -57,67 +59,67 @@ const config = {
},
{
label: "~ ~ ~ Other Docs ~ ~ ~",
to: "https://pranabdas.github.io/docs/",
to: site_url + "/docs/",
target: "_self",
},
{
label: "ARPES Python Tools",
to: "https://pranabdas.github.io/arpespythontools/",
to: site_url + "/arpespythontools/",
target: "_self",
},
{
label: "C and C++ Programming",
to: "https://pranabdas.github.io/c-cpp/",
to: site_url + "/c-cpp/",
target: "_self",
},
{
label: "Condensed Matter Notes",
to: "https://pranabdas.github.io/condmat-notes/",
to: site_url + "/condmat-notes/",
target: "_self",
},
{
label: "Fortran Programming",
to: "https://pranabdas.github.io/fortran/",
to: site_url + "/fortran/",
target: "_self",
},
{
label: "Javascript Tutorial",
to: "https://pranabdas.github.io/javascript/",
to: site_url + "/javascript/",
target: "_self",
},
{
label: "Linux Tutorial",
to: "https://pranabdas.github.io/linux/",
to: site_url + "/linux/",
target: "_self",
},
{
label: "Machine Learning Notes",
to: "https://pranabdas.github.io/machine-learning/",
to: site_url + "/machine-learning/",
target: "_self",
},
{
label: "Python Tutorial",
to: "https://pranabdas.github.io/python-tutorial/",
to: site_url + "/python-tutorial/",
target: "_self",
},
{
label: "Quantum Espresso Tutorial",
to: "https://pranabdas.github.io/espresso/",
to: site_url + "/espresso/",
target: "_self",
},
{
label: "Rust Programming",
to: "https://pranabdas.github.io/rust/",
to: site_url + "/rust/",
target: "_self",
},
{
label: "SUV ARPES Manual",
to: "https://pranabdas.github.io/arpes-manual/",
to: site_url + "/arpes-manual/",
target: "_self",
},
{
label: "SUV Python Tools",
to: "https://pranabdas.github.io/suvtools/",
to: site_url + "/suvtools/",
target: "_self",
},
],
Expand All @@ -131,7 +133,7 @@ const config = {
target: "_self",
},
{
to: "https://pranabdas.github.io",
to: site_url,
"aria-label": "About me",
position: "right",
target: "_self",
Expand Down Expand Up @@ -181,10 +183,13 @@ const config = {

stylesheets: [
{
href: "https://pranabdas.github.io/drive/webfonts/katex/katex.min.css",
href: drive_url + "/webfonts/katex/katex.min.css",
type: "text/css",
},
],
future: {
experimental_faster: true,
},
};

export default config;
Loading

0 comments on commit 96c9880

Please sign in to comment.