From a90b6938ddf2104f53d682d9c8388c6c173e98f0 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 10 Dec 2024 11:24:08 -0500
Subject: [PATCH] docs: enable Quick Reference wiki page
---
.wikiheaders-options | 4 ++++
include/SDL3_ttf/SDL_ttf.h | 10 ++++++----
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/.wikiheaders-options b/.wikiheaders-options
index e0ed4925..0cfb242b 100644
--- a/.wikiheaders-options
+++ b/.wikiheaders-options
@@ -16,3 +16,7 @@ warn_about_missing = 0
wikipreamble = (This function is part of SDL_ttf, a separate library from SDL.)
wikiheaderfiletext = Defined in [<SDL3_ttf/%fname%>](https://github.com/libsdl-org/SDL_ttf/blob/main/include/SDL3_ttf/%fname%)
manpageheaderfiletext = Defined in SDL3_ttf/%fname%
+quickrefenabled = 1
+quickreftitle = SDL3_ttf API Quick Reference
+quickrefurl = https://libsdl.org/
+quickrefdesc = The latest version of this document can be found at https://wiki.libsdl.org/SDL3_ttf/QuickReference
diff --git a/include/SDL3_ttf/SDL_ttf.h b/include/SDL3_ttf/SDL_ttf.h
index 1ef0d8f5..aec6cf5a 100644
--- a/include/SDL3_ttf/SDL_ttf.h
+++ b/include/SDL3_ttf/SDL_ttf.h
@@ -19,15 +19,17 @@
3. This notice may not be removed or altered from any source distribution.
*/
+/* WIKI CATEGORY: SDLTTF */
/**
- * \file SDL_ttf.h
+ * # CategorySDLTTF
*
- * Header file for SDL_ttf library
+ * Header file for SDL_ttf library
*
- * This library is a wrapper around the excellent FreeType 2.0 library,
- * available at: https://www.freetype.org/
+ * This library is a wrapper around the excellent FreeType 2.0 library,
+ * available at: https://www.freetype.org/
*/
+
#ifndef SDL_TTF_H_
#define SDL_TTF_H_