Skip to content

Commit 0c2d9ad

Browse files
committed
Update Documents
1 parent 4f32ac5 commit 0c2d9ad

File tree

2 files changed

+72
-16
lines changed

2 files changed

+72
-16
lines changed

release/.w3mplus/doc/index.html

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
<link rel="license" title="CC-BY" href="https://creativecommons.org/licenses/by/4.0/" />
2727

28+
<link rel="toc" title="目次" href="#toc" />
29+
2830
<style type="text/css">
2931
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
3032

@@ -443,14 +445,34 @@
443445
font-weight: bold;
444446
color: #102663;
445447
}
448+
449+
footer {
450+
margin-top: 1em;
451+
border-top: 1px #C0C0C0 solid;
452+
}
453+
454+
footer dl, footer p {
455+
margin: 0.4em 0;
456+
}
457+
458+
footer dt {
459+
display: inline;
460+
margin: 0;
461+
}
462+
463+
footer dd {
464+
display: inline;
465+
margin: 0 0.5em 0 0;
466+
}
446467
</style>
447468
</head>
448469
<body>
449-
<main>
450-
<section id="toc">
451-
<h1>目次</h1>
470+
<main id="main">
471+
<nav>
472+
<section id="toc">
473+
<h1>目次</h1>
452474

453-
<ul>
475+
<ul>
454476
<li><a href="#intro">初めに</a><ul>
455477
<li><a href="#features">機能</a></li>
456478
<li><a href="#contact">連絡</a></li>
@@ -526,8 +548,9 @@ <h1>目次</h1>
526548
<li><a href="#lynx-mode">lynx モード</a></li>
527549
</ul></li>
528550
</ul>
529-
</section>
530-
551+
</section>
552+
</nav>
553+
531554
<section id="intro" class="level1">
532555
<h1>初めに</h1>
533556
<p><a href="https://github.com/qq542vev/w3mplus">w3mplus</a> は、<a href="https://github.com/tats/w3m">w3m</a> 用の無料ブラウザアドオンで、ブラウジングをより効率的に、特にキーボード操作を容易にするために設計されている。<a href="https://github.com/pentadactyl/pentadactyl">Pentadactyl</a>, <a href="https://www.palemoon.org/">Pale Moon</a>, <a href="https://www.vim.org/">Vim</a> に大きく影響され、指の感触はそれらユーザーには馴染みやすい操作性となっている。</p>
@@ -4434,11 +4457,14 @@ <h2>lynx モード</h2>
44344457
<footer>
44354458
<dl>
44364459
<dt>作成日</dt>
4437-
<dd>2022-08-17</dd>
4460+
<dd><time>2022-08-17</time></dd>
44384461

44394462
<dt>更新日</dt>
4440-
<dd>2022-09-01</dd>
4441-
</dl>
4463+
<dd><time>2022-09-01</time></dd>
4464+
4465+
</dl>
4466+
4467+
<p>Copyright (C) 2022-2022 qq542vev. Some rights reserved.</p>
44424468
</footer>
44434469
</body>
44444470
</html>

source/.w3mplus/doc/pandoc_template.html

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
<link rel="license" title="$license.name$" href="$license.url$" />
3838
$endfor$
3939

40+
$if(toc)$
41+
<link rel="toc" title="目次" href="#toc" />
42+
$endif$
43+
4044
<style type="text/css">
4145
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
4246

@@ -455,15 +459,38 @@
455459
font-weight: bold;
456460
color: #102663;
457461
}
462+
463+
footer {
464+
margin-top: 1em;
465+
border-top: 1px #C0C0C0 solid;
466+
}
467+
468+
footer dl, footer p {
469+
margin: 0.4em 0;
470+
}
471+
472+
footer dt {
473+
display: inline;
474+
margin: 0;
475+
}
476+
477+
footer dd {
478+
display: inline;
479+
margin: 0 0.5em 0 0;
480+
}
458481
</style>
459482
</head>
460483
<body>
461-
<main>
462-
<section id="toc">
463-
<h1>目次</h1>
484+
<main id="main">
485+
$if(toc)$
486+
<nav>
487+
<section id="toc">
488+
<h1>目次</h1>
464489

465-
$toc$
466-
</section>
490+
$toc$
491+
</section>
492+
</nav>
493+
$endif$
467494

468495
$body$
469496
</main>
@@ -472,14 +499,17 @@ <h1>目次</h1>
472499
<dl>
473500
$if(created)$
474501
<dt>作成日</dt>
475-
<dd>$created$</dd>
502+
<dd><time>$created$</time></dd>
476503
$endif$
477504

478505
$if(modified)$
479506
<dt>更新日</dt>
480-
<dd>$modified$</dd>
507+
<dd><time>$modified$</time></dd>
481508
$endif$
509+
482510
</dl>
511+
512+
<p>$copyright$</p>
483513
</footer>
484514
</body>
485515
</html>

0 commit comments

Comments
 (0)