mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 04:08:40 +00:00
Merge pull request #143 from tripit/dev
Fix some bugs, clean up, and readme changes. Thanks @lord!
This commit is contained in:
commit
c665bb4e8f
3 changed files with 7 additions and 5 deletions
|
|
@ -48,7 +48,7 @@ You're going to need:
|
|||
4. Install all dependencies: `bundle install`
|
||||
5. Start the test server: `bundle exec middleman server`
|
||||
|
||||
You can now see the docs at <http://localhost:4567>. And as you edit `source/index.md`, your server should automatically update! Whoa! That was fast!
|
||||
You can now see the docs at <http://localhost:4567>. Whoa! That was fast!
|
||||
|
||||
Now that Slate is all set up your machine, you'll probably want to learn more about [editing Slate markdown](https://github.com/tripit/slate/wiki/Markdown-Syntax), or [how to publish your docs](https://github.com/tripit/slate/wiki/Deploying-Slate).
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ under the License.
|
|||
}
|
||||
$(".highlight." + language).parent().show();
|
||||
|
||||
global.toc.calculateHeights();
|
||||
|
||||
// scroll to the new location of the position
|
||||
$(window.location.hash).get(0).scrollIntoView(true);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -483,7 +483,7 @@ html, body {
|
|||
aside {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
text-shadow: 0 1px 0 lighten($aside-notice-bg, 15%);
|
||||
@include text-shadow(0 1px 0 lighten($aside-notice-bg, 15%));
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 1.5em;
|
||||
background: $aside-notice-bg;
|
||||
|
|
@ -491,12 +491,12 @@ html, body {
|
|||
|
||||
&.warning {
|
||||
background-color: $aside-warning-bg;
|
||||
text-shadow: 0 1px 0 lighten($aside-warning-bg, 15%);
|
||||
@include text-shadow(0 1px 0 lighten($aside-warning-bg, 15%));
|
||||
}
|
||||
|
||||
&.success {
|
||||
background-color: $aside-success-bg;
|
||||
text-shadow: 0 1px 0 lighten($aside-success-bg, 15%);
|
||||
@include text-shadow(0 1px 0 lighten($aside-success-bg, 15%));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -523,7 +523,7 @@ html, body {
|
|||
margin: -2px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #F7E633;
|
||||
text-shadow: 1px 1px 0 #666;
|
||||
@include text-shadow(1px 1px 0 #666);
|
||||
@include background(linear-gradient(bottom right, #F7E633 0%, #F1D32F 100%));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue