<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<blockquote dir="auto">
<p><a href="https://gitlab.com/ametzler" data-user="301779" data-reference-type="user" data-container="body" data-placement="bottom" class="gfm gfm-project_member" title="Andreas Metzler">@ametzler</a> Yeah, exchanging guile for haskell. ;-)</p>
</blockquote>
<p dir="auto">Do you know of alternatives ? When adding/changing command line options within the C sources, the man pages and texinfo file should automatically be updated.</p>
<p dir="auto">This MR does it the following way:</p>
<ul dir="auto">
<li>build the tool</li>
<li>execute the tool with a special option</li>
<li>inject the output from the tool into a markdown template</li>
<li>use pandoc to generate manpage and texinfo from the resulting markdown file</li>
</ul>
<p dir="auto">The workflow allows the developer to just work on the C code (adding an array entry and doing the implementation). No manual editing of texinfo, no out-of-sync of implementation and documentation ever again.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/775#note_176973731">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/e6a323b427ca1197441c5cee2a3a4a38/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/775#note_176973731"}}</script>
</p>
</div>
</body>
</html>