提交 51c1e7ee 编写于 作者: EvanOne(文一)'s avatar EvanOne(文一)

docs: Del changelog & add contribute doc & modify vuepress config

上级 908438bb
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## 2.0.0-rc.0 (2020-03-31)
### Bug Fixes
* Search box is forbidden in iOS ([094a74d](https://github.com/liuyib/hexo-theme-stun/commit/094a74d))
* **#43:** Footer bar is not show when enable body `bg_image` ([f0e92ae](https://github.com/liuyib/hexo-theme-stun/commit/f0e92ae)), closes [#43](https://github.com/liuyib/hexo-theme-stun/issues/43)
* Toc highlighting is incorrect ([a314dc0](https://github.com/liuyib/hexo-theme-stun/commit/a314dc0))
* Hotkey of switching post is invalid ([e77f00b](https://github.com/liuyib/hexo-theme-stun/commit/e77f00b))
* Social link icon not show normally when overflow ([3f3dd57](https://github.com/liuyib/hexo-theme-stun/commit/3f3dd57))
* Set `layout.content` option, some pixels less actually ([1d931f4](https://github.com/liuyib/hexo-theme-stun/commit/1d931f4))
* Duplicated count for busuanzi ([8198d5a](https://github.com/liuyib/hexo-theme-stun/commit/8198d5a))
### Features
* Add 'title' attribute to friends plugin ([eed8fe9](https://github.com/liuyib/hexo-theme-stun/commit/eed8fe9))
* Add 'info' note plugin & make icon of note plugin configurable ([2fab025](https://github.com/liuyib/hexo-theme-stun/commit/2fab025))
* Add gap configuration item to zoom-image ([aa918d3](https://github.com/liuyib/hexo-theme-stun/commit/aa918d3))
* Use fontawesome5.x and support setting all icons ([d585a71](https://github.com/liuyib/hexo-theme-stun/commit/d585a71))
* Add open graph ([2a8205f](https://github.com/liuyib/hexo-theme-stun/commit/2a8205f))
* Support inline image ([8276875](https://github.com/liuyib/hexo-theme-stun/commit/8276875))
* Add canonical setting ([bf997d6](https://github.com/liuyib/hexo-theme-stun/commit/bf997d6))
## 1.7.0 (2020-02-06)
### Bug Fixes
* Nightmode not blur when click document ([2c8466e](https://github.com/liuyib/hexo-theme-stun/commit/2c8466e))
* Animation of scroll icon doesn't work in iOS ([21f87ac](https://github.com/liuyib/hexo-theme-stun/commit/21f87ac))
* Article header overlay submenu ([0162383](https://github.com/liuyib/hexo-theme-stun/commit/0162383))
* Compatible with pjax when header are not enabled ([8302d30](https://github.com/liuyib/hexo-theme-stun/commit/8302d30))
* Submenu is not hidden after the mouse passes over it ([576f177](https://github.com/liuyib/hexo-theme-stun/commit/576f177))
* Solved that click the parent element of secondary menu to jump ([a21e296](https://github.com/liuyib/hexo-theme-stun/commit/a21e296))
* * **#28:** Solve heading parsing error ([8a9ca01](https://github.com/liuyib/hexo-theme-stun/commit/8a9ca01)), closes [#28](https://github.com/liuyib/hexo-theme-stun/issues/28)
* Long link overflow and set the min-width for table items ([0ef6fe0](https://github.com/liuyib/hexo-theme-stun/commit/0ef6fe0))
* Valine is not reload when switching pages by pjax ([a750791](https://github.com/liuyib/hexo-theme-stun/commit/a7507914486cd2e59d073edc36381064f712c439))
### Features
* Add min_depth option to toc ([89bb869](https://github.com/liuyib/hexo-theme-stun/commit/89bb869))
* Set more configuration items for the layout ([3a9ad3f](https://github.com/liuyib/hexo-theme-stun/commit/3a9ad3f))
* Make the background image of body configurable ([18b74c5](https://github.com/liuyib/hexo-theme-stun/commit/18b74c5))
* Make the display of website header configurable ([a167675](https://github.com/liuyib/hexo-theme-stun/commit/a167675))
* Add sougou webmaster tools ([0ce3569](https://github.com/liuyib/hexo-theme-stun/commit/0ce3569))
* 添加文章分享模块 ([c5e640e](https://github.com/liuyib/hexo-theme-stun/commit/c5e640ef327bc56530b04b1b95f479a588a6596b))
## 1.6.0 (2020-01-15)
### Bug Fixes
* Display the preset i18n infomation when the post has no title ([22a425f](https://github.com/liuyib/hexo-theme-stun/commit/22a425f))
* Solved that click the parent element of secondary menu to jump ([ae083e4](https://github.com/liuyib/hexo-theme-stun/commit/ae083e4))
* Solve the problem that the menu button is not displayed ([c596944](https://github.com/liuyib/hexo-theme-stun/commit/c596944))
* Solve the problem that the menu button is not displayed(repeat) ([476da68](https://github.com/liuyib/hexo-theme-stun/commit/476da68))
* Solve the problem that the popAlert component pops up repeatedly ([2ce0785](https://github.com/liuyib/hexo-theme-stun/commit/2ce0785))
* Solve the problem of incorrect reading progress calculation ([114268c](https://github.com/liuyib/hexo-theme-stun/commit/114268c))
* **#25:** Remove cheerio ([31d6356](https://github.com/liuyib/hexo-theme-stun/commit/31d6356)), closes [#25](https://github.com/liuyib/hexo-theme-stun/issues/25)
* Solved that the secondary menu not display in some cases ([5f904fc](https://github.com/liuyib/hexo-theme-stun/commit/5f904fc))
* Solved the problem that modifying the theme of code block not work ([fc39088](https://github.com/liuyib/hexo-theme-stun/commit/fc39088))
* Solved that friends plugin not show normally when lazyload enabled ([63f19fe](https://github.com/liuyib/hexo-theme-stun/commit/63f19fe))
### Features
* Add support for 'reward' of front-matter in pages other than posts ([63c1473](https://github.com/liuyib/hexo-theme-stun/commit/63c1473))
* Add support for utterances comments ([559fab5](https://github.com/liuyib/hexo-theme-stun/commit/559fab5))
* Add the button of night mode ([5608830](https://github.com/liuyib/hexo-theme-stun/commit/5608830))
* Make the layout of sidebar and content configurable ([308e90b](https://github.com/liuyib/hexo-theme-stun/commit/308e90b))
* Add three styles of code block to choose from ([ac44aee](https://github.com/liuyib/hexo-theme-stun/commit/ac44aee))
### 1.5.4 (2019-11-04)
### Bug Fixes
* **#20:** Solved that the paginator can't show normally ([7d321bc](https://github.com/liuyib/hexo-theme-stun/commit/7d321bc)), closes [#20](https://github.com/liuyib/hexo-theme-stun/issues/20)
### Features
* Add the icon that prompt to scroll down in the header of site ([c05223a](https://github.com/liuyib/hexo-theme-stun/commit/c05223a))
### 1.5.3 (2019-10-03)
### Bug Fixes
* Solved that localsearch throw error when post has code snippet ([97fb081](https://github.com/liuyib/hexo-theme-stun/commit/97fb081))
### Features
* Add the info of theme in console ([0baa62f](https://github.com/liuyib/hexo-theme-stun/commit/0baa62f))
### 1.5.2 (2019-09-20)
### Bug Fixes
* Remove hexo cache to solve some problem ([2807baa](https://github.com/liuyib/hexo-theme-stun/commit/2807baa))
### 1.5.1 (2019-09-18)
### Bug Fixes
* Solved the problem that the image of post shows unexpectedly ([6cbc344](https://github.com/liuyib/hexo-theme-stun/commit/6cbc344))
### Features
* Displaying an icon in localsearch when search result is empty ([a64dd76](https://github.com/liuyib/hexo-theme-stun/commit/a64dd76))
## 1.5.0 (2019-09-17)
### Bug Fixes
* Supporting the config item of 'copyright: since/end' in footer ([7310163](https://github.com/liuyib/hexo-theme-stun/commit/7310163))
* **#15:** Delete the hover effect of the back2top button ([37a1e69](https://github.com/liuyib/hexo-theme-stun/commit/37a1e69)), closes [#15](https://github.com/liuyib/hexo-theme-stun/issues/15)
* Solved the problem that gitalk invalid when enable pjax ([ce9ce4f](https://github.com/liuyib/hexo-theme-stun/commit/ce9ce4f))
### Features
* Add mask layer to footer ([20050f3](https://github.com/liuyib/hexo-theme-stun/commit/20050f3))
## 1.5.0-beta.0 (2019-09-16)
### Bug Fixes
* Solved the problem that the same title in different pages ([57ef4c3](https://github.com/liuyib/hexo-theme-stun/commit/57ef4c3))
* **#16:** Solved that mathjax is not working properly ([74188c6](https://github.com/liuyib/hexo-theme-stun/commit/74188c6)), closes [#16](https://github.com/liuyib/hexo-theme-stun/issues/16)
* Supporting the config item for 'end_text: horizon_line' ([eea96d7](https://github.com/liuyib/hexo-theme-stun/commit/eea96d7))
* Solved that set toc & copyright & reward invalid in front-matter ([6d4149c](https://github.com/liuyib/hexo-theme-stun/commit/6d4149c))
* Solved that enable op_image is invalid ([2ff7190](https://github.com/liuyib/hexo-theme-stun/commit/2ff7190))
* Solved that sidebar not sitcky sometimes ([fed19e0](https://github.com/liuyib/hexo-theme-stun/commit/fed19e0))
* Resolve some problems of toc ([ebf5d11](https://github.com/liuyib/hexo-theme-stun/commit/ebf5d11))
* **#14:** Resolve wrong display in toc when click heading in it ([8f06543](https://github.com/liuyib/hexo-theme-stun/commit/8f06543))
### Features
* Add the button of sticky-top in timeline of post ([7b859df](https://github.com/liuyib/hexo-theme-stun/commit/7b859df))
* Add the config of scroll to second screen when pjax enabled ([ec6ac43](https://github.com/liuyib/hexo-theme-stun/commit/ec6ac43))
### 1.4.1 (2019-09-11)
See: [https://github.com/liuyib/hexo-theme-stun/releases/tag/v1.4.1](https://github.com/liuyib/hexo-theme-stun/releases/tag/v1.4.1)
## 1.4.0 (2019-09-09)
See: [https://github.com/liuyib/hexo-theme-stun/releases/tag/v1.4.0](https://github.com/liuyib/hexo-theme-stun/releases/tag/v1.4.0)
### 1.3.1 (2019-08-29)
### Bug Fixes
* Fix busuanzi & math & comments invalid when enable pjax ([037bbc7](https://github.com/liuyib/hexo-theme-stun/commit/037bbc7))
* Fix some third-party script invalid when pjax is enabled ([29b8d02](https://github.com/liuyib/hexo-theme-stun/commit/29b8d02))
### 1.3.0 (2019-08-28)
### Bug Fixes
* **#9:** Fix fancybox invalid when enable the lazyload of image ([13122eb](https://github.com/liuyib/hexo-theme-stun/commit/13122eb))
### Features
* Add pjax support ([0ca64cd](https://github.com/liuyib/hexo-theme-stun/commit/0ca64cd))
### 1.2.5 (2019-08-26)
### Bug Fixes
* **v1.2.4, v1.2.3:** Solve that can't start when update to v1.2.3/4 ([08bbc5a](https://github.com/liuyib/hexo-theme-stun/commit/08bbc5a))
### 1.2.4 (2019-08-25)
### Features
* Add google & bing & baidu & 360 webmaster tools verification ([b9204b5](https://github.com/liuyib/hexo-theme-stun/commit/b9204b5))
* Add google & tencent & baidu analytics support ([aa202be](https://github.com/liuyib/hexo-theme-stun/commit/aa202be))
* Add secondary menu support ([90acfdc](https://github.com/liuyib/hexo-theme-stun/commit/90acfdc))
### 1.2.3 (2019-08-24)
### Bug Fixes
* Solve the local search can't work when use some comment system ([bc8c2bd](https://github.com/liuyib/hexo-theme-stun/commit/bc8c2bd))
### Features
* Add quicklink support ([9c06aa4](https://github.com/liuyib/hexo-theme-stun/commit/9c06aa4))
## 1.2.2 (2019-08-08)
### Features
* Add pwa manifest ([4e6294a](https://github.com/liuyib/hexo-theme-stun/commit/4e6294a))
## 1.2.1 (2019-08-08)
### Features
* Add local search whitout dependencies ([852f249](https://github.com/liuyib/hexo-theme-stun/commit/852f249))
## 1.2.0 (2019-08-03)
### Bug Fixes
* Change the cdn of canvas-nest to fix the problem of display ([1ae8079](https://github.com/liuyib/hexo-theme-stun/commit/1ae8079))
### Features
* Add tag plugin of 'friends' ([6c09945](https://github.com/liuyib/hexo-theme-stun/commit/6c09945))
* Add tag plugin of 'note' ([c9d5e81](https://github.com/liuyib/hexo-theme-stun/commit/c9d5e81))
* Add tag plugin of 'table' ([1d86188](https://github.com/liuyib/hexo-theme-stun/commit/1d86188))
* Add lazyload of images ([0699e51](https://github.com/liuyib/hexo-theme-stun/commit/0699e51))
* Add enlarge the image when clicked without dependencies ([6a8023a](https://github.com/liuyib/hexo-theme-stun/commit/6a8023a))
* Add support with toc & reward & copyright in front-matter ([350fc82](https://github.com/liuyib/hexo-theme-stun/commit/350fc82))
### 1.1.4 (2019-07-25)
### Bug Fixes
* Solve that external icon showing on new line ([3a08c20](https://github.com/liuyib/hexo-theme-stun/commit/3a08c20))
* Solve that can't click header item when notice component alert ([3cab3f3](https://github.com/liuyib/hexo-theme-stun/commit/3cab3f3))
### Features
* Support fancybox & 'photos' attribute of front-matter ([23cf50f](https://github.com/liuyib/hexo-theme-stun/commit/23cf50f))
* Add advertising support by google adsense ([b192294](https://github.com/liuyib/hexo-theme-stun/commit/b192294))
### 1.1.3 (2019-07-22)
### Features
* Add the copy button in copyright of posts ([26155b7](https://github.com/liuyib/hexo-theme-stun/commit/26155b7))
* Add a mark icon to external icon ([2f11fd7](https://github.com/liuyib/hexo-theme-stun/commit/2f11fd7))
* Add support for front-matter: link ([79b73bf](https://github.com/liuyib/hexo-theme-stun/commit/79b73bf))
### 1.1.2 (2019-07-20)
### Bug Fixes
* Solve not show the button of copy when can't detect lang of code ([2663889](https://github.com/liuyib/hexo-theme-stun/commit/2663889))
### Features
* Add mathjax & katex support ([8f8cac2](https://github.com/liuyib/hexo-theme-stun/commit/8f8cac2))
* Add canvas_ribbon & canvas_nest ([99b8eca](https://github.com/liuyib/hexo-theme-stun/commit/99b8eca))
* Add UI component of popover & do some optimization ([584af05](https://github.com/liuyib/hexo-theme-stun/commit/584af05))
### 1.1.1 (2019-07-16)
### Bug Fixes
* Solve peoblem of repeating initial comment by gitalk & gitment ([6a16476](https://github.com/liuyib/hexo-theme-stun/commit/6a16476))
### Features
* Add reading statistics of valine ([b4e313a](https://github.com/liuyib/hexo-theme-stun/commit/b4e313a))
* Add valine comment ([170fcb3](https://github.com/liuyib/hexo-theme-stun/commit/170fcb3))
* Add mask effect of top image & remove blur effect ([7667e19](https://github.com/liuyib/hexo-theme-stun/commit/7667e19))
* Add disqus comment ([a2016e8](https://github.com/liuyib/hexo-theme-stun/commit/a2016e8))
* Add livere comment ([a9579eb](https://github.com/liuyib/hexo-theme-stun/commit/a9579eb))
## 1.1.0 (2019-07-14)
### Bug Fixes
* Solve the sidebar was not fixed when post had no subtitles ([34703e5](https://github.com/liuyib/hexo-theme-stun/commit/34703e5))
### Features
* Add button of copy codeblock && perfect animation ([dd0856f](https://github.com/liuyib/hexo-theme-stun/commit/dd0856f))
* You can use left and right arrows of keyboard to switch post ([e4bdca1](https://github.com/liuyib/hexo-theme-stun/commit/e4bdca1))
* Add gitalk comment ([0cf4db1](https://github.com/liuyib/hexo-theme-stun/commit/0cf4db1))
* Add auto adjust height of sidebar when it arrive footer ([e3083af](https://github.com/liuyib/hexo-theme-stun/commit/e3083af))
### 1.0.3 (2019-07-12)
### Features
* Add the cover image in the article list & change some config ([67345e](https://github.com/liuyib/hexo-theme-stun/commit/67345e7d7fb2d4685fd6283aae308aff355d93d7))
* Add post sticky in the archives ([e926f79](https://github.com/liuyib/hexo-theme-stun/commit/e926f79))
* Add algolia search ([77126e4](https://github.com/liuyib/hexo-theme-stun/commit/77126e4))
* Add the file of custom styles ([8a76e09](https://github.com/liuyib/hexo-theme-stun/commit/8a76e09))
### 1.0.2 (2019-06-28)
### Features
* Auto scroll toc when page scroll ([ceda1ce](https://github.com/liuyib/hexo-theme-stun/commit/ceda1ce))
* Fold toc by default & spread it auto when heading to the top ([1e242b3](https://github.com/liuyib/hexo-theme-stun/commit/1e242b3))
### 1.0.1 (2019-06-24)
### Features
* You can set whether the article list is paginated ([8f44318](https://github.com/liuyib/hexo-theme-stun/commit/8f44318))
### Bug Fixes
* Solved the problem of layout confusion when the sidebar is left ([8c25692](https://github.com/liuyib/hexo-theme-stun/commit/8c25692))
## [1.0.0](https://github.com/liuyib/hexo-theme-stun/compare/v1.0.0-beta.0...v1.0.0) (2019-06-23)
### Bug Fixes
* Solve the problem that the menu always shows in mobile ([21cde8e](https://github.com/liuyib/hexo-theme-stun/commit/21cde8e))
* Solved the display of unordered list ([1ba789e](https://github.com/liuyib/hexo-theme-stun/commit/1ba789e))
### Features
* Add config to automatically remain article excerpt ([94c6673](https://github.com/liuyib/hexo-theme-stun/commit/94c6673))
* Add the feature of stick post to the top ([fa9f25c](https://github.com/liuyib/hexo-theme-stun/commit/fa9f25c))
* Provides a way to specify the size of the image ([aa4195f](https://github.com/liuyib/hexo-theme-stun/commit/aa4195f))
## 1.0.0-beta.1 (2019-06-03)
### Bug Fixes
* Remove the display property of post to eliminate BFC effects ([b971e12](https://github.com/liuyib/hexo-theme-stun/commit/b971e12))
* Resolve read progress error, since post height equal zero ([cc1b6fa](https://github.com/liuyib/hexo-theme-stun/commit/cc1b6fa))
* Display the reading progress bar only on the articles page ([cdaac3f](https://github.com/liuyib/hexo-theme-stun/commit/cdaac3f))
* Solve the problem of sidebar jumping ([6933c40](https://github.com/liuyib/hexo-theme-stun/commit/6933c40))
### Features
* Add back to top button ([9248c62](https://github.com/liuyib/hexo-theme-stun/commit/9248c62))
* Add custom top and bottom img & custom text in footer ([bac6900](https://github.com/liuyib/hexo-theme-stun/commit/bac6900))
* Add diff code highlight & scroll bar UI ([940028f](https://github.com/liuyib/hexo-theme-stun/commit/940028f))
* Add the end hint at the end of post & make tags to config file ([b3605fb](https://github.com/liuyib/hexo-theme-stun/commit/b3605fb))
* Add the hyperlink to post title ([2d4089c](https://github.com/liuyib/hexo-theme-stun/commit/2d4089c))
* Add comment support ([60d928a](https://github.com/liuyib/hexo-theme-stun/commit/60d928a))
* Add busuanzi count ([8930455](https://github.com/liuyib/hexo-theme-stun/commit/8930455))
* Add word count & reading time cout of post ([b0c34df](https://github.com/liuyib/hexo-theme-stun/commit/b0c34df))
## 1.0.0-beta.0 (2019-06-03)
### Bug Fixes
* Code highlight in index, about page & avatar auto center ([2276e50](https://github.com/liuyib/hexo-theme-stun/commit/2276e50))
* Not show tag icon when empty & make header icon configable ([5c95bf5](https://github.com/liuyib/hexo-theme-stun/commit/5c95bf5))
* Post read progress line show minus ([6e7c7be](https://github.com/liuyib/hexo-theme-stun/commit/6e7c7be))
### Features
* Add code highlight ([6f07572](https://github.com/liuyib/hexo-theme-stun/commit/6f07572))
* Add header nav responsive layout & do some mobile adaptation ([3187fe4](https://github.com/liuyib/hexo-theme-stun/commit/3187fe4))
* Add img align to config file & do some i18n ([880966c](https://github.com/liuyib/hexo-theme-stun/commit/880966c))
* Add post toc ([19bb1bc](https://github.com/liuyib/hexo-theme-stun/commit/19bb1bc))
* Add responsive layout ([a743b07](https://github.com/liuyib/hexo-theme-stun/commit/a743b07))
* Add reward & post tags & post copyright ([5cde659](https://github.com/liuyib/hexo-theme-stun/commit/5cde659))
* Add sidebar tab page & post read progress & i18n ([3b049e1](https://github.com/liuyib/hexo-theme-stun/commit/3b049e1))
* add sitebar of show site info ([b9101cc](https://github.com/liuyib/hexo-theme-stun/commit/b9101cc))
* Add tag, category page style ([2e4126a](https://github.com/liuyib/hexo-theme-stun/commit/2e4126a))
* Auto switch toc tab when visit post page & error handling ([d8f3d99](https://github.com/liuyib/hexo-theme-stun/commit/d8f3d99))
* Click heading to stick top & refactor js code with jquery ([24ba46c](https://github.com/liuyib/hexo-theme-stun/commit/24ba46c))
* Sidebar sticky top ([3561257](https://github.com/liuyib/hexo-theme-stun/commit/3561257))
......@@ -37,11 +37,11 @@
- [Liuyib's Blog](https://liuyib.github.io/)
- [弥枳's Blog](http://blog2.coor.top/)
- [轻尘's Blog](http://qcxitong.xyz/)
- [impressionyang's Blog](http://impressionyang.github.io)
- [cjpNiceの博客](http://cjpnice.gitee.io)
- [轻尘's Blog](https://qcxitong.xyz/)
- [impressionyang's Blog](https://impressionyang.github.io)
- [cjpNiceの博客](https://cjpnice.gitee.io)
- [峡州仙士之页](https://cjh0613.gitee.io/blog/)
- [Cheeks's Blog](http://www.cheeks.top/)
- [Cheeks's Blog](https://www.cheeks.top/)
- [lingan1996's Blog](https://www.lingan1996.top)
- [MikyMing's Blog](https://mikyming.online/)
- [maple Blog](https://www.hongmaple.xyz/)
......
......@@ -36,12 +36,12 @@
## :sparkles: Demo
- [Liuyib's Blog](https://liuyib.github.io/)
- [mizhi's Blog](http://blog2.coor.top/)
- [轻尘's Blog](http://qcxitong.xyz/)
- [impressionyang's Blog](http://impressionyang.github.io)
- [cjpNiceの博客](http://cjpnice.gitee.io)
- [弥枳's Blog](http://blog2.coor.top/)
- [轻尘's Blog](https://qcxitong.xyz/)
- [impressionyang's Blog](https://impressionyang.github.io)
- [cjpNiceの博客](https://cjpnice.gitee.io)
- [峡州仙士之页](https://cjh0613.gitee.io/blog/)
- [Cheeks's Blog](http://www.cheeks.top/)
- [Cheeks's Blog](https://www.cheeks.top/)
- [lingan1996's Blog](https://www.lingan1996.top)
- [MikyMing's Blog](https://mikyming.online/)
- [maple Blog](https://www.hongmaple.xyz/)
......
......@@ -56,7 +56,7 @@ module.exports = {
},
{
text: 'Primary setting',
link: '/guide/primary-setting',
link: '/guide/primary',
},
],
},
......@@ -65,7 +65,7 @@ module.exports = {
items: [
{
text: 'Advanced setting',
link: '/advanced/advanced-setting',
link: '/advanced/advanced',
},
{
text: 'Third part',
......@@ -111,7 +111,7 @@ module.exports = {
},
{
text: '新手上路',
link: '/zh-CN/guide/primary-setting',
link: '/zh-CN/guide/primary',
},
],
},
......@@ -120,7 +120,7 @@ module.exports = {
items: [
{
text: '新手进阶',
link: '/zh-CN/advanced/advanced-setting',
link: '/zh-CN/advanced/advanced',
},
{
text: '第三方支持',
......@@ -137,7 +137,7 @@ module.exports = {
],
},
{
text: '贡献代码',
text: '参与贡献',
link: '/zh-CN/contribute/',
},
],
......@@ -153,8 +153,8 @@ function getEnSidebar(title) {
collapsable: false,
children: [
'/guide/quick-start',
'/guide/primary-setting',
'/advanced/advanced-setting',
'/guide/primary',
'/advanced/advanced',
'/advanced/third-part',
'/advanced/assist',
'/advanced/optimize',
......@@ -171,8 +171,8 @@ function getZhSidebar(title) {
collapsable: false,
children: [
'/zh-CN/guide/quick-start',
'/zh-CN/guide/primary-setting',
'/zh-CN/advanced/advanced-setting',
'/zh-CN/guide/primary',
'/zh-CN/advanced/advanced',
'/zh-CN/advanced/third-part',
'/zh-CN/advanced/assist',
'/zh-CN/advanced/optimize',
......
......@@ -3,7 +3,7 @@
Please follow the workflow below to contribute:
- Fork the repository to your Github and clone it.
- Switch to `dev` branch to develop (direct development on the `master` branch is prohibited).
- Switch to a **new branch** to develop (direct development on the `master` branch is prohibited).
- Submit changes locally.
- Push the commit to the repository of fork.
- Create a Pull request to the dev branch of the Stun theme repository.
- Create a Pull request to the **dev branch** of the Stun theme repository.
---
home: true
heroImage: /logo.png
heroImage: /icons/favicon-192x192.png
actionText: 快速开始 →
actionLink: /zh-CN/guide/quick-start
# features:
......@@ -11,4 +11,4 @@ actionLink: /zh-CN/guide/quick-start
# - title: Performant
# details: VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.
footer: MIT Licensed | Copyright © 2019-present liuyib
---
\ No newline at end of file
---
......@@ -2,6 +2,10 @@
## 打包、压缩资源文件 <Badge text="Disrelated" type="warning"/>
::: danger
由于我在使用过程中,发现了该插件的很多问题,例如:[#93](https://github.com/chenzhutian/hexo-all-minifier/issues/93),所以暂时不再推荐使用!
:::
Stun 主题的源码中,`HTML`, `CSS`, `JavaScript`, `图片` 等资源文件是没有打包压缩的。绝大部分的 Hexo 主题也是如此。庆幸的是,可以找到相关的插件来解决这一问题。
这里可以使用 [hexo-all-minifier](https://github.com/chenzhutian/hexo-all-minifier) 插件,它集成了 `html-minifier`, `clean-css`, `uglify``imagemin`,只需安装和简单的配置即可使用。
......@@ -33,7 +37,3 @@ Stun 主题的源码中,`HTML`, `CSS`, `JavaScript`, `图片` 等资源文件
如果你使用插件时**遇到了问题** 或者 想进行**更详细的设置**,请查看插件的[文档](https://github.com/chenzhutian/hexo-all-minifier/blob/master/README.md)
> ~~安装这个插件后,不管使用哪一个主题,都可以生效,所以强烈推荐使用。~~
::: warning
由于我在使用过程中,发现了该插件的很多问题,例如:[#93](https://github.com/chenzhutian/hexo-all-minifier/issues/93),所以暂时不再推荐使用!
:::
......@@ -921,8 +921,6 @@ canvas_ribbon:
canvas_nest:
# 是否启用
enable: false
# 是否在移动端显示
onmobile: true
# 线条的颜色(RGB 值,请使用 "," 分隔,并用引号包裹值)
color: "0,0,0"
# 线条的透明度
......
## 贡献代码
## 参与贡献
请按照以下工作流参与贡献:
### Pull request 流程
请严格按照以下工作流参与贡献:
- 将仓库 fork 到你的 Github,并 clone 到本地
- 切换到 dev 分支上开发(禁止直接在 master 分支上开发)
- 在本地提交修改
- 切换到**新分支**上开发(禁止直接在 master 分支上开发)
- 将本地修改进行提交
- 将提交 push 到 fork 的仓库下
- 创建一个 Pull request 到 Stun 主题仓库的 dev 分支
- 创建一个 Pull request 到 Stun 主题仓库的 **dev 分支**
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册