Author: sveinung Date: Fri Oct 21 12:35:30 2016 New Revision: 34198 URL: http://svn.gna.org/viewcvs/freeciv?rev=34198&view=rev Log: freeciv-manual: mark government help text.
Dividing the generated government type help items into sub sections makes it more machine readable. See patch #7853 Modified: trunk/tools/civmanual.c Modified: trunk/tools/civmanual.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/tools/civmanual.c?rev=34198&r1=34197&r2=34198&view=diff ============================================================================== --- trunk/tools/civmanual.c (original) +++ trunk/tools/civmanual.c Fri Oct 21 12:35:30 2016 @@ -555,8 +555,10 @@ fprintf(doc, ITEM_BEGIN, "gov", pgov->item_number); fprintf(doc, "%s%s%s\n\n", SECTION_TITLE_BEGIN, government_name_translation(pgov), SECTION_TITLE_END); + fprintf(doc, SUBITEM_BEGIN, "helptext"); helptext_government(buf, sizeof(buf), NULL, NULL, pgov); fprintf(doc, "%s\n\n", buf); + fprintf(doc, SUBITEM_END); fprintf(doc, ITEM_END); } governments_iterate_end; break; _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits