Add versions to doc theme

This commit is contained in:
Matthias 2019-10-06 19:27:20 +02:00
parent 7d1f66ccf8
commit 86ef32318c
3 changed files with 19 additions and 1 deletions

View File

@ -49,4 +49,6 @@
</nav> </nav>
<!-- Place this tag in your head or just before your close body tag. --> <!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script> <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: palette:
primary: 'blue grey' primary: 'blue grey'
accent: 'tear' accent: 'tear'
extra_css:
- 'stylesheets/ft.extra.css'
markdown_extensions: markdown_extensions:
- admonition - admonition
- codehilite: - codehilite: