Commit Graph

7 Commits

Author SHA1 Message Date
Niels De Graef 92e80d12e8 docs: Migrate from gtk-doc to gi-docgen
gtk-doc has been slowly dying for the past few years; with gi-docgen we
have a nice successor.

This also makes sure the C documentation also uses the GIR file, which
in turn means faster build times (since all the C code doesn't have to
be parsed and recompiled again), and has a clear dependency graph.

See the [gi-docgen tutorial] for more info on how the system works.

[gi-docgen tutorial]: https://gnome.pages.gitlab.gnome.org/gi-docgen/tutorial.html
2021-12-27 10:47:34 +01:00
Jehan 8e5edac390 Coding Style: add necessity to keep POTFILES.in updated. 2021-11-30 17:42:17 +01:00
Jehan 52f2ea5b34 Coding Style: add some docs about natural language text in GIMP.
This includes info on how to use gettext API, but also on using
gender-neutral forms (cf. a recent commit) or other base rules for
decision making.
2021-11-30 15:17:06 +01:00
Jehan dc36b45f88 CODING_STYLE: update.
- Organize the rules in sections and subsections.
- Add some text about the linear git history (this can be seen as coding
  style after all).
- Add comment coding style and non-public API documentation sections.
- A bit of section reordering.
- Move the configuration files info from HACKING into CODING_STYLE.md,
  and make a new "Helping tools" section.
2021-10-31 01:31:47 +02:00
Jehan 46e00a11c9 CODING_STYLE: update intro and use [TOC] markdown macro.
- Improve a bit the intro by adding a link to GNU's coding style. Also
  coding style is not a matter of taste, this is the whole point which
  is that once specified, it doesn't matter anymore if we prefer one
  style or another.
- Replace the table of content with [TOC] macro. No need to maintain
  this manually (it will only break with time).
- "Line width" section was wrongly indented.
2021-10-30 20:16:22 +02:00
Jehan 5ed68ab45b CODING_STYLE: add a "Commit messages" section.
Because it is important to have good commit messages for future
investigations of code.
2021-10-20 12:51:31 +02:00
Stanislav Grinkov 1373bec64a Add separate CODING_STYLE file 2021-08-02 11:16:34 +00:00