Skip to content

Commit

Permalink
0.1.8 Change templates, enable navigation scroll.
Browse files Browse the repository at this point in the history
  • Loading branch information
rottmann committed Apr 23, 2013
1 parent a4477b2 commit b25d1ac
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 35 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Creates from input files a documentation in path `doc/`.

## Changelog

* `0.1.8` Change templates, enable navigation scroll.
* `0.1.7` Add @apiIgnore. Update grunt Modules.
* `0.1.6` Fix OSX executable
* `0.1.5` Official release
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apidoc",
"version": "0.1.7",
"version": "0.1.8",
"description": "RESTful web API Documentation Generator",
"author": "Peter Rottmann <[email protected]>",
"license": "MIT",
Expand Down
28 changes: 13 additions & 15 deletions template/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@ td.code {
font-weight: 400;
}

#border {
width: 264px;
height: 100%;
position: fixed;
background-color: #f5f5f5;
}

#content {
padding-top: 16px;
z-Index: -1;
margin-left: 264px;
margin-left: 270px;
}

p {
Expand Down Expand Up @@ -156,8 +149,10 @@ pre {
border-radius: 6px;
position: relative;
margin: 10px 0 20px 0;
/* z-Index: -1; */
overflow: auto;
}

pre.language-json {
overflow: auto;
}

pre.language-html {
Expand Down Expand Up @@ -233,7 +228,14 @@ pre.language-json .pun {
.sidenav {
width: 228px;
margin: 0;
padding: 0;
padding: 20px;
position: fixed;
top: 0;
left: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
background-color: #f5f5f5;
}

.sidenav > li > a {
Expand Down Expand Up @@ -280,10 +282,6 @@ pre.language-json .pun {
border-left: #e5e5e5 4px solid;
}

.sidenav.affix {
top: 20px;
}

/* ------------------------------------------------------------------------------------------
* Compare
* ------------------------------------------------------------------------------------------ */
Expand Down
3 changes: 1 addition & 2 deletions template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<body>

<script id="template-sidenav" type="text/x-handlebars-template">
<ul class="sidenav nav nav-list affix">
<ul class="sidenav nav nav-list">
{{#each nav}}
{{#if isHeader}}
{{#if isFixed}}
Expand Down Expand Up @@ -410,7 +410,6 @@ <h2>{{__ _title}}</h2>
{{/if}}
</script>

<div id="border"></div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
Expand Down
28 changes: 13 additions & 15 deletions template_basic/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@ td.code {
font-weight: 400;
}

#border {
width: 264px;
height: 100%;
position: fixed;
background-color: #f5f5f5;
}

#content {
padding-top: 16px;
z-Index: -1;
margin-left: 264px;
margin-left: 270px;
}

p {
Expand Down Expand Up @@ -156,8 +149,10 @@ pre {
border-radius: 6px;
position: relative;
margin: 10px 0 20px 0;
/* z-Index: -1; */
overflow: auto;
}

pre.language-json {
overflow: auto;
}

pre.language-html {
Expand Down Expand Up @@ -236,7 +231,14 @@ pre .pun {
.sidenav {
width: 228px;
margin: 0;
padding: 0;
padding: 20px;
position: fixed;
top: 0;
left: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
background-color: #f5f5f5;
}

.sidenav > li > a {
Expand Down Expand Up @@ -282,7 +284,3 @@ pre .pun {
.sidenav > li.is-new a {
border-left: #e5e5e5 4px solid;
}

.sidenav.affix {
top: 20px;
}
3 changes: 1 addition & 2 deletions template_basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<body>

<script id="template-sidenav" type="text/x-handlebars-template">
<ul class="sidenav nav nav-list affix">
<ul class="sidenav nav nav-list">
{{#each nav}}
{{#if isHeader}}
{{#if isFixed}}
Expand Down Expand Up @@ -145,7 +145,6 @@ <h2>{{__ _title}}</h2>
{{/if}}
</script>

<div id="border"></div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
Expand Down

0 comments on commit b25d1ac

Please sign in to comment.