Skip to content

Commit

Permalink
format doc
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Jan 27, 2016
1 parent 201f7bc commit a00623a
Show file tree
Hide file tree
Showing 44 changed files with 28 additions and 13,780 deletions.
47 changes: 20 additions & 27 deletions sharding-jdbc-doc/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@
<section id="intro">
<!-- Header -->
<div class="intro-header">

<div class="container header-container">

<div class="row">
<div class="intro-image col-md-4"></div>
<div class="intro-message col-md-6">
<h1>{{ .Site.Title }}</h1>
<h3>{{ .Site.Params.description }}</h3>

{{ if (isset .Site.Params "github_project_name") }}
{{ $user := .Site.Params.github_user_name }}
{{ $repo := .Site.Params.github_project_name }}

<iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user={{ $user }}&repo={{ $repo }}&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
{{ end }}

<hr class="intro-divider">
</div>
</div>

</div>
<!-- /.container -->

</div>
<!-- /.intro-header -->
<!-- Header -->
<div class="intro-header">
<div class="container header-container">
<div class="row">
<div class="intro-image col-md-4"></div>
<div class="intro-message col-md-6">
<h1>{{ .Site.Title }}</h1>
<h3>{{ .Site.Params.description }}</h3>
{{ if (isset .Site.Params "github_project_name") }}
{{ $user := .Site.Params.github_user_name }}
{{ $repo := .Site.Params.github_project_name }}
<iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user={{ $user }}&repo={{ $repo }}&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
{{ end }}
<hr class="intro-divider">
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.intro-header -->
</section>
2 changes: 0 additions & 2 deletions sharding-jdbc-doc/layouts/partials/js.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<script src="//cdn.bootcss.com/Chart.js/2.0.0-beta2/Chart.min.js"></script>
<script src="{{ .Site.BaseURL }}data/chart.js"></script>
<script>

$("canvas").each(function(){
var data = chartData[$(this).attr("id")];
$(data.datasets).each(function(index, obj){
Expand All @@ -28,5 +27,4 @@
})
</script>


{{ end }}
6 changes: 0 additions & 6 deletions sharding-jdbc-doc/layouts/partials/services.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@
<!-- Page Content -->
{{ range $index, $element := where .Data.Pages "Section" "in" "index" }}
<div class="container">

<div class="row">
<div>
<div class="clearfix"></div>
{{ .Content }}
</div>
</div>

</div>
<!-- /.container -->
{{ end }}


<div class="container">

<div class="row">
<div>
<div class="clearfix"></div>
Expand All @@ -29,8 +25,6 @@ <h2>相关文档</h2>
</ul>
</div>
</div>

</div>
<!-- /.container -->

</section>
16 changes: 8 additions & 8 deletions sharding-jdbc-doc/layouts/partials/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@
.content-section-a,
footer,
.navbar {
background-color: {{ .Site.Params.first_color }};
color: {{ .Site.Params.first_text_color }};
background-color: {{ .Site.Params.first_color }};
color: {{ .Site.Params.first_text_color }};
}

.navbar a:link,
.navbar-default .navbar-nav>li>a {
color: {{ .Site.Params.header_link_color }};
color: {{ .Site.Params.header_link_color }};
}

.navbar a:hover,
.navbar-default .navbar-nav>li>a:hover {
color: {{ .Site.Params.header_link_hover_color }};
color: {{ .Site.Params.header_link_hover_color }};
}

.content-section-b {
background-color: {{ .Site.Params.second_color }};
color: {{ .Site.Params.second_text_color }};
background-color: {{ .Site.Params.second_color }};
color: {{ .Site.Params.second_text_color }};
}

body {
color: {{ .Site.Params.header_text_color }};
color: {{ .Site.Params.header_text_color }};
}

.header-container h1,
.header-container h2,
.header-container h3,
.header-container h4 {
color: {{ .Site.Params.header_text_color }};
color: {{ .Site.Params.header_text_color }};
}
32 changes: 0 additions & 32 deletions sharding-jdbc-doc/public/.gitignore

This file was deleted.

Empty file removed sharding-jdbc-doc/public/404.html
Empty file.
Loading

0 comments on commit a00623a

Please sign in to comment.