Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
simply-none committed Nov 14, 2023
1 parent 3ee5482 commit c2c4ec8
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 27 deletions.
4 changes: 4 additions & 0 deletions docs/.vitepress/sibar.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,10 @@ export function sidebarUsageBooks() {
text: "认知觉醒:开启自我改变的原动力",
link: "/usage-books/笔记/认知觉醒:开启自我改变的原动力",
},
{
text: "被讨厌的勇气:“自我启发之父”阿德勒的哲学课",
link: "/usage-books/笔记/被讨厌的勇气:“自我启发之父”阿德勒的哲学课",
},
{
text: "ECMAScript入门",
collapsed: true,
Expand Down
8 changes: 0 additions & 8 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
background: red;
}

.dark {
--vp-c-bg: #3b3b3b;
--vp-sidebar-bg-color: #3b3b3b;
--vp-c-bg-alt: #161618;
--vp-c-bg-elv: #202127;
--vp-c-bg-soft: #202127;
}

.algolia [command-item][aria-selected="true"],
.algolia [command-item]:hover {
background: var(--vcp-c-brand);
Expand Down
32 changes: 32 additions & 0 deletions docs/components/dictTotal.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<template>
<pre class="dict-tatol" style="padding: 0">
<code style="padding: 0;display: unset;">
create-time : 2019/10/29 15:29:00
author : simply-none
vocabulary-origin: Sass official website
complete-in-sass-time: 2019/11/12 09:41:11
version : 0.0.1-alpha
skills : separating-words like downleveling to down-leveling

migrated-to-webstorm-time: 2020/07/02 17:56:00
version : 0.0.2-alpha
migrated-to-latest-blogs-time: 2022/04/27 20:18:15
version : 0.1.0-beta

vocabulary total:<b id="vocabulary-total" style="font-weight: 100;">{{ dictCount }}</b>
</code>
</pre>
</template>

<script setup>
import { onMounted, ref } from "vue";
let dictCount = ref(0);
onMounted(() => {
let dictTable = document.querySelector(".main table");
dictCount.value = (dictTable.querySelectorAll("tr") || []).length;
});
</script>

<style lang="scss" scoped></style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[1] 岸见一郎 古贺史健.被讨厌的勇气:“自我启发之父”阿德勒的哲学课.渠海霞,译.机械工业出版社,2017

## 封面

## 版权信息

## 本书的赞誉

## 推荐序一 勇气的心理学

## 推荐序二 自我的枷锁和解放

## 推荐序三 人唯有在能够感觉自己有价值时,才有勇气

## 译者序

## 引言

## 第一夜 我们的不幸是谁的错?

你并不是“受怒气支配而大发雷霆”,完全是“为了大发雷霆而制造怒气”。也就是说,为了达到大发雷霆这个目的而制造出来愤怒的感情。

人并不受过去的原因所左右,而是朝着自己定下的目标前进,这就是哲人的主张。

为什么那么急于得到答案呢?答案不应该是从别人那里得到,而应该是自己亲自找出来。从别人那里得到的答案只不过是对症疗法而已,没有什么价值。

即使你再想变成Y,也不可能成为Y,你不是Y。你是“你”就可以了。但是,这并不是说你要一直这样下去。如果不能感到幸福的话,就不可以“一直这样”,不可以止步不前,必须不断向前迈进

你一定会认为秉性或性格不会按照自己的意志而改变。但阿德勒心理学认为,生活方式是自己主动选择的结果。

## 第二夜 一切烦恼都来自人际关系

> 青年:先生也许已经注意到了。首先要说的就是我这性格——对自己没有自信,对一切都持悲观态度;还有就是太过固执;非常注重别人的看法,而且总是活在对别人的怀疑之中;不能活得自然,总觉得像是在演戏。而且,如果只是性格倒还好,自己的长相和身材也没有一样让人满意的。
想法:2023-11-14 15:24:05


😭😭😭

---

## 第三夜 让干涉你生活的人见鬼去

## 第四夜 要有被讨厌的勇气

## 第五夜 认真的人生“活在当下”

## 后记

## 作译者简介

22 changes: 3 additions & 19 deletions docs/usage-dicts/dict.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
# vocabulary for programmer

<pre style="padding: 0">
<code style="padding: 0;display: unset;">
create-time : 2019/10/29 15:29:00
author : simply-none
vocabulary-origin: Sass official website
complete-in-sass-time: 2019/11/12 09:41:11
version : 0.0.1-alpha
skills : separating-words like downleveling to down-leveling

migrated-to-webstorm-time: 2020/07/02 17:56:00
version : 0.0.2-alpha
migrated-to-latest-blogs-time: 2022/04/27 20:18:15
version : 0.1.0-beta

vocabulary total:<b id="vocabulary-total" style="font-weight: 100;"></b>
</code>
</pre>
<dictTotal/>

<script setup>
const dictNumber = document.querySelectorAll('#main > div.table-wrapper > table > tbody > tr').length
// document.querySelector('#vocabulary-total').innerHTML = dictNumber + " words"
import dictTotal from '../components/dictTotal.vue'
</script>

|词汇|词义|读音|
Expand Down Expand Up @@ -1315,3 +1298,4 @@ const dictNumber = document.querySelectorAll('#main > div.table-wrapper > table
|often|时常,通常,经常,往往,多次|
|abstract syntax tree|抽象语法树|
|variety|品种,种类,变化,多样化,多样性|**vəˈraɪəti**|
|infrastructure|基础设施,基础架构|**ˈɪnfrəˌstrʌktʃər**|

0 comments on commit c2c4ec8

Please sign in to comment.