Skip to content

Commit

Permalink
ENH: enable links to github repo rather than document for view source
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky committed Nov 29, 2024
1 parent 88eb50d commit b79196f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,11 @@
{%- else %}
<li data-tippy-content="Download PDF" onClick="window.print()"><i data-feather="file"></i></li>
{%- endif %}
<li data-tippy-content="View Source"><a target="_blank" href="{{ theme_repository_url }}{{github_sourcefolder}}/{{ sourcename }}" download><i data-feather="github"></i></a></li>
<!--
# Enable if looking for link to specific document hosted on GitHub
<li data-tippy-content="View Source"><a target="_blank" href="{{ theme_repository_url }}{{github_sourcefolder}}/{{ sourcename }}" download><i data-feather="github"></i></a></li>
-->
<li data-tippy-content="View Source"><a target="_blank" href="{{ theme_repository_url }}" download><i data-feather="github"></i></a></li>
</ul>

</div>
Expand Down

1 comment on commit b79196f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.