Skip to content

Commit

Permalink
intro: refactor intro part
Browse files Browse the repository at this point in the history
  • Loading branch information
wakafa1 committed Jul 19, 2020
1 parent 6e959ca commit 062d52b
Show file tree
Hide file tree
Showing 25 changed files with 1,667 additions and 323 deletions.
6 changes: 4 additions & 2 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# NutShell

* [README](README.md)

### 介绍

* [NutShell (果壳) 处理器核](README.md)
* [快速上手教程](上手教程/NutShell-tutorial.md)
* [NutShell (果壳) 处理器核](介绍/introduction.md)
* [快速上手教程](介绍/NutShell-tutorial.md)

----

Expand Down
11 changes: 11 additions & 0 deletions building/gitbook/gitbook-plugin-livereload/plugin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
(function() {
var newEl = document.createElement('script'),
firstScriptTag = document.getElementsByTagName('script')[0];

if (firstScriptTag) {
newEl.async = 1;
newEl.src = '//' + window.location.hostname + ':35729/livereload.js';
firstScriptTag.parentNode.insertBefore(newEl, firstScriptTag);
}

})();
74 changes: 48 additions & 26 deletions building/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>NutShell (果壳) 处理器核 · GitBook</title>
<title>README · GitBook</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
Expand Down Expand Up @@ -57,7 +57,7 @@
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">


<link rel="next" href="上手教程/NutShell-tutorial.html" />
<link rel="next" href="介绍/introduction.html" />



Expand Down Expand Up @@ -85,15 +85,33 @@



<li class="header">介绍</li>



<li class="chapter active" data-level="1.1" data-path="./">

<a href="./">


README

</a>



</li>




<li class="header">介绍</li>



<li class="chapter " data-level="2.1" data-path="介绍/introduction.html">

<a href="介绍/introduction.html">


NutShell (果壳) 处理器核

</a>
Expand All @@ -102,9 +120,9 @@

</li>

<li class="chapter " data-level="1.2" data-path="上手教程/NutShell-tutorial.html">
<li class="chapter " data-level="2.2" data-path="介绍/NutShell-tutorial.html">

<a href="上手教程/NutShell-tutorial.html">
<a href="介绍/NutShell-tutorial.html">


快速上手教程
Expand All @@ -122,7 +140,7 @@



<li class="chapter " data-level="2.1" data-path="流水线/ifu.html">
<li class="chapter " data-level="3.1" data-path="流水线/ifu.html">

<a href="流水线/ifu.html">

Expand All @@ -135,7 +153,7 @@

</li>

<li class="chapter " data-level="2.2" data-path="流水线/idu.html">
<li class="chapter " data-level="3.2" data-path="流水线/idu.html">

<a href="流水线/idu.html">

Expand All @@ -148,7 +166,7 @@

</li>

<li class="chapter " data-level="2.3" data-path="流水线/isu.html">
<li class="chapter " data-level="3.3" data-path="流水线/isu.html">

<a href="流水线/isu.html">

Expand All @@ -161,7 +179,7 @@

</li>

<li class="chapter " data-level="2.4" data-path="流水线/exu.html">
<li class="chapter " data-level="3.4" data-path="流水线/exu.html">

<a href="流水线/exu.html">

Expand All @@ -174,7 +192,7 @@

</li>

<li class="chapter " data-level="2.5" data-path="流水线/wbu.html">
<li class="chapter " data-level="3.5" data-path="流水线/wbu.html">

<a href="流水线/wbu.html">

Expand All @@ -194,7 +212,7 @@



<li class="chapter " data-level="3.1" data-path="功能部件/lsu.md">
<li class="chapter " data-level="4.1" data-path="功能部件/lsu.md">

<span>

Expand All @@ -207,7 +225,7 @@

</li>

<li class="chapter " data-level="3.2" data-path="功能部件/csr.md">
<li class="chapter " data-level="4.2" data-path="功能部件/csr.md">

<span>

Expand All @@ -220,9 +238,9 @@

</li>

<li class="chapter " data-level="3.3" data-path="功能部件/bpu.md">
<li class="chapter " data-level="4.3" data-path="功能部件/bpu.html">

<span>
<a href="功能部件/bpu.html">


分支预测单元
Expand All @@ -233,7 +251,7 @@

</li>

<li class="chapter " data-level="3.4" data-path="功能部件/cache.html">
<li class="chapter " data-level="4.4" data-path="功能部件/cache.html">

<a href="功能部件/cache.html">

Expand All @@ -246,7 +264,7 @@

</li>

<li class="chapter " data-level="3.5" data-path="功能部件/tlb.md">
<li class="chapter " data-level="4.5" data-path="功能部件/tlb.md">

<span>

Expand All @@ -266,7 +284,7 @@



<li class="chapter " data-level="4.1" data-path="系统/mem.html">
<li class="chapter " data-level="5.1" data-path="系统/mem.html">

<a href="系统/mem.html">

Expand All @@ -279,7 +297,7 @@

</li>

<li class="chapter " data-level="4.2" data-path="系统/peripheral.html">
<li class="chapter " data-level="5.2" data-path="系统/peripheral.html">

<a href="系统/peripheral.html">

Expand All @@ -292,7 +310,7 @@

</li>

<li class="chapter " data-level="4.3" data-path="系统/bus.html">
<li class="chapter " data-level="5.3" data-path="系统/bus.html">

<a href="系统/bus.html">

Expand All @@ -312,7 +330,7 @@



<li class="chapter " data-level="5.1" data-path="其他/env.html">
<li class="chapter " data-level="6.1" data-path="其他/env.html">

<a href="其他/env.html">

Expand All @@ -325,7 +343,7 @@

</li>

<li class="chapter " data-level="5.2" data-path="其他/setting.html">
<li class="chapter " data-level="6.2" data-path="其他/setting.html">

<a href="其他/setting.html">

Expand All @@ -338,7 +356,7 @@

</li>

<li class="chapter " data-level="5.3" data-path="其他/debug.html">
<li class="chapter " data-level="6.3" data-path="其他/debug.html">

<a href="其他/debug.html">

Expand Down Expand Up @@ -381,7 +399,7 @@
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="." >NutShell (果壳) 处理器核</a>
<a href="." >README</a>
</h1>
</div>

Expand Down Expand Up @@ -463,7 +481,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'



<a href="上手教程/NutShell-tutorial.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 快速上手教程">
<a href="介绍/introduction.html" class="navigation navigation-next navigation-unique" aria-label="Next page: NutShell (果壳) 处理器核">
<i class="fa fa-angle-right"></i>
</a>

Expand All @@ -474,7 +492,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"NutShell (果壳) 处理器核","level":"1.1","depth":1,"next":{"title":"快速上手教程","level":"1.2","depth":1,"path":"上手教程/NutShell-tutorial.md","ref":"上手教程/NutShell-tutorial.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2020-07-18T08:28:35.409Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-18T09:56:23.436Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"README","level":"1.1","depth":1,"next":{"title":"NutShell (果壳) 处理器核","level":"2.1","depth":1,"path":"介绍/introduction.md","ref":"介绍/introduction.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2020-07-18T08:28:35.409Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-19T06:19:55.531Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
Expand All @@ -484,6 +502,10 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
<script src="gitbook/theme.js"></script>


<script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>



<script src="gitbook/gitbook-plugin-search/search-engine.js"></script>


Expand Down
2 changes: 1 addition & 1 deletion building/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit 062d52b

Please sign in to comment.