Skip to content

Commit b361e43

Browse files
authored
Merge pull request #26 from sfuosdev/issue-22/tips-execs
tips page for execs and project lead
2 parents ed0ec7c + 9c7543e commit b361e43

File tree

12 files changed

+158
-119
lines changed

12 files changed

+158
-119
lines changed

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

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

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

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

blog/2023-01-16-pm/what-is-pm.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
slug: project management
3+
title: Project Management in Software Development
4+
authors: [tommy]
5+
tags: [project-management]
6+
---
7+
8+
<!-- truncate -->
9+
10+
placeholder

blog/2024-01-16-execs/execs.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
slug: executives
3+
title: Executives in the club
4+
authors: [tommy]
5+
tags: [executives]
6+
---
7+
8+
<!-- truncate -->
9+
10+
placeholder

blog/2021-08-26-welcome/index.md renamed to blog/2025-01-10-docusaurus/blog.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
2-
slug: welcome
3-
title: Welcome
4-
authors: [slorber, yangshun]
5-
tags: [facebook, hello, docusaurus]
2+
slug: how to write blog
3+
title: How to write blog
4+
authors: [tommy]
5+
tags: [how-to-use, docusaurus]
66
---
77

8+
Below description is from Docusaurus basic description of how to write blog.
9+
810
[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).
911

1012
Here are a few tips you might find useful.
@@ -26,4 +28,4 @@ A blog post folder can be convenient to co-locate blog post images:
2628

2729
The blog supports tags as well!
2830

29-
**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config.
31+
Use a `<!--` `truncate` `-->` comment to limit blog post size in the list view.

blog/2021-08-01-mdx-blog-post.mdx renamed to blog/2025-01-10-docusaurus/mdx-blog-post.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
slug: mdx-blog-post
3-
title: MDX Blog Post
4-
authors: [slorber]
5-
tags: [docusaurus]
2+
slug: docusaurus-mdx-blog-post
3+
title: MDX blog post
4+
authors: [tommy]
5+
tags: [how-to-use, docusaurus]
66
---
77

88
Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).
@@ -18,7 +18,7 @@ Use the power of React to create interactive blog posts.
1818
For example, use JSX to create an interactive button:
1919

2020
```js
21-
<button onClick={() => alert('button clicked!')}>Click me!</button>
21+
<button onClick={() => alert("button clicked!")}>Click me!</button>
2222
```
2323

24-
<button onClick={() => alert('button clicked!')}>Click me!</button>
24+
<button onClick={() => alert("button clicked!")}>Click me!</button>
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
slug: welcome
3+
title: Purpose of blog feature
4+
authors: [tommy]
5+
tags: [how-to-use, docusaurus]
6+
---
7+
8+
<!-- truncate -->
9+
10+
The SFU Open Source Development Club will use the Docusaurus Blog feature to document the responsibilities and tips of project leads and club executives. The blogs can be based on personal experience or basic knowledge.
11+
12+
With permission from the club presidents, any SFU OS Dev Club executives, ex-executives, project leads (project managers), and project members can write blog posts. Blog posts can be .md or .mdx format.
13+
14+
If you are willing to write blog, please make your profiles in <code>authors.yml</code>:
15+
16+
```yml
17+
slorber:
18+
name: Sébastien Lorber
19+
title: Docusaurus maintainer
20+
url: https://sebastienlorber.com
21+
image_url: https://github.com/slorber.png
22+
page:
23+
# customize the url of the author page at /blog/authors/<permalink>
24+
permalink: "/all-sebastien-lorber-articles"
25+
socials:
26+
x: sebastienlorber
27+
linkedin: sebastienlorber
28+
github: slorber
29+
newsletter: https://thisweekinreact.com
30+
```
31+
32+
and attach this to your blog post at the top:
33+
34+
```yml
35+
---
36+
slug: welcome
37+
title: Purpose of blog feature
38+
authors: [tommy]
39+
tags: [how-to-use, docusaurus]
40+
---
41+
```
42+
43+
If there are multiple authors for one blog post, please make both author profiles in <code>authors.yml</code> and add it like example below:
44+
45+
```yml
46+
---
47+
slug: first-blog-post
48+
title: First Blog Post
49+
authors: [slorber, yangshun]
50+
tags: [hola, docusaurus]
51+
---
52+
```
53+
54+
You are welcome to create tags for your blog post such as this in <code>tags.yml</code>:
55+
56+
```yml
57+
executives:
58+
label: Executives
59+
permalink: /executives
60+
description: Executives tag description
61+
```

blog/authors.yml

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
yangshun:
2-
name: Yangshun Tay
3-
title: Front End Engineer @ Facebook
4-
url: https://github.com/yangshun
5-
image_url: https://github.com/yangshun.png
6-
page: true
7-
socials:
8-
x: yangshunz
9-
github: yangshun
1+
# saving this as an example for future reference
102

11-
slorber:
12-
name: Sébastien Lorber
13-
title: Docusaurus maintainer
14-
url: https://sebastienlorber.com
15-
image_url: https://github.com/slorber.png
16-
page:
17-
# customize the url of the author page at /blog/authors/<permalink>
18-
permalink: '/all-sebastien-lorber-articles'
3+
# slorber:
4+
# name: Sébastien Lorber
5+
# title: Docusaurus maintainer
6+
# url: https://sebastienlorber.com
7+
# image_url: https://github.com/slorber.png
8+
# page:
9+
# # customize the url of the author page at /blog/authors/<permalink>
10+
# permalink: '/all-sebastien-lorber-articles'
11+
# socials:
12+
# x: sebastienlorber
13+
# linkedin: sebastienlorber
14+
# github: slorber
15+
# newsletter: https://thisweekinreact.com
16+
17+
tommy:
18+
name: Tommy Oh
19+
title: President @ SFU OS Dev club
20+
url: https://github.com/TommyOh0428
21+
image_url: https://github.com/TommyOh0428.png
22+
page: true
1923
socials:
20-
x: sebastienlorber
21-
linkedin: sebastienlorber
22-
github: slorber
23-
newsletter: https://thisweekinreact.com
24+
linkedin: tommy-oh-766450217
25+
github: TommyOh0428

blog/tags.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
how-to-use:
2+
label: How to Use
3+
permalink: /how-to-use
4+
description: How to Use tag description
5+
6+
project-management:
7+
label: Project Management
8+
permalink: /project-management
9+
description: Project Management tag description
10+
11+
executives:
12+
label: Executives
13+
permalink: /executives
14+
description: Executives tag description
15+
116
facebook:
217
label: Facebook
318
permalink: /facebook

0 commit comments

Comments
 (0)