591078f81f
- split fmt_build_doc_system.patch into smaller patches, to simplify the patch management - drop fmt_test8_segfault.patch, as it does not apply anymore - add patches to avoid accessing to internet via installed document - use python3 packages to adapt fedora python3 migration - drop fmt-static package, as it's non-trivial to build static and shared libraries in a single run. and it's not encouraged to ship static library, see https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2 - package ChangeLog.rst README.rst in fmt package, to help use to understand the latest changes, and to silence rpmlint warnings - pass cmake options in multiple lines, to have less code churn of future changes. - drop DCMAKE_SKIP_RPATH=OFF, as RHEL6 is not supported anymore - use %make_build and %make_install macros, see https://fedoraproject.org/wiki/Packaging:Cmake - bump up packaged fmt to v5.2.1 Signed-off-by: Kefu Chai <tchaikov@gmail.com>
59 lines
2.3 KiB
Diff
59 lines
2.3 KiB
Diff
From: "Eugene V. Lyubimkin" <jackyf@iki.fi>
|
|
Date: Sat, 7 Nov 2015 19:53:09 +0100
|
|
Subject: doc: _templates: layout: stripped download links
|
|
|
|
---
|
|
doc/_templates/layout.html | 29 +----------------------------
|
|
1 file changed, 1 insertion(+), 28 deletions(-)
|
|
|
|
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
|
|
index 8f5dfd9..7bc00fc 100644
|
|
--- a/doc/_templates/layout.html
|
|
+++ b/doc/_templates/layout.html
|
|
@@ -38,20 +38,9 @@
|
|
</button>
|
|
<a class="navbar-brand" href="index.html">{fmt}</a>
|
|
</div>
|
|
-
|
|
{# Collect the nav links, forms, and other content for toggling #}
|
|
<div class="collapse navbar-collapse">
|
|
<ul class="nav navbar-nav">
|
|
- <li class="dropdown">
|
|
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"
|
|
- role="button" aria-expanded="false">{{ version }}
|
|
- <span class="caret"></span></a>
|
|
- <ul class="dropdown-menu" role="menu">
|
|
- {% for v in versions.split(',') %}
|
|
- <li><a href="http://fmtlib.net/{{v}}">{{v}}</a></li>
|
|
- {% endfor %}
|
|
- </ul>
|
|
- </li>
|
|
{% for name in ['Contents', 'Usage', 'API', 'Syntax'] %}
|
|
{% if pagename == name.lower() %}
|
|
<li class="active"><a href="{{name.lower()}}.html">{{name}}
|
|
@@ -74,23 +63,7 @@
|
|
<div class="jumbotron">
|
|
<div class="tb-container">
|
|
<h1>{fmt}</h1>
|
|
- <p class="lead">Small, safe and fast formatting library</p>
|
|
- <div class="btn-group" role="group">
|
|
- {% set name = 'fmt' if version.split('.')[0]|int >= 3 else 'cppformat' %}
|
|
- <a class="btn btn-success"
|
|
- href="{{download_url}}/{{version}}/{{name}}-{{version}}.zip">
|
|
- <span class="glyphicon glyphicon-download"></span> Download
|
|
- </a>
|
|
- <button type="button" class="btn btn-success dropdown-toggle"
|
|
- data-toggle="dropdown"><span class="caret"></span></button>
|
|
- <ul class="dropdown-menu">
|
|
- {% for v in versions.split(',') %}
|
|
- {% set name = 'fmt' if v.split('.')[0]|int >= 3 else 'cppformat' %}
|
|
- <li><a href="{{download_url}}/{{v}}/{{name}}-{{v}}.zip">Version {{v}}
|
|
- </a></li>
|
|
- {% endfor %}
|
|
- </ul>
|
|
- </div>
|
|
+ <p class="lead">Small, safe and fast formatting library for C++</p>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|