Add versions to doc theme
This commit is contained in:
parent
7d1f66ccf8
commit
86ef32318c
@ -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>
|
||||||
|
14
docs/stylesheets/ft.extra.css
Normal file
14
docs/stylesheets/ft.extra.css
Normal 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;
|
||||||
|
}
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user