Skip to content

Commit 1618230

Browse files
authored
Add Netlify link in footer and remove blog (#511)
* Add Netlify link in footer and remove blog In order to qualify for the Netlify open source plan, put link to Netlify in the footer. Remove blog since it is unused. Fix up website readme a little too * Build fix * Remove template blog directory
1 parent 7706153 commit 1618230

9 files changed

Lines changed: 18 additions & 170 deletions

File tree

arewesafetycriticalyet.org/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,22 @@ This folder stores the `arewesafetycriticalyet.org` website that is built with [
88
$ npm install
99
```
1010

11+
Run this from the `arewesafetycriticalyet.org` directory.
12+
1113
### Local Development
1214

1315
```
14-
$ npm start
16+
$ npm run start
1517
```
1618

1719
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
1820

1921
### Build
2022

2123
```
22-
$ npm build
24+
$ npm run build
2325
```
2426

2527
This command generates static content into the `build` directory and can be served using any static contents hosting service.
2628

29+
> Note: You can also use `yarn` for the above as well.

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

Lines changed: 0 additions & 12 deletions
This file was deleted.

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

Lines changed: 0 additions & 44 deletions
This file was deleted.

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

Lines changed: 0 additions & 24 deletions
This file was deleted.
Binary file not shown.

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

Lines changed: 0 additions & 29 deletions
This file was deleted.

arewesafetycriticalyet.org/blog/authors.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

arewesafetycriticalyet.org/blog/tags.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

arewesafetycriticalyet.org/docusaurus.config.ts

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const config: Config = {
1515
url: 'https://your-docusaurus-site.example.com',
1616
// Set the /<baseUrl>/ pathname under which your site is served
1717
// For GitHub pages deployment, it is often '/<projectName>/'
18-
baseUrl,
18+
baseUrl: '/',
1919

2020
// GitHub pages deployment config.
2121
// If you aren't using GitHub pages, you don't need these.
@@ -45,21 +45,7 @@ const config: Config = {
4545
editUrl:
4646
'https://github.com/rustfoundation/safety-critical-rust-consortium/tree/main/arewesafetycriticalyet.org',
4747
},
48-
blog: {
49-
showReadingTime: true,
50-
feedOptions: {
51-
type: ['rss', 'atom'],
52-
xslt: true,
53-
},
54-
// Please change this to your repo.
55-
// Remove this to remove the "edit this page" links.
56-
editUrl:
57-
'https://github.com/rustfoundation/safety-critical-rust-consortium/tree/main/packages/create-docusaurus/templates/shared/',
58-
// Useful options to enforce blogging best practices
59-
onInlineTags: 'warn',
60-
onInlineAuthors: 'warn',
61-
onUntruncatedBlogPosts: 'warn',
62-
},
48+
blog: false,
6349
theme: {
6450
customCss: './src/css/custom.css',
6551
},
@@ -131,7 +117,6 @@ const config: Config = {
131117
position: 'left',
132118
label: 'Liaison',
133119
},
134-
{to: '/blog', label: 'News', position: 'left'},
135120
{
136121
href: 'https://github.com/rustfoundation/safety-critical-rust-consortium',
137122
label: 'GitHub',
@@ -141,6 +126,17 @@ const config: Config = {
141126
},
142127
footer: {
143128
style: 'dark',
129+
links: [
130+
{
131+
title: 'Community',
132+
items: [
133+
{
134+
label: 'This site is powered through Netlify',
135+
href: 'https://netlify.com',
136+
},
137+
],
138+
},
139+
],
144140
copyright: `Copyright © ${new Date().getFullYear()} The Rust Safety Critical Working Group within the Rust Foundation.`,
145141
},
146142
prism: {

0 commit comments

Comments
 (0)