Skip to content

Commit

Permalink
feat: add qa docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ohxxx committed Sep 1, 2023
1 parent fb5ba4c commit c3b26d7
Show file tree
Hide file tree
Showing 8 changed files with 519 additions and 498 deletions.
5 changes: 1 addition & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ export default async () => defineConfig({
},

nav: [
{ text: '开始', link: '/guide/', activeMatch: '/guide/' },
{ text: '灵魂拷问', link: '/qa/', activeMatch: '/qa/' },
{ text: '手册', link: 'https://wa-lang.org/man/' },
// { text: '文档', link: '/reference/', activeMatch: '/reference/' },
{ text: '案例', link: '/examples/', activeMatch: '/examples/' },
{ text: '碎碎念', link: '/smalltalk/', activeMatch: '/smalltalk/' },
{ text: '社区', link: '/community/', activeMatch: '/community/' },
{ text: 'English', link: '/en/', activeMatch: '/en/' },
Expand Down Expand Up @@ -128,7 +126,6 @@ export default async () => defineConfig({
},
],
},

footer: {
copyright: '版权 ©️ 凹语言开发组 2018,保留权利',
},
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const CONTRIBUTORS = [

export const COMMUNITIES = [
{ name: '论坛', logoName: 'zhlang.png', link: 'https://zh-lang.osanswer.net/c/walang' },
{ name: '推特', logoName: 'twitter.png', link: 'https://twitter.com/wayuyan' },
{ name: '𝕏', logoName: 'x.png', link: 'https://twitter.com/wayuyan' },
{ name: '知乎', logoName: 'zhihu.svg', link: 'https://www.zhihu.com/question/570351019' },
{ name: 'B站', logoName: 'bilibili.png', link: 'https://space.bilibili.com/344260496' },
{ name: '开源中国', logoName: 'oschina.png', link: 'https://my.oschina.net/walang' },
Expand Down
6 changes: 6 additions & 0 deletions docs/.vitepress/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@
}
}

@media (min-width: 1280px) {
.VPDoc .aside {
display: none !important;
}
}

/*****************************************
* *
* Component: Algolia *
Expand Down
10 changes: 2 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ hero:
alt: 凹语言
actions:
- theme: brand
text: 简介
link: /guide/
- theme: alt
text: 快速开始
link: /guide/quick-start
text: 灵魂拷问
link: /qa/
- theme: alt
text: 碎碎念
link: /smalltalk/
- theme: alt
text: English
link: /en/
- theme: alt
text: Playground
link: https://wa-lang.org/playground/
Expand Down
Binary file removed docs/public/c-logo/twitter.png
Binary file not shown.
Binary file added docs/public/c-logo/x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/qa/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: 灵魂拷问
---


# 有什么意义?

::: tip 这是一个不认真的问题,但是我们仍然尝试认真的回答:

1. “意义”是相对的、高度主观的感受。同一个作品或行为,对不同受众的意义可能是正面的,可能是负面的,也可能完全没有——比如极品钓竿之于钓鱼佬和非爱好者,比如菠萝披萨之于意大利人和中国人,比如飞面神之于信徒和非信徒……
2. 凹语言对贡献者之外的人有什么意义?不知道——正如刚才提到的:作品对受众的意义,从来不是作者可以定义的——硬要给出一个猜测的话,大概率是:“对大多数开发者来说,没有任何意义”。但那又如何呢,程序员在总人口中只占相当小的比例,这意味任何一门编程语言,哪怕它已经被广泛使用,大多数地球人顶多听它的名字而已,完全没法体会它对自己有什么意义;
3. 即使在项目组内部,“参与凹语言建设”这件事情的意义,也存在很多不同答案,其中包括:“普通开发者掌握生产工具的尝试”、“大龄码农为逃避内卷的尝试”等等,也很可能就是很简单的一句:“无他,有趣而已”。
:::
Loading

0 comments on commit c3b26d7

Please sign in to comment.