Skip to content

Commit 4f9a02e

Browse files
committed
website: add dark theme.
1 parent c7b7dd4 commit 4f9a02e

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,21 @@ jobs:
1515

1616
- run: mkdir -p build build/example
1717
- run: cp -rp example build/example
18-
- run: npm i markdown-to-html-cli -g
19-
- run: markdown-to-html --output build/index.html
18+
# - run: npm i markdown-to-html-cli -g
19+
# - run: markdown-to-html --output build/index.html
20+
21+
- name: Generate Contributors Images
22+
uses: jaywcjlove/github-action-contributors@main
23+
with:
24+
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
25+
output: build/CONTRIBUTORS.svg
26+
avatarSize: 42
27+
28+
- name: Converts Markdown to HTML
29+
uses: jaywcjlove/markdown-to-html-cli@main
30+
with:
31+
source: README.md
32+
output: build/index.html
2033

2134
- name: Deploy
2235
uses: peaceiris/actions-gh-pages@v3

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Go语言快速入门
22
===
33
<!--rehype:style=display: flex; height: 230px; align-items: center; justify-content: center; font-size: 38px;-->
44

5+
[![CI](https://github.com/jaywcjlove/golang-tutorial/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/golang-tutorial/actions/workflows/ci.yml)
6+
57
通过简单的例子,来快速入门Go语言基础编程、语法等各种语言特性,主要面向新手级别的学习者。下面所有例子均来源于网络,看文需谨慎后果自负。
68

79
安装之前需要了解及新建几个必要的文件目录:
@@ -2236,3 +2238,19 @@ func main() {
22362238
- [Go如何改善性能](https://www.youtube.com/watch?v=DJ4d_PZ6Gns)
22372239
22382240
</details>
2241+
2242+
2243+
## Contributors
2244+
2245+
As always, thanks to our amazing contributors!
2246+
2247+
<a href="https://github.com/jaywcjlove/shell-tutorial/graphs/contributors">
2248+
<img src="https://jaywcjlove.github.io/shell-tutorial/CONTRIBUTORS.svg" />
2249+
</a>
2250+
2251+
Made with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).
2252+
2253+
## License
2254+
2255+
Licensed under the MIT License.
2256+

0 commit comments

Comments
 (0)