Skip to content

Commit

Permalink
Fix link to source files at simple theme templates
Browse files Browse the repository at this point in the history
Fix yui#186.
  • Loading branch information
okuryu committed Jan 8, 2015
1 parent ce5c9f5 commit e837e81
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion themes/simple/partials/attrs.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{#if extended_from}}<em>`/* Extended from {{extended_from}} */`</em>{{/if}}
{{#if overwritten_from}}<em>`/* Overwritten from {{name}} */`</em>{{/if}}
<br>
<span class="foundat"><a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>
<span class="foundat"><a href="{{foundAt}}">`{{file}}:{{line}}`</a></span>
{{{attrDescription}}}
{{#if emit}}
<div class="emits">
Expand Down
2 changes: 1 addition & 1 deletion themes/simple/partials/classes.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{{#if extends}}
Extends: {{#crossLink extends}}{{/crossLink}}<br>
{{/if}}
<span class="foundat">Class defined in: <a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>
<span class="foundat">Class defined in: <a href="{{foundAt}}">`{{file}}:{{line}}`</a></span>
<div class="intro">{{{classDescription}}}</div>

{{#if is_constructor}}
Expand Down
2 changes: 1 addition & 1 deletion themes/simple/partials/events.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{#if extended_from}}<em>`/* Extended from {{extended_from}} */</em>`{{/if}}
{{#if overwritten_from}}<em>`/* Overwritten from {{name}} */`</em>{{/if}}
<br>
<span class="foundat"><a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>
<span class="foundat"><a href="{{foundAt}}">`{{file}}:{{line}}`</a></span>
{{{eventDescription}}}
{{#if params}}
<strong>Extra event object properties:</strong>
Expand Down
2 changes: 1 addition & 1 deletion themes/simple/partials/method.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{else}}
{{#if extended_from}} Defined in <a href="{{extended_from}}.html#method_{{name}}">{{extended_from}}</a>: {{/if}}
{{/if}}
<a href="../{{foundAt}}">`{{file}}:{{line}}`</a>
<a href="{{foundAt}}">`{{file}}:{{line}}`</a>
</span><br>
{{{methodDescription}}}
{{#if params}}
Expand Down
2 changes: 1 addition & 1 deletion themes/simple/partials/module.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
</div>
</div>
<br><br>
<span class="foundat">Module description found: <a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>
<span class="foundat">Module description found: <a href="{{foundAt}}">`{{file}}:{{line}}`</a></span>
2 changes: 1 addition & 1 deletion themes/simple/partials/props.handlebars
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<a name="props_{{name}}"></a>
<div class="props item">
`{{name}}` &lt;<strong>{{#crossLink type}}{{/crossLink}}</strong>&gt;{{#if final}} <em>(final)</em>{{/if}}{{#if static}} <em>(static)</em>{{/if}}<br>
<span class="foundat"><a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>
<span class="foundat"><a href="{{foundAt}}">`{{file}}:{{line}}`</a></span>
{{{propertyDescription}}}
{{#if example}}
<h5>Example</h5>
Expand Down

0 comments on commit e837e81

Please sign in to comment.