Skip to content
Permalink
Browse files

update to mandoc 1.14.4-1

related to #107
  • Loading branch information...
stapelberg committed Aug 9, 2018
1 parent cf71a68 commit 210e94b3cf101d62b74211d0866f6308c6bee4db
Showing with 212 additions and 39 deletions.
  1. +5 −4 .travis.yml
  2. +172 −0 assets/style.css
  3. +1 −1 internal/bundled/GENERATED_bundled.go
  4. +28 −28 testdata/i3lock.html
  5. +6 −6 testdata/refs.html
@@ -12,8 +12,12 @@ addons:
apt:
packages:
- debian-archive-keyring
- apt-transport-https

script:
- /usr/lib/apt/apt-helper download-file https://people.debian.org/~stapelberg/mandoc-static/mandoc mandoc SHA256:91d1f1a6120d0fcccd7590645dcb852ad83a7ad59523e6fd026a64b1c913a102
- /usr/lib/apt/apt-helper download-file https://people.debian.org/~stapelberg/mandoc-static/mandocd mandocd SHA256:9c30e64b5721ae223e18449d4c82b30919cf11e423de160beff4724cefcdd02e
- chmod +x mandoc mandocd
# Check whether files are syntactically correct.
- "gofmt -l $(find . -name '*.go' | tr '\\n' ' ') >/dev/null"
# Check whether files were not gofmt'ed, but only with new enough go versions
@@ -23,7 +27,4 @@ script:
# go ≥ 1.3, but some of these (e.g. unreached code) is required for
# compilation with go1.0.2.
- go get github.com/Debian/debiman/...
# TODO: once mandoc trickles into the Ubuntu version which travis uses, get it whitelisted and use the apt addon to install it.
- wget http://snapshot.debian.org/archive/debian/20170918T214131Z/pool/main/m/mdocml/mandoc_1.14.3-3_amd64.deb
- dpkg -x mandoc_1.14.3-3_amd64.deb .
- PATH=$PWD/usr/bin:$PATH go test github.com/Debian/debiman/...
- PATH=$PWD:$PATH go test github.com/Debian/debiman/...
@@ -488,3 +488,175 @@ h2 {
margin: 0;
}
}

/* from mandoc.css */
/* Displays and lists. */

.Bd { }
.Bd-indent { margin-left: 3.8em; }

.Bl-bullet { list-style-type: disc;
padding-left: 1em; }
.Bl-bullet > li { }
.Bl-dash { list-style-type: none;
padding-left: 0em; }
.Bl-dash > li:before {
content: "\2014 "; }
.Bl-item { list-style-type: none;
padding-left: 0em; }
.Bl-item > li { }
.Bl-compact > li {
margin-top: 0em; }

.Bl-enum { padding-left: 2em; }
.Bl-enum > li { }
.Bl-compact > li {
margin-top: 0em; }

.Bl-diag { }
.Bl-diag > dt {
font-style: normal;
font-weight: bold; }
.Bl-diag > dd {
margin-left: 0em; }
.Bl-hang { }
.Bl-hang > dt { }
.Bl-hang > dd {
margin-left: 5.5em; }
.Bl-inset { }
.Bl-inset > dt { }
.Bl-inset > dd {
margin-left: 0em; }
.Bl-ohang { }
.Bl-ohang > dt { }
.Bl-ohang > dd {
margin-left: 0em; }
.Bl-tag { margin-left: 5.5em; }
.Bl-tag > dt {
float: left;
margin-top: 0em;
margin-left: -5.5em;
padding-right: 1.2em;
vertical-align: top; }
.Bl-tag > dd {
clear: right;
width: 100%;
margin-top: 0em;
margin-left: 0em;
vertical-align: top;
overflow: auto; }
.Bl-compact > dt {
margin-top: 0em; }

.Bl-column { }
.Bl-column > tbody > tr { }
.Bl-column > tbody > tr > td {
margin-top: 1em; }
.Bl-compact > tbody > tr > td {
margin-top: 0em; }

