Skip to content

Commit 9c5a677

Browse files
committed
website: add dark theme.
1 parent b9abd18 commit 9c5a677

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,19 @@ jobs:
1616
- run: mkdir -p build build/examples
1717
- run: cp -rp examples build/examples
1818
- run: cp -rp img build/
19-
- run: npm i markdown-to-html-cli -g
20-
- run: markdown-to-html --output build/index.html
19+
20+
- name: Generate Contributors Images
21+
uses: jaywcjlove/github-action-contributors@main
22+
with:
23+
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
24+
output: build/CONTRIBUTORS.svg
25+
avatarSize: 42
26+
27+
- name: Converts Markdown to HTML
28+
uses: jaywcjlove/markdown-to-html-cli@main
29+
with:
30+
source: README.md
31+
output: build/index.html
2132

2233
- name: Deploy
2334
uses: peaceiris/actions-gh-pages@v3

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
21
Swift入门教程、读书笔记
3-
---
2+
===
43

54
如果你已经掌握了一些 Swift 语法基础了,可以通过 [SwiftUI Example](https://github.com/jaywcjlove/swiftui-example) 来练习一些示例进行技术的提升。
65

@@ -607,3 +606,17 @@ if errorCode != nil {
607606
- [SwiftGG](http://swift.gg)
608607
- [swiftweekly](http://swiftweekly.cn)
609608
- [dianqk](http://blog.dianqk.org)
609+
610+
## Contributors
611+
612+
As always, thanks to our amazing contributors!
613+
614+
<a href="https://github.com/jaywcjlove/swift-tutorial/graphs/contributors">
615+
<img src="https://jaywcjlove.github.io/swift-tutorial/CONTRIBUTORS.svg" />
616+
</a>
617+
618+
Made with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).
619+
620+
## License
621+
622+
Licensed under the MIT License.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy