-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
we were still using an early alpha version (2.0.0-alpha.50)
- Loading branch information
1 parent
b4f83aa
commit a4aef4d
Showing
12 changed files
with
18,635 additions
and
11,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Website | ||
|
||
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator. | ||
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. | ||
|
||
The actual contents (plus some files depending on them) are written by higher-level scripts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
_website/docs-static/about/about.md → _website/docs-static/about/about-note.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: About these notes | ||
slug: about | ||
--- | ||
|
||
These are some notes regarding things I have learned. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,91 @@ | ||
// @ts-check | ||
|
||
const path = require('path'); | ||
|
||
module.exports = { | ||
/** @type {import('@docusaurus/types').Config} */ | ||
const config = { | ||
title: 'learning-notes', | ||
tagline: 'Notes regarding things I have learned', | ||
url: 'https://learning-notes.mistermicheels.com', | ||
baseUrl: '/', | ||
onBrokenLinks: 'ignore', // broken links are checked using other scripts | ||
onBrokenMarkdownLinks: 'ignore', // broken links are checked using other scripts | ||
favicon: 'favicon.ico', | ||
organizationName: 'mistermicheels', | ||
projectName: 'learning-notes', | ||
themeConfig: { | ||
navbar: { | ||
title: 'learning-notes', | ||
logo: { | ||
alt: 'mistermicheels logo', | ||
src: 'img/mistermicheels.svg', | ||
}, | ||
links: [ | ||
{ | ||
href: 'https://github.com/mistermicheels/learning-notes', | ||
label: 'GitHub', | ||
position: 'left', | ||
}, | ||
{ | ||
href: 'https://twitter.com/mistermicheels', | ||
label: 'Twitter', | ||
position: 'left', | ||
i18n: { | ||
defaultLocale: 'en', | ||
locales: ['en'], | ||
}, | ||
themeConfig: | ||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ | ||
({ | ||
navbar: { | ||
title: 'learning-notes', | ||
logo: { | ||
alt: 'mistermicheels logo', | ||
src: 'img/mistermicheels.svg', | ||
}, | ||
{ | ||
href: 'https://github.com/mistermicheels/learning-notes', | ||
position: 'right', | ||
className: 'header-github-link navbar__item navbar__link', | ||
'aria-label': 'GitHub repository', | ||
items: [ | ||
{ | ||
href: 'https://github.com/mistermicheels/learning-notes', | ||
label: 'GitHub', | ||
position: 'left', | ||
}, | ||
{ | ||
href: 'https://twitter.com/mistermicheels', | ||
label: 'Twitter', | ||
position: 'left', | ||
}, | ||
{ | ||
href: 'https://github.com/mistermicheels/learning-notes', | ||
position: 'right', | ||
className: 'header-github-link navbar__item navbar__link', | ||
'aria-label': 'GitHub repository', | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: 'dark', | ||
copyright: `This work is licensed under a <a href="http://creativecommons.org/licenses/by/4.0/" target="_blank" rel="nofollow noopener noreferrer">Creative Commons Attribution 4.0 International | ||
License <svg class="embedded-fa-icon"><use href="#external-link-alt"></use></svg></a>. Website built with Docusaurus.`, | ||
}, | ||
docs: { | ||
sidebar: { | ||
hideable: true, | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: 'dark', | ||
copyright: `This work is licensed under a <a href="http://creativecommons.org/licenses/by/4.0/" rel="nofollow">Creative Commons Attribution 4.0 International | ||
License</a>.`, | ||
}, | ||
prism: { | ||
theme: require('prism-react-renderer/themes/github'), | ||
darkTheme: require('prism-react-renderer/themes/oceanicNext'), | ||
}, | ||
disableDarkMode: false, | ||
algolia: { | ||
appId: '38H0OSE8H7', | ||
apiKey: '1119242d2ba32e7ccfd08f8ae82b3efe', | ||
indexName: 'mistermicheels_learning-notes', | ||
}, | ||
}, | ||
}, | ||
prism: { | ||
theme: require('prism-react-renderer/themes/github'), | ||
darkTheme: require('prism-react-renderer/themes/oceanicNext'), | ||
additionalLanguages: ["java"] | ||
}, | ||
algolia: { | ||
appId: '38H0OSE8H7', | ||
apiKey: '1119242d2ba32e7ccfd08f8ae82b3efe', | ||
indexName: 'mistermicheels_learning-notes', | ||
}, | ||
}), | ||
|
||
presets: [ | ||
[ | ||
'@docusaurus/preset-classic', | ||
{ | ||
'classic', | ||
/** @type {import('@docusaurus/preset-classic').Options} */ | ||
({ | ||
docs: { | ||
sidebarPath: require.resolve('./sidebars.js'), | ||
routeBasePath: '', | ||
routeBasePath: '/', | ||
}, | ||
blog: false, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
}, | ||
}), | ||
], | ||
], | ||
plugins: [ | ||
path.resolve(__dirname, './extended-favicon-plugin'), | ||
path.resolve(__dirname, './embedded-font-awesome-icons-plugin'), | ||
path.resolve(__dirname, './collapse-sidebar-again-if-js-enabled-plugin'), | ||
path.resolve(__dirname, './goatcounter-plugin'), | ||
], | ||
}; | ||
|
||
module.exports = config; |
Oops, something went wrong.