.Rs { font-style: normal;
font-weight: normal; }
.RsA { }
.RsB { font-style: italic;
font-weight: normal; }
.RsC { }
.RsD { }
.RsI { font-style: italic;
font-weight: normal; }
.RsJ { font-style: italic;
font-weight: normal; }
.RsN { }
.RsO { }
.RsP { }
.RsQ { }
.RsR { }
.RsT { text-decoration: underline; }
.RsU { }
.RsV { }

.eqn { }
.tbl { }

.HP { margin-left: 3.8em;
text-indent: -3.8em; }

/* Semantic markup for command line utilities. */

table.Nm { }
code.Nm { font-style: normal;
font-weight: bold;
font-family: inherit; }
.Fl { font-style: normal;
font-weight: bold;
font-family: inherit; }
.Cm { font-style: normal;
font-weight: bold;
font-family: inherit; }
.Ar { font-style: italic;
font-weight: normal; }
.Op { display: inline; }
.Ic { font-style: normal;
font-weight: bold;
font-family: inherit; }
.Ev { font-style: normal;
font-weight: normal;
font-family: monospace; }
.Pa { font-style: italic;
font-weight: normal; }

/* Semantic markup for function libraries. */

.Lb { }
code.In { font-style: normal;
font-weight: bold;
font-family: inherit; }
a.In { }
.Fd { font-style: normal;
font-weight: bold;
font-family: inherit; }
.Ft { font-style: italic;
font-weight: normal; }
.Fn { font-style: normal;
font-weight: bold;
font-family: inherit; }
.Fa { font-style: italic;
font-weight: normal; }
.Vt { font-style: italic;
font-weight: normal; }
.Va { font-style: italic;
font-weight: normal; }
.Dv { font-style: normal;
font-weight: normal;
font-family: monospace; }
.Er { font-style: normal;
font-weight: normal;
font-family: monospace; }

/* Various semantic markup. */

.An { }
.Lk { }
.Mt { }
.Cd { font-style: normal;
font-weight: bold;
font-family: inherit; }
.Ad { font-style: italic;
font-weight: normal; }
.Ms { font-style: normal;
font-weight: bold; }
.St { }
.Ux { }

/* Physical markup. */

