Merge pull request #2353 from freqtrade/docs_versions

Add versions to doc theme
This commit is contained in:
Matthias 2019-10-08 19:39:31 +02:00 committed by GitHub
commit 9b32d617db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 1 deletions

View File

@ -49,4 +49,6 @@
</nav>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</header>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
</header>

View File

@ -0,0 +1,14 @@
.rst-versions {
font-size: .7rem;
color: white;
}
.rst-versions.rst-badge .rst-current-version {
font-size: .7rem;
color: white;
}
.rst-versions .rst-other-versions {
color: white;
text-decoration: underline;
}

View File

@ -32,6 +32,8 @@ theme:
palette:
primary: 'blue grey'
accent: 'tear'
extra_css:
- 'stylesheets/ft.extra.css'
markdown_extensions:
- admonition
- codehilite: