Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry Weiss committed Jun 9, 2013
1 parent 97d31b9 commit 67dec06
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,23 @@ change the theme, just update conf.json with the new theme and build your docs!
Yes! Contribute! Test! Share your ideas! Report Bugs!

## Roadmap ##
Integrate Darkstrap
Make plain old bootstrap an option (doh!)
Jump to source line numbers
Document publish.js

* Integrate Darkstrap
* Make plain old bootstrap an option (doh!)
* ~~Jump to source line numbers~~
* Document publish.js


## History ##

### v0.2.0 ###

* Added jump to source linenumers - still a problem scrolling with fixed header
* changed syntax highlighter to [sunlight](http://sunlightjs.com/)
* Modify incoming bootswatch files to make font calls without protocol.

### v0.1.0 ###
Initial release


## Notices ##
Expand All @@ -154,6 +167,8 @@ If you like DocStrap, be sure and check out these excellent projects and support

DocStrap [is licensed under the MIT license.](https://github.com/terryweiss/docstrap/blob/master/LICENSE.md)

[Sunlight uses the WTFPL](http://sunlightjs.com/)

## License ##
DocStrap Copyright (c) 2012-2013Terry Weiss. All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion template/tmpl/details.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var self = this;
<?js if (data.meta) {?>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<?js= self.linkto(meta.filename) ?>, <?js= self.linkto(meta.filename, 'line ' + meta.lineno, null, 'sunlight-1-line-' + meta.lineno) ?>
<?js= self.linkto(meta.filename) ?><?js if (this.navOptions.linenums) {?>, <?js= self.linkto(meta.filename, 'line ' + meta.lineno, null, 'sunlight-1-line-' + meta.lineno) ?><?js } ?>
</li></ul></dd>
<?js } ?>

Expand Down
3 changes: 2 additions & 1 deletion template/tmpl/layout.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
<script src="scripts/bootstrap-dropdown.js"></script>
<script src="scripts/toc.js"></script>

<script> Sunlight.highlightAll({lineNumbers:true, showMenu: true, enableDoclinks :true}); </script>

<script> Sunlight.highlightAll({lineNumbers:<?js= this.navOptions.linenums ?>, showMenu: true, enableDoclinks :true}); </script>

<script>
$( function () {
Expand Down

0 comments on commit 67dec06

Please sign in to comment.