mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-17 00:22:24 -06:00
Merge branch 'v0.2.6-release' into improve-search
This commit is contained in:
commit
5ad439b53c
@ -32,6 +32,9 @@ aux_links:
|
|||||||
"Just the Docs on GitHub":
|
"Just the Docs on GitHub":
|
||||||
- "//github.com/pmarsceill/just-the-docs"
|
- "//github.com/pmarsceill/just-the-docs"
|
||||||
|
|
||||||
|
# Footer content appears at the bottom of every page's main content
|
||||||
|
footer_content: "Copyright © 2017-2019 Patrick Marsceill. Distributed by an <a href=\"https://github.com/pmarsceill/just-the-docs/tree/master/LICENSE.txt\">MIT license.</a>"
|
||||||
|
|
||||||
# Color scheme currently only supports "dark" or nil (default)
|
# Color scheme currently only supports "dark" or nil (default)
|
||||||
color_scheme: nil
|
color_scheme: nil
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ layout: table_wrappers
|
|||||||
<div class="navigation main-nav js-main-nav">
|
<div class="navigation main-nav js-main-nav">
|
||||||
{% include nav.html %}
|
{% include nav.html %}
|
||||||
</div>
|
</div>
|
||||||
<footer role="contentinfo" class="site-footer">
|
<footer class="site-footer">
|
||||||
<p class="text-small text-grey-dk-000 mb-0">This site uses <a href="https://github.com/pmarsceill/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.</p>
|
<p class="text-small text-grey-dk-000 mb-4">This site uses <a href="https://github.com/pmarsceill/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<div class="main-content-wrap js-main-content" tabindex="0">
|
<div class="main-content-wrap js-main-content" tabindex="0">
|
||||||
@ -65,7 +65,7 @@ layout: table_wrappers
|
|||||||
{{ content }}
|
{{ content }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.has_children == true and page.has_toc != false %}
|
{% if page.has_children == true and page.has_toc != false %}
|
||||||
<hr>
|
<hr>
|
||||||
<h2 class="text-delta">Table of contents</h2>
|
<h2 class="text-delta">Table of contents</h2>
|
||||||
{% assign children_list = site.pages | sort:"nav_order" %}
|
{% assign children_list = site.pages | sort:"nav_order" %}
|
||||||
@ -78,8 +78,15 @@ layout: table_wrappers
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
|
{% if site.footer_content != nil %}
|
||||||
|
<hr>
|
||||||
|
<footer role="contentinfo">
|
||||||
|
<p class="text-small text-grey-dk-000 mb-0">{{ site.footer_content }}</p>
|
||||||
|
</footer>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -182,6 +182,7 @@ body {
|
|||||||
@include container;
|
@include container;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
padding-top: $sp-4;
|
padding-top: $sp-4;
|
||||||
padding-bottom: $sp-4;
|
padding-bottom: $sp-4;
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Main nav, breadcrumb, etc...
|
// Main nav, breadcrumb, etc...
|
||||||
//
|
//
|
||||||
|
|
||||||
.navigation-list {
|
.navigation-list {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
@ -40,6 +40,7 @@ aux_links:
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Heading anchor links
|
## Heading anchor links
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Heading anchor links appear on hover over h1-h6 tags
|
# Heading anchor links appear on hover over h1-h6 tags
|
||||||
# in page content allowing users to deep link to a particular
|
# in page content allowing users to deep link to a particular
|
||||||
@ -49,6 +50,13 @@ aux_links:
|
|||||||
heading_anchors: true
|
heading_anchors: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Footer content
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Footer content appears at the bottom of every page's main content
|
||||||
|
footer_content: "Copyright © 2017-2019 Patrick Marsceill. Distributed by an <a href=\"https://github.com/pmarsceill/just-the-docs/tree/master/LICENSE.txt\">MIT license.</a>"
|
||||||
|
```
|
||||||
|
|
||||||
## Color scheme
|
## Color scheme
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -69,5 +69,3 @@ $link-color: $blue-000;
|
|||||||
```
|
```
|
||||||
|
|
||||||
_Note:_ Editing the variables directly in `_sass/support/variables.scss` is not recommended and can cause other dependencies to fail.
|
_Note:_ Editing the variables directly in `_sass/support/variables.scss` is not recommended and can cause other dependencies to fail.
|
||||||
|
|
||||||
---
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user