Skip to content

Commit 1d39afd

Browse files
committed
初始化网页
1 parent 5ec8401 commit 1d39afd

14 files changed

+4381
-0
lines changed

.github/workflows/book.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: mdbook
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- master
7+
- "releases/*"
8+
pull_request:
9+
branches:
10+
- main
11+
- master
12+
types:
13+
- closed
14+
jobs:
15+
deploy:
16+
runs-on: ubuntu-18.04
17+
steps:
18+
- name: Git checkout
19+
uses: actions/checkout@v2
20+
21+
- name: Setup mdBook
22+
uses: peaceiris/actions-mdbook@v1
23+
with:
24+
mdbook-version: '0.4.10'
25+
# mdbook-version: 'latest'
26+
27+
- run: mdbook build
28+
29+
- name: Deploy
30+
uses: peaceiris/actions-gh-pages@v3
31+
with:
32+
personal_token: ${{ secrets.DEPLOY_KEY }}
33+
publish_dir: ./book
34+
publish_branch: gh-pages
35+
user_name: 'github-actions[bot]'
36+
user_email: 'github-actions[bot]@users.noreply.github.com'

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/book
2+
*.out*
3+
_zz*

.nojekyll

Whitespace-only changes.

Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
default:
2+
mdbook serve
3+
4+
build:
5+
-rm docs
6+
mdbook build
7+
-rm docs/.gitignore
8+
-rm -rf docs/.git
9+
10+
clean:

SUMMARY.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 目录
2+
3+
- [主页](index.md)

book.toml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# https://giscus.app
2+
# https://github.com/badboy/mdbook-mermaid
3+
4+
[book]
5+
title = "Go语言中国"
6+
authors = ["中国 Gopher"]
7+
description = "中国最早的Go社区·始于2010年"
8+
language = "zh"
9+
multilingual = false
10+
src = "."
11+
12+
[build]
13+
build-dir = "book"
14+
15+
[output.html]
16+
additional-css = ["static/css/style.css", "static/css/asciinema-player.css"]
17+
additional-js = ["static/js/custom.js", "static/js/bigPicture.js", "static/js/asciinema-player.js"]
18+
git-repository-url = "https://github.com/golang-china/main.go"
19+
edit-url-template = "https://github.com/golang-china/main.go/edit/master/{path}"
20+
git-repository-icon = "fa-github"

index.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Go语言中国·中国最早的 Go 语言社区
2+
3+
Go 语言中国社区始于 2010 年,早期同学活跃于 QQ群、Google Code、Google邮件列表和 golang-china.org(已经废弃) 论坛。 早期同学于 2013~2014 年前后均已奔赴各个领域,为 Go 语言在中国的早期传播和使用贡献各自的力量。
4+
5+
现在,诸多第一批的国内 Gopher 已经迈过 35 岁躺平的门槛,终于可以有精力回顾和思考为未来 10 年 Go 在国内的走向。
6+
7+
因此,我们计划重启 Go 语言中国 这个组织, 感谢关注 🙏
8+
9+
![](logo.png)

0 commit comments

Comments
 (0)