Skip to content

Commit fce5a32

Browse files
committed
More configs
1 parent 72d371c commit fce5a32

8 files changed

+8
-184
lines changed

blog/2019-05-28-first-blog-post.md

-12
This file was deleted.

blog/2019-05-29-long-blog-post.md

-44
This file was deleted.

blog/2021-08-01-mdx-blog-post.mdx

-24
This file was deleted.
Binary file not shown.

blog/2021-08-26-welcome/index.md

-29
This file was deleted.

blog/authors.yml

-23
This file was deleted.

blog/tags.yml

-19
This file was deleted.

docusaurus.config.js

+8-33
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,16 @@ import {themes as prismThemes} from 'prism-react-renderer';
88

99
/** @type {import('@docusaurus/types').Config} */
1010
const config = {
11-
title: 'My Site',
12-
tagline: 'Dinosaurs are cool',
11+
title: 'Devopsdays Website Docs',
12+
tagline: 'How to do All The Things with the devopsdays website',
1313
favicon: 'img/favicon.ico',
1414

1515
// Set the production url of your site here
16-
url: 'https://your-docusaurus-site.example.com',
16+
url: 'https://devopsdays-docs.netlify.app/',
1717
// Set the /<baseUrl>/ pathname under which your site is served
1818
// For GitHub pages deployment, it is often '/<projectName>/'
1919
baseUrl: '/',
2020

21-
// GitHub pages deployment config.
22-
// If you aren't using GitHub pages, you don't need these.
23-
organizationName: 'facebook', // Usually your GitHub org/user name.
24-
projectName: 'docusaurus', // Usually your repo name.
25-
2621
onBrokenLinks: 'throw',
2722
onBrokenMarkdownLinks: 'warn',
2823

@@ -44,22 +39,7 @@ const config = {
4439
// Please change this to your repo.
4540
// Remove this to remove the "edit this page" links.
4641
editUrl:
47-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
48-
},
49-
blog: {
50-
showReadingTime: true,
51-
feedOptions: {
52-
type: ['rss', 'atom'],
53-
xslt: true,
54-
},
55-
// Please change this to your repo.
56-
// Remove this to remove the "edit this page" links.
57-
editUrl:
58-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
59-
// Useful options to enforce blogging best practices
60-
onInlineTags: 'warn',
61-
onInlineAuthors: 'warn',
62-
onUntruncatedBlogPosts: 'warn',
42+
'https://github.com/devopsdays/devopsdays-docs/tree/main/packages/create-docusaurus/templates/shared/',
6343
},
6444
theme: {
6545
customCss: './src/css/custom.css',
@@ -74,7 +54,7 @@ const config = {
7454
// Replace with your project's social card
7555
image: 'img/docusaurus-social-card.jpg',
7656
navbar: {
77-
title: 'My Site',
57+
title: 'devopsdays web docs',
7858
logo: {
7959
alt: 'My Site Logo',
8060
src: 'img/logo.svg',
@@ -86,9 +66,8 @@ const config = {
8666
position: 'left',
8767
label: 'Tutorial',
8868
},
89-
{to: '/blog', label: 'Blog', position: 'left'},
9069
{
91-
href: 'https://github.com/facebook/docusaurus',
70+
href: 'https://github.com/devopsdays/devopsdays-web',
9271
label: 'GitHub',
9372
position: 'right',
9473
},
@@ -126,18 +105,14 @@ const config = {
126105
{
127106
title: 'More',
128107
items: [
129-
{
130-
label: 'Blog',
131-
to: '/blog',
132-
},
133108
{
134109
label: 'GitHub',
135-
href: 'https://github.com/facebook/docusaurus',
110+
href: 'https://github.com/devopsdays/devopsdays-web',
136111
},
137112
],
138113
},
139114
],
140-
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
115+
copyright: `Copyright © ${new Date().getFullYear()} DevOpsDays. Built with Docusaurus.`,
141116
},
142117
prism: {
143118
theme: prismThemes.github,

0 commit comments

Comments
 (0)