mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 19:24:48 +02:00
Update documentation deps
This commit is contained in:
6
doc/_static/bootstrap.min.css
vendored
Normal file
6
doc/_static/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
doc/_static/bootstrap.min.js
vendored
6
doc/_static/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
6
doc/_static/popper.min.js
vendored
Normal file
6
doc/_static/popper.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
20
doc/_templates/layout.html
vendored
20
doc/_templates/layout.html
vendored
@@ -4,6 +4,7 @@
|
|||||||
<meta name="description" content="Small, safe and fast formatting library">
|
<meta name="description" content="Small, safe and fast formatting library">
|
||||||
<meta name="keywords" content="C++, formatting, printf, string, library">
|
<meta name="keywords" content="C++, formatting, printf, string, library">
|
||||||
<meta name="author" content="Victor Zverovich">
|
<meta name="author" content="Victor Zverovich">
|
||||||
|
<link href="bootstrap.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="_static/fmt.css">
|
<link rel="stylesheet" href="_static/fmt.css">
|
||||||
{# Google Analytics #}
|
{# Google Analytics #}
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-20116650-4"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-20116650-4"></script>
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<nav class="navbar navbar-inverse">
|
<nav class="navbar navbar-expand-lg" data-bs-theme="dark">
|
||||||
<div class="tb-container">
|
<div class="tb-container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="navbar-content">
|
<div class="navbar-content">
|
||||||
@@ -84,20 +85,20 @@
|
|||||||
<div class="tb-container">
|
<div class="tb-container">
|
||||||
<h1>{fmt}</h1>
|
<h1>{fmt}</h1>
|
||||||
<p class="lead">A modern formatting library</p>
|
<p class="lead">A modern formatting library</p>
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group">
|
||||||
{% set name = 'fmt' if version.split('.')[0]|int >= 3 else 'cppformat' %}
|
{% set name = 'fmt' if version.split('.')[0]|int >= 3 else 'cppformat' %}
|
||||||
<a class="btn btn-success"
|
<a class="btn btn-success"
|
||||||
href="{{download_url}}/{{version}}/{{name}}-{{version}}.zip">
|
href="{{download_url}}/{{version}}/{{name}}-{{version}}.zip">
|
||||||
<span class="glyphicon glyphicon-download"></span> Download
|
<span class="glyphicon glyphicon-download"></span> Download
|
||||||
</a>
|
</a>
|
||||||
<button type="button" class="btn btn-success dropdown-toggle"
|
<button type="button" class="btn btn-success dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
data-toggle="dropdown"><span class="caret"></span></button>
|
<span class="visually-hidden">▼</span>
|
||||||
|
</button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
{% for v in versions.split(',') %}
|
{% for v in versions.split(',') %}
|
||||||
{% set name = 'fmt' if v.split('.')[0]|int >= 3 else 'cppformat' %}
|
{% set name = 'fmt' if v.split('.')[0]|int >= 3 else 'cppformat' %}
|
||||||
<li><a href="{{download_url}}/{{v}}/{{name}}-{{v}}.zip">Version {{v}}
|
<li><a class="dropdown-item" href="{{download_url}}/{{v}}/{{name}}-{{v}}.zip">Version {{v}}</a></li>
|
||||||
</a></li>
|
{% endfor %}
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -144,5 +145,6 @@
|
|||||||
{% block footer %}
|
{% block footer %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{# Placed at the end of the document so the pages load faster. #}
|
{# Placed at the end of the document so the pages load faster. #}
|
||||||
|
<script src="_static/popper.min.js"></script>
|
||||||
<script src="_static/bootstrap.min.js"></script>
|
<script src="_static/bootstrap.min.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@@ -33,11 +33,9 @@ def create_build_env(venv_dir='virtualenv'):
|
|||||||
pip.install('six')
|
pip.install('six')
|
||||||
# See: https://github.com/sphinx-doc/sphinx/issues/9777
|
# See: https://github.com/sphinx-doc/sphinx/issues/9777
|
||||||
pip.install('docutils==0.17.1')
|
pip.install('docutils==0.17.1')
|
||||||
# Jinja2 >= 3.1 incompatible with sphinx 3.3.0
|
pip.install('Jinja2')
|
||||||
# See: https://github.com/sphinx-doc/sphinx/issues/10291
|
pip.install('sphinx==5.0.2')
|
||||||
pip.install('Jinja2<3.1')
|
pip.install('michaeljones/breathe', 'v4.35.0')
|
||||||
pip.install('sphinx==3.3.0')
|
|
||||||
pip.install('michaeljones/breathe', 'v4.25.0')
|
|
||||||
|
|
||||||
def build_docs(version='dev', **kwargs):
|
def build_docs(version='dev', **kwargs):
|
||||||
doc_dir = kwargs.get('doc_dir', os.path.dirname(os.path.realpath(__file__)))
|
doc_dir = kwargs.get('doc_dir', os.path.dirname(os.path.realpath(__file__)))
|
||||||
|
Reference in New Issue
Block a user