Skip to content

Commit

Permalink
Merge pull request #68 from github/docs-fix-broken-source-code-links
Browse files Browse the repository at this point in the history
docs: fix broken source code links
  • Loading branch information
keithamus committed Jul 31, 2020
2 parents 6378196 + 6a7c4e2 commit 3bad2a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/_includes/type.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
{%- when "reflection" %}
{%- assign type = type.declaration %}
{%- include type.html %}
{%- when "typeParameter" %}
{%- assign name = type.name %}
{%- assign type = type.constraint %}
{{- ''}}<span class="nf">{{ name }}</span>
{%- else %}
{%- if type.signatures %}
{%- assign rootType = type %}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2 class="mb-0" id="{{ file.name | slugify }}">{{ export.name }}</h2>
<div class="mb-3 f5">
{% for source in export.sources %}
Defined in:
<a href="{{ site.github.repository_url }}/blob/{{ revision }}/catalyst/src/{{ source.fileName }}#L{{ source.line }}">
<a href="{{ site.github.repository_url }}/blob/{{ revision }}/src/{{ source.fileName }}#L{{ source.line }}">
{{ source.fileName }}:{{ source.line }}
</a>
{% endfor %}
Expand Down

0 comments on commit 3bad2a8

Please sign in to comment.