After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745298 - g-ir-doc-tool: Implement missing features to bring it closer to parity with gtk-doc
g-ir-doc-tool: Implement missing features to bring it closer to parity with g...
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: g-ir-doctool
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-02-27 18:05 UTC by Mathieu Duponchelle
Modified: 2016-09-01 02:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
docwriter: parse markdown code. (3.09 KB, patch)
2015-02-27 18:05 UTC, Mathieu Duponchelle
rejected Details | Review
docwriter: parse markdown for code blocks. (4.68 KB, patch)
2015-03-02 17:40 UTC, Mathieu Duponchelle
needs-work Details | Review

Description Mathieu Duponchelle 2015-02-27 18:05:17 UTC
This also removes some "parsing" code for paragraphs, which
is better handled by the actual scanner.
Comment 1 Mathieu Duponchelle 2015-02-27 18:05:21 UTC
Created attachment 298110 [details] [review]
docwriter: parse markdown code.
Comment 2 Mathieu Duponchelle 2015-02-27 18:24:19 UTC
I also can parse github-flavored code blocks markdown, for it is now pretty standard, and I'd like deprecating these '|[' ']|' markers, because they're uselessly complicated.
Comment 3 Mathieu Duponchelle 2015-03-02 17:40:10 UTC
Created attachment 298340 [details] [review]
docwriter: parse markdown for code blocks.

This also removes some "parsing" code for paragraphs, which
is better handled by the actual scanner.
Comment 4 Mathieu Duponchelle 2015-03-02 17:41:11 UTC
Review of attachment 298110 [details] [review]:

Obsoleted by the next patch which adds support for languages as specified.
Comment 5 Dieter Verfaillie 2015-03-09 20:16:50 UTC
Review of attachment 298340 [details] [review]:

Fails "make distcheck":
../giscanner/docwriter.py:37:9: E126 continuation line over-indented for hanging indent
../giscanner/docwriter.py:56:9: E126 continuation line over-indented for hanging indent
../giscanner/docwriter.py:58:1: E302 expected 2 blank lines, found 1

Am a bit short on time so didn't look further than that yet
Comment 6 Mathieu Duponchelle 2015-03-10 15:11:06 UTC
(In reply to Dieter Verfaillie from comment #5)
> Review of attachment 298340 [details] [review] [review]:
> 
> Fails "make distcheck":
> ../giscanner/docwriter.py:37:9: E126 continuation line over-indented for
> hanging indent
> ../giscanner/docwriter.py:56:9: E126 continuation line over-indented for
> hanging indent
> ../giscanner/docwriter.py:58:1: E302 expected 2 blank lines, found 1
> 
> Am a bit short on time so didn't look further than that yet

This kind of style checks shouldn't be made at make check time but at commit time, I have just copied a commit-hook from another project in gobject-introspection and removed the old code for these checks, and also fixed all the pep8 issues in the commits on my branch, which is @ https://github.com/MathieuDuponchelle/gobject-introspection/commits/markdown_parsing

I'll requalify the bug to a tracker bug for all the improvements I make in g-ir-doc-tool, please provide reviews in https://github.com/MathieuDuponchelle/gobject-introspection/pull/1
Comment 7 Mathieu Duponchelle 2015-05-20 10:23:40 UTC
This branch should really make it in, can we get a maintainer involved here ? :)
Comment 8 Colin Walters 2015-05-20 15:57:11 UTC
I only scanned this branch, but it looks reasonably written and I'd be OK to merge it.
Comment 9 Mathieu Duponchelle 2016-09-01 02:17:37 UTC
Closing, this is obsolete.