igraph.org icon indicating copy to clipboard operation
igraph.org copied to clipboard

Spurious spaces in container docs

Open szhorvat opened this issue 6 years ago • 4 comments

Somehow we are ending up with spurious spaces in the container docs (e.g. vector_ copy instead of vector_copy).

image

szhorvat avatar Jan 26 '20 17:01 szhorvat

Probably a bug in doxrox.py that surfaced after the code reformatting done by Astyle (Astyle inserted a space after commas in macros). I'll look into this.

ntamas avatar Jan 26 '20 18:01 ntamas

Fixed in https://github.com/igraph/igraph/commit/39fc54e4f637ba9f7d7193147ac4e38202ec3f40

ntamas avatar Jan 26 '20 19:01 ntamas

Hmmm, still not okay, now there's extra whitespace after the function name. I'll take care of this as well.

ntamas avatar Jan 26 '20 19:01 ntamas

Fixed the problem with the extra whitespace after the function name, but there are still some minor issues; basically, the function declaration in the documentation tries to preserve the formatting of the declaration from the original .pmt file - the problem is that we are replacing the macros from the .pmt file and this messes up the alignment of the function headers. We could try reformatting the .pmt files manually, but I don't think this is a priority now; we can do it any time, even after the release.

ntamas avatar Jan 26 '20 19:01 ntamas