<p>It would be useful to make it easier to view the effects of changes to the Doxygen comments and API code on GIR output.</p>

<p>I was thinking adding a rule to <code>doc/Makefile.am</code> something conceptually like this, but with correct <code>g-ir-scanner</code> arguments as mentioned in <a href="https://github.com/geany/geany/pull/1094" class="issue-link js-issue-link" data-url="https://github.com/geany/geany/issues/1094" data-id="162550055" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#1094</a> and correct automake usage:</p>

<div class="highlight highlight-source-diff"><pre><span class="pl-c1">diff --git a/doc/Makefile.am b/doc/Makefile.am</span>
index de5caaf..717fd6d 100644
<span class="pl-md">--- a/doc/Makefile.am</span>
<span class="pl-mi1">+++ b/doc/Makefile.am</span>
<span class="pl-mdr">@@ -148,6 +148,12 @@</span> CLEAN_LOCAL_TARGETS += clean-gtkdoc-header-local
 clean-gtkdoc-header-local:
        -rm -rf xml/ Doxyfile-gi Doxyfile-gi.stamp geany-gtkdoc.h geany-sciwrappers-gtkdoc.h

<span class="pl-mi1">+# for testing results of `g-ir-scanner' during development</span>
<span class="pl-mi1">+geany-api.gir: geany-gtkdoc.h geany-sciwrappers-gtkdoc.h</span>
<span class="pl-mi1">+       $(AM_V_GEN)g-ir-scanner g-ir-scanner --pkg=$(top_builddir)/geany.pc \</span>
<span class="pl-mi1">+               --library=geany --accept-unprefixed --namespace=Geany --nsversion=1.0 \</span>
<span class="pl-mi1">+               --warn-all -o $@ geany-gtkdoc.h</span>
<span class="pl-mi1">+</span>
 endif</pre></div>

<p>Which could be used for testing purposes like:</p>

<div class="highlight highlight-source-shell"><pre>$ make -C doc geany-api.gir</pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1104">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ4T3JFDYMuOlP2wBdAFBDa3CchxRks5qRDPbgaJpZM4JCm1q">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ01Rbja7L-KmBeOCRyAA_nwbIUBiks5qRDPbgaJpZM4JCm1q.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1104"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>