[igt-dev] [PATCH i-g-t v2 2/4] CONTRIBUTING: Add reference for GTKDoc
Tales Aparecida
tales.aparecida at gmail.com
Fri Aug 12 16:18:24 UTC 2022
Add reference links about code documentation.
Signed-off-by: Tales Aparecida <tales.aparecida at gmail.com>
---
Notes:
v1 -> v2: Moved gtkdoc link above igt-require to match occurrence in text
CONTRIBUTING.md | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6d1294ad..1c50063a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -13,6 +13,12 @@ The Code
- The code should follow kernel coding style:
https://www.kernel.org/doc/html/latest/process/coding-style.html
+- The in-code documentation should follow GtkDoc specifications:
+ https://developer-old.gnome.org/gtk-doc-manual/stable/documenting.html.
+ For an updated version, you can also download the GtkDoc's
+ [source code][gtkdoc-repo] and open its manual with `yelp` directly by typing
+ in a terminal: `yelp file:///absolute/path/to/gtk-doc/help/manual/C/index.docbook`
+
- Testcases (subtests) have to use minus signs (-) as a word separator.
The generated documentation contains glossary of commonly used terms.
@@ -30,6 +36,7 @@ The Code
provided by the igt library. The semantic patch lib/igt.cocci can help with
more automatic conversions.
+[gtkdoc-repo]: https://gitlab.gnome.org/GNOME/gtk-doc
[igt-describe]: https://drm.pages.freedesktop.org/igt-gpu-tools/igt-gpu-tools-Core.html#igt-describe
--
2.37.1
More information about the igt-dev
mailing list