/[smecontribs]/rpms/fmt/contribs10/doc-_templates-layout-stripped-download-links.patch
ViewVC logotype

Contents of /rpms/fmt/contribs10/doc-_templates-layout-stripped-download-links.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Nov 11 05:30:14 2021 UTC (3 years ago) by jpp
Branch: MAIN
CVS Tags: fmt-7_1_3-2_fc34, fmt-7_1_3-2_el7_sme, HEAD
Initial import

1 diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
2 index 8ff160de..85eba08d 100644
3 --- a/doc/_templates/layout.html
4 +++ b/doc/_templates/layout.html
5 @@ -42,16 +42,6 @@
6 {# Collect the nav links, forms, and other content for toggling #}
7 <div class="collapse navbar-collapse">
8 <ul class="nav navbar-nav">
9 - <li class="dropdown">
10 - <a href="#" class="dropdown-toggle" data-toggle="dropdown"
11 - role="button" aria-expanded="false">{{ version }}
12 - <span class="caret"></span></a>
13 - <ul class="dropdown-menu" role="menu">
14 - {% for v in versions.split(',') %}
15 - <li><a href="https://fmt.dev/{{v}}">{{v}}</a></li>
16 - {% endfor %}
17 - </ul>
18 - </li>
19 {% for name in ['Contents', 'Usage', 'API', 'Syntax'] %}
20 {% if pagename == name.lower() %}
21 <li class="active"><a href="{{name.lower()}}.html">{{name}}
22 @@ -74,23 +64,7 @@
23 <div class="jumbotron">
24 <div class="tb-container">
25 <h1>{fmt}</h1>
26 - <p class="lead">A modern formatting library</p>
27 - <div class="btn-group" role="group">
28 - {% set name = 'fmt' if version.split('.')[0]|int >= 3 else 'cppformat' %}
29 - <a class="btn btn-success"
30 - href="{{download_url}}/{{version}}/{{name}}-{{version}}.zip">
31 - <span class="glyphicon glyphicon-download"></span> Download
32 - </a>
33 - <button type="button" class="btn btn-success dropdown-toggle"
34 - data-toggle="dropdown"><span class="caret"></span></button>
35 - <ul class="dropdown-menu">
36 - {% for v in versions.split(',') %}
37 - {% set name = 'fmt' if v.split('.')[0]|int >= 3 else 'cppformat' %}
38 - <li><a href="{{download_url}}/{{v}}/{{name}}-{{v}}.zip">Version {{v}}
39 - </a></li>
40 - {% endfor %}
41 - </ul>
42 - </div>
43 + <p class="lead">Small, safe and fast formatting library for C++</p>
44 </div>
45 </div>
46 {% endif %}
47 --
48 2.28.0
49

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed