Skip to content

Commit

Permalink
Update css, javascript and inner links for pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangxin committed Dec 5, 2011
1 parent ab2981b commit dd52f14
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 137 deletions.
11 changes: 6 additions & 5 deletions _layouts/master.html
Expand Up @@ -11,6 +11,7 @@
{% for script in page.javascripts %}
<script src="{{ script }}"></script>
{% endfor %}
<link rel="stylesheet" href="{{ page.relpath }}html/inc/common.css" type="text/css" media="screen" charset="utf-8"/>
<link rel="stylesheet" href="/stylesheets/master.css" type="text/css" media="screen" charset="utf-8"/>
<link rel="stylesheet" href="/stylesheets/syntax.css" type="text/css" media="screen" charset="utf-8"/>
</head>
Expand All @@ -35,11 +36,11 @@ <h1><a href='/'>World Hello</a></h1>
<div id='submenu'>
<h2>目录</h2>
<ul>
<li><a href="index.html">关于本书</a>
<li><a href="bookstore.html">如何购买</a>
<li><a href="recommends.html">封底推荐</a>
<li><a href="errata.html">本书勘误</a>
<li><a href="demo.html">操作回放</a>
<li><a href="{{ page.relpath }}index.html">关于本书</a>
<li><a href="{{ page.relpath }}bookstore.html">如何购买</a>
<li><a href="{{ page.relpath }}recommends.html">封底推荐</a>
<li><a href="{{ page.relpath }}errata.html">本书勘误</a>
<li><a href="{{ page.relpath }}screencast.html">操作回放</a>
</ul>
</div>
</div>
Expand Down
5 changes: 3 additions & 2 deletions _layouts/ttyrecord.html
@@ -1,7 +1,8 @@
---
layout: master
stylesheets: [ "/gotgit/html/inc/common.css", "/gotgit/html/inc/tty.css" ]
javascripts: [ "/gotgit/html/inc/prototype.js", "/gotgit/html/inc/showtty.js" ]
stylesheets: [ "../../html/inc/common.css", "../../html/inc/tty.css" ]
javascripts: [ "../../html/inc/prototype.js", "../../html/inc/showtty.js" ]
relpath: ../../
---

<div class="document">
Expand Down
67 changes: 0 additions & 67 deletions demo.md

This file was deleted.

19 changes: 3 additions & 16 deletions errata-others.md
@@ -1,25 +1,12 @@
---
layout: master
title: 勘误表
stylesheets: [ "/html/inc/errata.css" ]
---

## 参与勘误
### 主要勘误

您发现了新的错误么?贡献出来吧,这厢有礼了。Orz

1. 记录您发现的问题。

访问 [缺陷追踪系统(Github)](https://github.com/gotgit/gotgit/issues/new) 报告问题。

2. 修改本Git版本库中的勘误表。

* 在 GitHub 上从本版本库 <https://github.com/gotgit/gotgit/> 派生后,直接修改勘误表。
* 将您的修改通过 Github 的 Pull Request 工具通知我。
* 您还可以直接通过 [新浪微博](http://weibo.com/gotgit/) @群英汇蒋鑫。

## 勘误表

说明:为突出字体加粗,用棕色字体显示加粗字体。
主要勘误参见 <errata.html> ,本文列举一般性印刷错误。编辑建议不要将两个勘误合并一起。 ;)

### 文字错误

Expand Down
1 change: 1 addition & 0 deletions errata.md
@@ -1,6 +1,7 @@
---
layout: master
title: 勘误表
stylesheets: [ "/html/inc/errata.css" ]
---

## 参与勘误
Expand Down
22 changes: 0 additions & 22 deletions html/inc/common.css
@@ -1,25 +1,3 @@
/* Stylesheet for ossxp documents at: http://www.ossxp.com/doc/ */

html,body{min-height:100%;}
body{color:#4e4e4e; padding: 0;}

/* body with background color */
body {
text-align:center; /* for IE */
margin:0 auto; /* for the rest */
background:#39424b;
}

/* content: align center with fixed width */
div.document
{
text-align:left;
width:780px; /* or a percentage, or whatever */
margin:0 auto 0 auto;
padding:1em;
background:#ffffff;
}

/* header and footer: align center with fixed width */
div.header, div.footer
{
Expand Down
57 changes: 32 additions & 25 deletions index.md
Expand Up @@ -51,42 +51,50 @@ title: 关于本书

## 在线资源

* 官方网站
<http://gotgit.github.com/gotgit/>
* 官方网站

> 采用Git方式维护的官方网站,欢迎大家一起参与其中。
<http://www.worldhello.net/gotgit>

* 新浪微群
<http://q.weibo.com/567527>
采用Git方式维护的官方网站,欢迎大家一起参与其中。

> 关于本书以及相关技术的讨论,还有本书的样章提供下载。
* 新浪微群

* 作者微博
<http://weibo.com/gotgit>
<http://q.weibo.com/567527>

> 欢迎大家通过新浪微博与我交流,有什么意见和建议@我
关于本书以及相关技术的讨论,还有本书的样章提供下载

* 邮件列表
<http://groups.google.com/group/gotgit>
* 作者微博

> 社交网站140字的限制让复杂的交流显得吃力,这个邮件列表可以弥补不足。
<http://weibo.com/gotgit>

欢迎大家通过新浪微博与我交流,有什么意见和建议@我。

* 邮件列表

<http://groups.google.com/group/gotgit>

社交网站140字的限制让复杂的交流显得吃力,这个邮件列表可以弥补不足。


<a class="click-more"></a>

* 资源下载

* 代码示例下载
[本地下载](download)
* 代码示例下载

[本地下载](download)

* 演示版本库1
<https://github.com/ossxp-com/gitdemo-commit-tree/>
* 演示版本库1

* 演示版本库2 (Hello world)
<https://github.com/ossxp-com/hello-world/>
<https://github.com/ossxp-com/gitdemo-commit-tree/>

* 本资料库
<https://github.com/gotgit/gotgit/>
* 演示版本库2 (Hello world)

<https://github.com/ossxp-com/hello-world/>

* 本资料库

<https://github.com/gotgit/gotgit/>


<a name="ebook"></a>
Expand All @@ -95,11 +103,10 @@ title: 关于本书

您可以从下面的网址获取本书部分章节的电子版:

* 新浪微盘
<http://vdisk.weibo.com/s/qMFt>

* 或 China-pub 样章试读
<http://www.china-pub.com/computers/common/mianfeisd.asp?id=194010>
* 新浪微盘

<http://vdisk.weibo.com/s/qMFt>

* 或 China-pub 样章试读

<http://www.china-pub.com/computers/common/mianfeisd.asp?id=194010>

0 comments on commit dd52f14

Please sign in to comment.