Improve docs for local dev
This commit is contained in:
parent
74146c6224
commit
8a2dcc946b
7
docs/_config_local.yml
Normal file
7
docs/_config_local.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# Github Metadata plugin
|
||||||
|
repository: box/spout
|
||||||
|
plugins:
|
||||||
|
- "jekyll-github-metadata"
|
||||||
|
|
||||||
|
github:
|
||||||
|
url: http://localhost:8080
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<div class="footer-col footer-col-2">
|
<div class="footer-col footer-col-2">
|
||||||
<ul class="social-media-list">
|
<ul class="social-media-list">
|
||||||
<li><a href="https://github.com/box/spout/issues"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">GitHub Issues</span></a></li>
|
<li><a href="{{ site.github.issues_url }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">GitHub Issues</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<a class="page-link" href="{{ site.github.url }}/docs/">Documentation</a>
|
<a class="page-link" href="{{ site.github.url }}/docs/">Documentation</a>
|
||||||
<a class="page-link" href="{{ site.github.url }}/guides/">Guides</a>
|
<a class="page-link" href="{{ site.github.url }}/guides/">Guides</a>
|
||||||
<a class="page-link" href="{{ site.github.url }}/faq/">FAQ</a>
|
<a class="page-link" href="{{ site.github.url }}/faq/">FAQ</a>
|
||||||
<a class="page-link" href="https://github.com/box/spout">
|
<a class="page-link" href="{{ site.github.repository_url }}">
|
||||||
<span class="icon icon--github">{% include icon-github.svg %}</span>
|
<span class="icon icon--github">{% include icon-github.svg %}</span>
|
||||||
<span class="username">GitHub</span>
|
<span class="username">GitHub</span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
site:
|
site:
|
||||||
command: jekyll serve
|
command: bash -c "
|
||||||
|
gem install 'jekyll-github-metadata'
|
||||||
|
&& jekyll serve --config _config.yml,_config_local.yml"
|
||||||
image: jekyll/jekyll:latest
|
image: jekyll/jekyll:latest
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD:/srv/jekyll
|
- $PWD:/srv/jekyll
|
||||||
|
Loading…
x
Reference in New Issue
Block a user