UNPKG

5.73 kBHTMLView Raw
1<!DOCTYPE html>
2<html lang="zh-CN">
3<head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>Yon 版本</title>
7 <link rel="stylesheet" href="source/app.css"/>
8 <link rel="stylesheet" href="source/highlight.min.css">
9</head>
10<body>
11<a id="skippy" class="sr-only sr-only-focusable" href="#content">
12 <div class="container"><span class="skiplink-text">Skip to main content</span></div>
13</a>
14
15
16<!-- Docs master nav -->
17<header class="navbar navbar-static-top docs-nav" id="top" role="banner">
18 <div class="container">
19 <div class="navbar-header">
20 <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#bs-navbar"
21 aria-controls="bs-navbar" aria-expanded="false">
22 <span class="sr-only">Toggle navigation</span>
23 <span class="icon-bar"></span>
24 <span class="icon-bar"></span>
25 <span class="icon-bar"></span>
26 </button>
27
28 <a href="http://tinper.org/" class="navbar-brand">tinper</a>
29
30 </div>
31 <nav id="bs-navbar" class="collapse navbar-collapse">
32 <ul class="nav navbar-nav navbar-left">
33
34
35 <li class="">
36
37 <a href="index.html">开始</a>
38
39 </li>
40
41 <li class="">
42
43 <a href="progress.html">进度</a>
44
45 </li>
46
47 <li class="active">
48
49 <a href="release.html">版本</a>
50
51 </li>
52
53
54 </ul>
55 </nav>
56 </div>
57</header>
58
59<!-- Docs page layout -->
60
61<div class="docs-header" id="content" style="margin-bottom:0">
62 <div class="container">
63 <h1>Yon</h1>
64 <p>版本</p>
65 </div>
66</div>
67
68
69<header style="height:20px"></header>
70
71
72<div class="container docs-container">
73
74
75 <div class="row">
76 <div class="col-md-9 markdown-body" role="main">
77
78 <h2 id="开发说明">开发说明</h2>
79 <p><strong>夭折的v0.0.1版本</strong> <em>pub分支</em></p>
80 <ul>
81 <li>前期对安装命令行工具工作量评估不足,导致入源码坑太深</li>
82 <li>依赖<code>npminstall</code>完成,内网<code>Nexus Repository
83 OSS</code>搭建的镜像,存在部分下载<code>404</code>的问题(<code>latest</code>,<code>&gt;=v1
84 &lt;v2</code>),此部分原因为<code>npminstall</code>工具对下载机制做了调整,镜像在<code>npm</code>环境测试没有问题
85 </li>
86 </ul>
87 <p><strong>v0.0.2版本</strong></p>
88 <p>上一版当天无法修复的情况下,无法短时间从<code>npm</code>等工具源码中构建项目。遂修改策略,短时间撸出的一个试用版本:在<code>npm</code>上套壳,确保:能使用内网镜像,能自动切换镜像,不侵入`npm
89 </p>
90 <p><strong>v0.0.3-0.0.4</strong></p>
91 <ul>
92 <li>版本调整,仓库迁移测试</li>
93 </ul>
94 <p><strong>v0.0.6</strong></p>
95 <ul>
96 <li>增加显示镜像地址</li>
97 <li>增加不支持命令的error提示</li>
98 </ul>
99
100 </div>
101 <div class="col-md-3" role="complementary">
102 <nav class="docs-sidebar hidden-print hidden-xs hidden-sm">
103 <ul class="nav docs-sidenav">
104
105
106 <li>
107
108 <a href="#开发说明">开发说明</a>
109
110 </li>
111
112
113 </ul>
114 </nav>
115 </div>
116 </div>
117
118
119</div>
120
121<!-- Footer
122================================================== -->
123<footer class="docs-footer" role="contentinfo">
124 <div class="container">
125 <p>Made By YonYouFED. © 2014 - 2016</p>
126 </div>
127</footer>
128
129<script src="source/jquery.min.js"></script>
130<script src="source/bootstrap.min.js"></script>
131<script src="source/docs.min.js"></script>
132<script src="source/highlight.min.js"></script>
133<script>
134 $(document).ready(function () {
135 $('code').each(function (i, block) {
136 if (block.innerHTML.indexOf('\n') != -1) {
137 var pn = block.parentNode;
138 if (pn.tagName.toUpperCase() == 'PRE') {
139 try {
140 hljs.highlightBlock(block);
141 } catch (e) {
142 }
143 } else {
144 pn.innerHTML = '<pre><code>' + block.innerHTML + '</code></pre>';
145 try {
146 hljs.highlightBlock(pn.childNodes[0].childNodes[0]);
147 } catch (e) {
148 }
149 }
150 }
151 });
152
153 var winHeight = $(window).height() - 40,
154 sidebar = $('.docs-sidebar');
155
156 if (sidebar.height() > winHeight) {
157
158 sidebar.css('max-height', winHeight + 'px');
159 sidebar.css('overflow', 'scroll');
160
161 var activeMenu,
162 barScroll = false;
163
164 sidebar.on('mouseover', function () {
165 barScroll = true;
166 });
167
168 sidebar.on('mouseout', function () {
169 barScroll = false;
170 });
171
172 $(window).on('scroll', function (e) {
173 if (!barScroll) {
174 var activeItem = $('.docs-sidebar li.active a');
175 if (activeItem.length) {
176 if (!activeMenu || (activeMenu.attr('href') != activeItem.attr('href'))) {
177 activeMenu = activeItem;
178 var top = activeMenu.offset().top - sidebar.offset().top;
179 if (top < 0) {
180 sidebar.scrollTop(sidebar.scrollTop() + top);
181 } else if (top > winHeight - 30) {
182 sidebar.scrollTop(sidebar.scrollTop() + top - winHeight + 30);
183 }
184 }
185 }
186 }
187 });
188 }
189 });
190</script>
191</body>
192</html>