.Bf { display: inline; }
.No { font-style: normal;
font-weight: normal; }
.Em { font-style: italic;
font-weight: normal; }
.Sy { font-style: normal;
font-weight: bold; }
.Li { font-style: normal;
font-weight: normal;
font-family: monospace; }

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -7,65 +7,65 @@
</tr>
</tbody></table>
<div class="manual-text">
<div class="Pp"></div>
<div class="Pp"></div>
<h1 class="Sh" id="NAME">NAME<a class="anchor" href="#NAME">¶</a></h1>
i3lock - improved screen locker
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
<h1 class="Sh" id="SYNOPSIS">SYNOPSIS<a class="anchor" href="#SYNOPSIS">¶</a></h1>
<b>i3lock</b> [-v] [-c <i>color</i>]
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
<h1 class="Sh" id="DESCRIPTION">DESCRIPTION<a class="anchor" href="#DESCRIPTION">¶</a></h1>
<b>i3lock</b> is a simple screen locker like slock. After starting it, you will
see a white screen (you can configure the color/an image). You can return to
your screen by entering your password.
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
<h1 class="Sh" id="IMPROVEMENTS">IMPROVEMENTS<a class="anchor" href="#IMPROVEMENTS">¶</a></h1>
<dl class="Bl-tag">
<dt class="It-tag">•</dt>
<dd class="It-tag">i3lock forks, so you can combine it with an alias to
suspend to RAM (run &#34;i3lock &amp;&amp; echo mem &gt;
/sys/power/state&#34; to get a locked screen after waking up your
computer from suspend to RAM)</dd>
<dt>•</dt>
<dd>i3lock forks, so you can combine it with an alias to suspend to RAM (run
&#34;i3lock &amp;&amp; echo mem &gt; /sys/power/state&#34; to get a
locked screen after waking up your computer from suspend to RAM)</dd>
</dl>
<dl class="Bl-tag">
<dt class="It-tag">•</dt>
<dd class="It-tag">You can specify either a background color or a PNG image
which will be displayed while your screen is locked.</dd>
<dt>•</dt>
<dd>You can specify either a background color or a PNG image which will be
displayed while your screen is locked.</dd>
</dl>
<dl class="Bl-tag">
<dt class="It-tag">•</dt>
<dd class="It-tag">You can specify whether i3lock should bell upon a wrong
password.</dd>
<dt>•</dt>
<dd>You can specify whether i3lock should bell upon a wrong password.</dd>
</dl>
<dl class="Bl-tag">
<dt class="It-tag">•</dt>
<dd class="It-tag">i3lock uses PAM and therefore is compatible with LDAP, etc.
<div style="height: 1.00em;"</div>
<div style="height: 1.00em;"</div>
<dt>•</dt>
<dd>i3lock uses PAM and therefore is compatible with LDAP, etc.
<div class="Pp"></div>
<div class="Pp"></div>
</dd>
</dl>
<h1 class="Sh" id="OPTIONS">OPTIONS<a class="anchor" href="#OPTIONS">¶</a></h1>
<dl class="Bl-tag">
<dt class="It-tag"><b>-v, --version</b></dt>
<dd class="It-tag">Display the version of your <b>i3lock</b>
<div style="height: 1.00em;"</div>
<dt><b>-v, --version</b></dt>
<dd>Display the version of your <b>i3lock</b>
<div class="Pp"></div>
</dd>
</dl>
<dl class="Bl-tag">
<dt class="It-tag"><b>-c </b><i>rrggbb</i><b>, <b>--color=</b></b><i><b>rrggbb</b></i></dt>
<dd class="It-tag">Turn the screen into the given color instead of white.
Color must be given in 3-byte format: rrggbb (i.e. ff0000 is red).
<div style="height: 1.00em;"</div>
<dt><b>-c </b><i>rrggbb</i><b>, <b>--color=</b></b><i><b>rrggbb</b></i></dt>
<dd>Turn the screen into the given color instead of white. Color must be given
in 3-byte format: rrggbb (i.e. ff0000 is red).
<div class="Pp"></div>
</dd>
</dl>
<h1 class="Sh" id="DPMS">DPMS<a class="anchor" href="#DPMS">¶</a></h1>
The -d (--dpms) option.
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
<pre> verbatim
</pre>
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
<h1 class="Sh" id="SEE_ALSO">SEE ALSO<a class="anchor" href="#SEE_ALSO">¶</a></h1>
<i>xautolock(1)</i> - use i3lock as your screen saver
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
<h1 class="Sh" id="AUTHOR">AUTHOR<a class="anchor" href="#AUTHOR">¶</a></h1>
Michael Stapelberg &lt;michael+i3lock@example.invalid&gt;</div>
<table class="foot">
@@ -9,19 +9,19 @@
<div class="manual-text">
<h1 class="Sh" id="NAME">NAME<a class="anchor" href="#NAME">¶</a></h1>
refs - test file
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
<h1 class="Sh" id="SEE_ALSO">SEE ALSO<a class="anchor" href="#SEE_ALSO">¶</a></h1>
<a class="Lk" href="http://w3m.sourceforge.net">project website</a>
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
More details can be found in the <a href="testing/i3lock/i3lock.1.C">i3lock(1)</a> or refs(1) man pages.
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
References to <a href="testing/i3-wm/i3-msg.1.C">i3-msg(1)</a> might cause trouble when matching on word boundaries.
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
References to <a href="testing/systemd/systemd.service.5.C">systemd.service(5)</a> contain a dot.
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
URLs in plain text, like <a href="http://debian.org">http://debian.org</a> are also recognized and converted.
URLs in brackets, like &lt;<a href="http://debian.org/">http://debian.org/</a>&gt; are correctly recognized.
<div style="height: 1.00em;"</div>
<div class="Pp"></div>
Marked up URLs like <i><a href="http://gnome.org">http://gnome.org</a></i> are also converted.</div>
<table class="foot">
<tbody><tr>

0 comments on commit 210e94b

Please sign in to comment.
You can’t perform that action at this time.