Update styles to work with new mkdocs version
This commit is contained in:
parent
00747a3bc3
commit
64ef7becc7
@ -5,12 +5,8 @@
|
|||||||
|
|
||||||
<!-- Place this tag where you want the button to render. -->
|
<!-- Place this tag where you want the button to render. -->
|
||||||
<a class="github-button" href="https://github.com/freqtrade/freqtrade" data-icon="octicon-star" data-size="large" aria-label="Star freqtrade/freqtrade on GitHub">Star</a>
|
<a class="github-button" href="https://github.com/freqtrade/freqtrade" data-icon="octicon-star" data-size="large" aria-label="Star freqtrade/freqtrade on GitHub">Star</a>
|
||||||
<!-- Place this tag where you want the button to render. -->
|
|
||||||
<a class="github-button" href="https://github.com/freqtrade/freqtrade/fork" data-icon="octicon-repo-forked" data-size="large" aria-label="Fork freqtrade/freqtrade on GitHub">Fork</a>
|
<a class="github-button" href="https://github.com/freqtrade/freqtrade/fork" data-icon="octicon-repo-forked" data-size="large" aria-label="Fork freqtrade/freqtrade on GitHub">Fork</a>
|
||||||
<!-- Place this tag where you want the button to render. -->
|
|
||||||
<a class="github-button" href="https://github.com/freqtrade/freqtrade/archive/stable.zip" data-icon="octicon-cloud-download" data-size="large" aria-label="Download freqtrade/freqtrade on GitHub">Download</a>
|
<a class="github-button" href="https://github.com/freqtrade/freqtrade/archive/stable.zip" data-icon="octicon-cloud-download" data-size="large" aria-label="Download freqtrade/freqtrade on GitHub">Download</a>
|
||||||
<!-- Place this tag where you want the button to render. -->
|
|
||||||
<a class="github-button" href="https://github.com/freqtrade" data-size="large" aria-label="Follow @freqtrade on GitHub">Follow @freqtrade</a>
|
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
@ -6,22 +6,22 @@ This file was automatically generated - do not edit
|
|||||||
{% set site_url = site_url ~ "/index.html" %}
|
{% set site_url = site_url ~ "/index.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<header class="md-header" data-md-component="header">
|
<header class="md-header" data-md-component="header">
|
||||||
<nav class="md-header-nav md-grid" aria-label="{{ lang.t('header.title') }}">
|
<nav class="md-header__inner md-grid" aria-label="{{ lang.t('header.title') }}">
|
||||||
<a href="{{ site_url }}" title="{{ config.site_name | e }}" class="md-header-nav__button md-logo"
|
<a href="{{ site_url }}" title="{{ config.site_name | e }}" class="md-header__button md-logo"
|
||||||
aria-label="{{ config.site_name }}">
|
aria-label="{{ config.site_name }}">
|
||||||
{% include "partials/logo.html" %}
|
{% include "partials/logo.html" %}
|
||||||
</a>
|
</a>
|
||||||
<label class="md-header-nav__button md-icon" for="__drawer">
|
<label class="md-header__button md-icon" for="__drawer">
|
||||||
{% include ".icons/material/menu" ~ ".svg" %}
|
{% include ".icons/material/menu" ~ ".svg" %}
|
||||||
</label>
|
</label>
|
||||||
<div class="md-header-nav__title" data-md-component="header-title">
|
<div class="md-header__title" data-md-component="header-title">
|
||||||
<div class="md-header-nav__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header-nav__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
{{ config.site_name }}
|
{{ config.site_name }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header-nav__topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
{% if page and page.meta and page.meta.title %}
|
{% if page and page.meta and page.meta.title %}
|
||||||
{{ page.meta.title }}
|
{{ page.meta.title }}
|
||||||
@ -32,20 +32,41 @@ This file was automatically generated - do not edit
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="md-header__options">
|
||||||
|
{% if config.extra.alternate %}
|
||||||
|
<div class="md-select">
|
||||||
|
{% set icon = config.theme.icon.alternate or "material/translate" %}
|
||||||
|
<span class="md-header__button md-icon">
|
||||||
|
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||||
|
</span>
|
||||||
|
<div class="md-select__inner">
|
||||||
|
<ul class="md-select__list">
|
||||||
|
{% for alt in config.extra.alternate %}
|
||||||
|
<li class="md-select__item">
|
||||||
|
<a href="{{ alt.link | url }}" class="md-select__link">
|
||||||
|
{{ alt.name }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
{% if "search" in config["plugins"] %}
|
{% if "search" in config["plugins"] %}
|
||||||
<label class="md-header-nav__button md-icon" for="__search">
|
<label class="md-header__button md-icon" for="__search">
|
||||||
{% include ".icons/material/magnify.svg" %}
|
{% include ".icons/material/magnify.svg" %}
|
||||||
</label>
|
</label>
|
||||||
{% include "partials/search.html" %}
|
{% include "partials/search.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if config.repo_url %}
|
{% if config.repo_url %}
|
||||||
<div class="md-header-nav__source">
|
<div class="md-header__source">
|
||||||
{% include "partials/source.html" %}
|
{% include "partials/source.html" %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</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>
|
||||||
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
|
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
|
||||||
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
|
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
|
||||||
</header>
|
</header>
|
||||||
|
46
mkdocs.yml
46
mkdocs.yml
@ -1,4 +1,5 @@
|
|||||||
site_name: Freqtrade
|
site_name: Freqtrade
|
||||||
|
repo_url: https://github.com/freqtrade/freqtrade
|
||||||
nav:
|
nav:
|
||||||
- Home: index.md
|
- Home: index.md
|
||||||
- Quickstart with Docker: docker_quickstart.md
|
- Quickstart with Docker: docker_quickstart.md
|
||||||
@ -13,8 +14,8 @@ nav:
|
|||||||
- Start the bot: bot-usage.md
|
- Start the bot: bot-usage.md
|
||||||
- Control the bot:
|
- Control the bot:
|
||||||
- Telegram: telegram-usage.md
|
- Telegram: telegram-usage.md
|
||||||
- Web Hook: webhook-config.md
|
|
||||||
- REST API & FreqUI: rest-api.md
|
- REST API & FreqUI: rest-api.md
|
||||||
|
- Web Hook: webhook-config.md
|
||||||
- Data Downloading: data-download.md
|
- Data Downloading: data-download.md
|
||||||
- Backtesting: backtesting.md
|
- Backtesting: backtesting.md
|
||||||
- Hyperopt: hyperopt.md
|
- Hyperopt: hyperopt.md
|
||||||
@ -50,24 +51,25 @@ extra_javascript:
|
|||||||
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
||||||
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- admonition
|
- attr_list
|
||||||
- footnotes
|
- admonition
|
||||||
- codehilite:
|
- footnotes
|
||||||
guess_lang: false
|
- codehilite:
|
||||||
- toc:
|
guess_lang: false
|
||||||
permalink: true
|
- toc:
|
||||||
- pymdownx.arithmatex:
|
permalink: true
|
||||||
generic: true
|
- pymdownx.arithmatex:
|
||||||
- pymdownx.details
|
generic: true
|
||||||
- pymdownx.inlinehilite
|
- pymdownx.details
|
||||||
- pymdownx.magiclink
|
- pymdownx.inlinehilite
|
||||||
- pymdownx.pathconverter
|
- pymdownx.magiclink
|
||||||
- pymdownx.smartsymbols
|
- pymdownx.pathconverter
|
||||||
- pymdownx.snippets:
|
- pymdownx.smartsymbols
|
||||||
base_path: docs
|
- pymdownx.snippets:
|
||||||
check_paths: true
|
base_path: docs
|
||||||
- pymdownx.tabbed
|
check_paths: true
|
||||||
- pymdownx.superfences
|
- pymdownx.tabbed
|
||||||
- pymdownx.tasklist:
|
- pymdownx.superfences
|
||||||
custom_checkbox: true
|
- pymdownx.tasklist:
|
||||||
- mdx_truly_sane_lists
|
custom_checkbox: true
|
||||||
|
- mdx_truly_sane_lists
|
||||||
|
Loading…
Reference in New Issue
Block a user