Merge pull request #535 from kramred/docs/github_link
Add hyperlink to github repo in docs; below img of tree
This commit is contained in:
commit
f4132c90ec
2 changed files with 8 additions and 1 deletions
|
|
@ -21,7 +21,8 @@
|
|||
<div id="sidebar">
|
||||
<nav id="table-of-contents">
|
||||
<a class="logo table-of-contents-section" href="https://github.com/tree-sitter/tree-sitter">
|
||||
<img src="{{ '/assets/images/tree-sitter-small.png' | relative_url }}" width=200 height=200 />
|
||||
<img title="Tree-sitter logo, link to github repo" src="{{ '/assets/images/tree-sitter-small.png' | relative_url }}" width=200 height=200 />
|
||||
<span class="github-repo">GitHub repository</span>
|
||||
</a>
|
||||
|
||||
{% for other_page in site.html_pages %}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,12 @@ body {
|
|||
overflow-y: auto;
|
||||
border-right: 1px solid #ccc;
|
||||
z-index: 1;
|
||||
|
||||
.github-repo {
|
||||
display: inline-block;
|
||||
padding-left: 3.75em;
|
||||
font-size: .85em;
|
||||
}
|
||||
}
|
||||
|
||||
#sidebar-toggle-link {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue