123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- /** @type {import('@docusaurus/types').DocusaurusConfig} */
- module.exports = {
- title: 'David Windham | TIL',
- tagline: 'Because Today I Learned',
- url: 'https://davidawindham.com',
- baseUrl: '/til/',
- onBrokenLinks: 'throw',
- onBrokenMarkdownLinks: 'warn',
- favicon: 'img/favicon.ico',
- organizationName: 'windhamdavid',
- projectName: 'til',
- plugins: [
- require.resolve('docusaurus-lunr-search')
- ],
- themeConfig: {
- image: 'img/zw.png',
- hideableSidebar: true,
- prism: {
- additionalLanguages: ['shell-session'],
- },
- colorMode: {
- defaultMode: 'dark',
- disableSwitch: false,
- respectPrefersColorScheme: false,
- switchConfig: {
- darkIcon: '\u2800',
- darkIconStyle: {
- marginLeft: '1px',
- },
- lightIcon: '\u2800',
- lightIconStyle: {
- marginLeft: '1px',
- },
- },
- },
- navbar: {
- hideOnScroll: true,
- title: 'TIL',
- logo: {
- alt: 'windhamdavid',
- src: 'img/zw.png',
- },
- items: [
- {to: 'docs/',activeBasePath: 'docs',label: 'Docs',position: 'left'},
- {to: 'about/',activeBasePath: 'til',label: 'About',position: 'left'},
- {to: 'help', label: 'Help', position: 'left'},
- {type: 'search', position: 'left'},
- {
- href: 'https://davidawindham.com/desk',
- label: 'David A. Windham',
- 'aria-label': 'David A. Windham',
- className: 'header-homepage-link',
- target: '_self',
- position: 'right',
- },
- ],
- },
- },
- presets: [
- [
- '@docusaurus/preset-classic',
- {
- docs: {
- sidebarPath: require.resolve('./sidebars.js'),
- editUrl:'https://code.davidawindham.com/david/til/src/master/',
- },
- theme: {
- customCss: require.resolve('./src/css/custom.css'),
- },
- blog: {
- feedOptions: {
- type: null,
- },
- },
- },
- ],
- ],
- };
|