Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f2c6d58

Browse files
committed
update
1 parent ae07b78 commit f2c6d58

File tree

50 files changed

+1006
-71
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1006
-71
lines changed

‎i18n/en/code.json‎

Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
{
2+
"theme.ErrorPageContent.title": {
3+
"message": "页面已崩溃。",
4+
"description": "The title of the fallback page when the page crashed"
5+
},
6+
"theme.ErrorPageContent.tryAgain": {
7+
"message": "重试",
8+
"description": "The label of the button to try again when the page crashed"
9+
},
10+
"theme.NotFound.title": {
11+
"message": "找不到页面",
12+
"description": "The title of the 404 page"
13+
},
14+
"theme.NotFound.p1": {
15+
"message": "我们找不到您要找的页面。",
16+
"description": "The first paragraph of the 404 page"
17+
},
18+
"theme.NotFound.p2": {
19+
"message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。",
20+
"description": "The 2nd paragraph of the 404 page"
21+
},
22+
"theme.admonition.note": {
23+
"message": "备注",
24+
"description": "The default label used for the Note admonition (:::note)"
25+
},
26+
"theme.admonition.tip": {
27+
"message": "提示",
28+
"description": "The default label used for the Tip admonition (:::tip)"
29+
},
30+
"theme.admonition.danger": {
31+
"message": "危险",
32+
"description": "The default label used for the Danger admonition (:::danger)"
33+
},
34+
"theme.admonition.info": {
35+
"message": "信息",
36+
"description": "The default label used for the Info admonition (:::info)"
37+
},
38+
"theme.admonition.caution": {
39+
"message": "警告",
40+
"description": "The default label used for the Caution admonition (:::caution)"
41+
},
42+
"theme.AnnouncementBar.closeButtonAriaLabel": {
43+
"message": "关闭",
44+
"description": "The ARIA label for close button of announcement bar"
45+
},
46+
"theme.BackToTopButton.buttonAriaLabel": {
47+
"message": "回到顶部",
48+
"description": "The ARIA label for the back to top button"
49+
},
50+
"theme.blog.archive.title": {
51+
"message": "历史博文",
52+
"description": "The page & hero title of the blog archive page"
53+
},
54+
"theme.blog.archive.description": {
55+
"message": "历史博文",
56+
"description": "The page & hero description of the blog archive page"
57+
},
58+
"theme.blog.paginator.navAriaLabel": {
59+
"message": "博文列表分页导航",
60+
"description": "The ARIA label for the blog pagination"
61+
},
62+
"theme.blog.paginator.newerEntries": {
63+
"message": "较新的博文",
64+
"description": "The label used to navigate to the newer blog posts page (previous page)"
65+
},
66+
"theme.blog.paginator.olderEntries": {
67+
"message": "较旧的博文",
68+
"description": "The label used to navigate to the older blog posts page (next page)"
69+
},
70+
"theme.blog.post.paginator.navAriaLabel": {
71+
"message": "博文分页导航",
72+
"description": "The ARIA label for the blog posts pagination"
73+
},
74+
"theme.blog.post.paginator.newerPost": {
75+
"message": "较新一篇",
76+
"description": "The blog post button label to navigate to the newer/previous post"
77+
},
78+
"theme.blog.post.paginator.olderPost": {
79+
"message": "较旧一篇",
80+
"description": "The blog post button label to navigate to the older/next post"
81+
},
82+
"theme.blog.post.plurals": {
83+
"message": "{count} 篇博文",
84+
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
85+
},
86+
"theme.blog.tagTitle": {
87+
"message": "{nPosts} 含有标签「{tagName}」",
88+
"description": "The title of the page for a blog tag"
89+
},
90+
"theme.tags.tagsPageLink": {
91+
"message": "查看所有标签",
92+
"description": "The label of the link targeting the tag list page"
93+
},
94+
"theme.colorToggle.ariaLabel": {
95+
"message": "切换浅色/暗黑模式(当前为{mode})",
96+
"description": "The ARIA label for the navbar color mode toggle"
97+
},
98+
"theme.colorToggle.ariaLabel.mode.dark": {
99+
"message": "暗黑模式",
100+
"description": "The name for the dark color mode"
101+
},
102+
"theme.colorToggle.ariaLabel.mode.light": {
103+
"message": "浅色模式",
104+
"description": "The name for the light color mode"
105+
},
106+
"theme.docs.breadcrumbs.home": {
107+
"message": "主页面",
108+
"description": "The ARIA label for the home page in the breadcrumbs"
109+
},
110+
"theme.docs.breadcrumbs.navAriaLabel": {
111+
"message": "页面路径",
112+
"description": "The ARIA label for the breadcrumbs"
113+
},
114+
"theme.docs.DocCard.categoryDescription": {
115+
"message": "{count} 个项目",
116+
"description": "The default description for a category card in the generated index about how many items this category includes"
117+
},
118+
"theme.docs.paginator.navAriaLabel": {
119+
"message": "文档分页导航",
120+
"description": "The ARIA label for the docs pagination"
121+
},
122+
"theme.docs.paginator.previous": {
123+
"message": "上一页",
124+
"description": "The label used to navigate to the previous doc"
125+
},
126+
"theme.docs.paginator.next": {
127+
"message": "下一页",
128+
"description": "The label used to navigate to the next doc"
129+
},
130+
"theme.docs.tagDocListPageTitle.nDocsTagged": {
131+
"message": "{count} 篇文档带有标签",
132+
"description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
133+
},
134+
"theme.docs.tagDocListPageTitle": {
135+
"message": "{nDocsTagged}「{tagName}」",
136+
"description": "The title of the page for a docs tag"
137+
},
138+
"theme.docs.versionBadge.label": {
139+
"message": "版本:{versionLabel}"
140+
},
141+
"theme.docs.versions.unreleasedVersionLabel": {
142+
"message": "此为 {siteTitle} {versionLabel} 版尚未发行的文档。",
143+
"description": "The label used to tell the user that he's browsing an unreleased doc version"
144+
},
145+
"theme.docs.versions.unmaintainedVersionLabel": {
146+
"message": "此为 {siteTitle} {versionLabel} 版的文档,现已不再积极维护。",
147+
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
148+
},
149+
"theme.docs.versions.latestVersionSuggestionLabel": {
150+
"message": "最新的文档请参阅 {latestVersionLink} ({versionLabel})。",
151+
"description": "The label used to tell the user to check the latest version"
152+
},
153+
"theme.docs.versions.latestVersionLinkLabel": {
154+
"message": "最新版本",
155+
"description": "The label used for the latest version suggestion link label"
156+
},
157+
"theme.common.editThisPage": {
158+
"message": "编辑此页",
159+
"description": "The link label to edit the current page"
160+
},
161+
"theme.common.headingLinkTitle": {
162+
"message": "标题的直接链接",
163+
"description": "Title for link to heading"
164+
},
165+
"theme.lastUpdated.atDate": {
166+
"message": "于 {date} ",
167+
"description": "The words used to describe on which date a page has been last updated"
168+
},
169+
"theme.lastUpdated.byUser": {
170+
"message": "由 {user} ",
171+
"description": "The words used to describe by who the page has been last updated"
172+
},
173+
"theme.lastUpdated.lastUpdatedAtBy": {
174+
"message": "最后{byUser}{atDate}更新",
175+
"description": "The sentence used to display when a page has been last updated, and by who"
176+
},
177+
"theme.navbar.mobileVersionsDropdown.label": {
178+
"message": "选择版本",
179+
"description": "The label for the navbar versions dropdown on mobile view"
180+
},
181+
"theme.common.skipToMainContent": {
182+
"message": "跳到主要内容",
183+
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
184+
},
185+
"theme.tags.tagsListLabel": {
186+
"message": "标签:",
187+
"description": "The label alongside a tag list"
188+
},
189+
"theme.blog.sidebar.navAriaLabel": {
190+
"message": "最近博文导航",
191+
"description": "The ARIA label for recent posts in the blog sidebar"
192+
},
193+
"theme.CodeBlock.copied": {
194+
"message": "复制成功",
195+
"description": "The copied button label on code blocks"
196+
},
197+
"theme.CodeBlock.copyButtonAriaLabel": {
198+
"message": "复制代码到剪贴板",
199+
"description": "The ARIA label for copy code blocks button"
200+
},
201+
"theme.CodeBlock.copy": {
202+
"message": "复制",
203+
"description": "The copy button label on code blocks"
204+
},
205+
"theme.CodeBlock.wordWrapToggle": {
206+
"message": "切换自动换行",
207+
"description": "The title attribute for toggle word wrapping button of code block lines"
208+
},
209+
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
210+
"message": "打开/收起侧边栏菜单「{label}」",
211+
"description": "The ARIA label to toggle the collapsible sidebar category"
212+
},
213+
"theme.navbar.mobileLanguageDropdown.label": {
214+
"message": "选择语言",
215+
"description": "The label for the mobile language switcher dropdown"
216+
},
217+
"theme.TOCCollapsible.toggleButtonLabel": {
218+
"message": "本页总览",
219+
"description": "The label used by the button on the collapsible TOC component"
220+
},
221+
"theme.blog.post.readMore": {
222+
"message": "阅读更多",
223+
"description": "The label used in blog post item excerpts to link to full blog posts"
224+
},
225+
"theme.blog.post.readMoreLabel": {
226+
"message": "阅读 {title} 的全文",
227+
"description": "The ARIA label for the link to full blog posts from excerpts"
228+
},
229+
"theme.blog.post.readingTime.plurals": {
230+
"message": "阅读需 {readingTime} 分钟",
231+
"description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
232+
},
233+
"theme.docs.sidebar.collapseButtonTitle": {
234+
"message": "收起侧边栏",
235+
"description": "The title attribute for collapse button of doc sidebar"
236+
},
237+
"theme.docs.sidebar.collapseButtonAriaLabel": {
238+
"message": "收起侧边栏",
239+
"description": "The title attribute for collapse button of doc sidebar"
240+
},
241+
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
242+
"message": "← 回到主菜单",
243+
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
244+
},
245+
"theme.docs.sidebar.expandButtonTitle": {
246+
"message": "展开侧边栏",
247+
"description": "The ARIA label and title attribute for expand button of doc sidebar"
248+
},
249+
"theme.docs.sidebar.expandButtonAriaLabel": {
250+
"message": "展开侧边栏",
251+
"description": "The ARIA label and title attribute for expand button of doc sidebar"
252+
}
253+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
slug: first-blog-post
3+
title: First Blog Post
4+
authors:
5+
name: Henry Huang
6+
title: maintainer
7+
url: https://github.com/hhstore
8+
image_url: https://github.com/hhstore.png
9+
10+
tags: [hola, docusaurus]
11+
---
12+
13+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
slug: long-blog-post
3+
title: Long Blog Post
4+
authors: [henryhuang]
5+
tags: [hello, docusaurus]
6+
---
7+
8+
This is the summary of a very long blog post,
9+
10+
Use a `<!--` `truncate` `-->` comment to limit blog post size in the list view.
11+
12+
<!--truncate-->
13+
14+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
15+
16+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
17+
18+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
19+
20+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
21+
22+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
23+
24+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
25+
26+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
27+
28+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
29+
30+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
31+
32+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
33+
34+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
35+
36+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
37+
38+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
39+
40+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
41+
42+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
43+
44+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
slug: mdx-blog-post
3+
title: MDX Blog Post
4+
authors: [henryhuang]
5+
tags: [docusaurus]
6+
---
7+
8+
Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).
9+
10+
:::tip
11+
12+
Use the power of React to create interactive blog posts.
13+
14+
```js
15+
<button onClick={() => alert("button clicked!")}>Click me!</button>
16+
```
17+
18+
<button onClick={() => alert("button clicked!")}>Click me!</button>
19+
20+
:::
93.9 KB
Loading[フレーム]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
slug: welcome
3+
title: Welcome
4+
authors: [henryhuang]
5+
tags: [facebook, hello, docusaurus]
6+
---
7+
8+
[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).
9+
10+
Simply add Markdown files (or folders) to the `blog` directory.
11+
12+
Regular blog authors can be added to `authors.yml`.
13+
14+
The blog post date can be extracted from filenames, such as:
15+
16+
- `2019年05月30日-welcome.md`
17+
- `2019年05月30日-welcome/index.md`
18+
19+
A blog post folder can be convenient to co-locate blog post images:
20+
21+
![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)
22+
23+
The blog supports tags as well!
24+
25+
**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
henryhuang:
3+
name: Henry Huang
4+
title: maintainer
5+
url: https://github.com/hhstore
6+
image_url: https://github.com/hhstore.png
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"title": {
3+
"message": "Blog",
4+
"description": "The title for the blog used in SEO"
5+
},
6+
"description": {
7+
"message": "Blog",
8+
"description": "The description for the blog used in SEO"
9+
},
10+
"sidebar.title": {
11+
"message": "Recent posts",
12+
"description": "The label for the left sidebar"
13+
}
14+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /