# Doxyfile 1.13.2

DOXYFILE_ENCODING      = UTF-8
PROJECT_NAME           = "libghostty-vt"
# "tip" is right for the docs site and local builds. The release workflow
# overrides it with the real version by appending to this file on stdin.
PROJECT_NUMBER         = tip
PROJECT_LOGO           = images/gnome/64.png
# The group definitions come first because they set the order of the API
# Reference. See dist/doxygen/pages/groups.dox.
# Pages with no parent appear in the sidebar in input order, which is by
# file name inside a directory. Getting Started and Guides come first by name
# here.
INPUT                  = dist/doxygen/pages/getting-started.md \
                         dist/doxygen/pages/guides.md \
                         dist/doxygen/pages \
                         include/ghostty
INPUT_ENCODING         = UTF-8
RECURSIVE              = YES
FILE_PATTERNS          = *.h \
                         *.dox \
                         *.md
EXAMPLE_PATH           = example
EXAMPLE_RECURSIVE      = YES
EXAMPLE_PATTERNS       = *
SOURCE_BROWSER         = YES
INLINE_SOURCES         = NO
REFERENCES_RELATION    = YES
REFERENCED_BY_RELATION = YES

#---------------------------------------------------------------------------
# Preprocessor
#---------------------------------------------------------------------------

# Enable preprocessing to handle #ifdef guards
ENABLE_PREPROCESSING   = YES
MACRO_EXPANSION        = YES
EXPAND_ONLY_PREDEF     = YES
PREDEFINED             = __wasm__

#---------------------------------------------------------------------------
# C API Optimization
#---------------------------------------------------------------------------

# Optimize output for C API documentation
OPTIMIZE_OUTPUT_FOR_C  = YES
TYPEDEF_HIDES_STRUCT   = YES
HIDE_SCOPE_NAMES       = YES

# Clean path names
FULL_PATH_NAMES        = NO
STRIP_FROM_PATH        = .
STRIP_FROM_INC_PATH    = include

# Hide undocumented and internal APIs
HIDE_UNDOC_MEMBERS     = YES
HIDE_UNDOC_CLASSES     = YES
EXTRACT_ALL            = NO
INTERNAL_DOCS          = NO
EXTRACT_PRIVATE        = NO
EXTRACT_LOCAL_CLASSES  = NO

#---------------------------------------------------------------------------
# HTML Output
#---------------------------------------------------------------------------

GENERATE_HTML          = YES
HTML_OUTPUT            = zig-out/share/ghostty/doc/libghostty
HTML_EXTRA_STYLESHEET  = dist/doxygen/ghostty.css
HTML_EXTRA_FILES       = dist/doxygen/favicon.png \
                         dist/doxygen/mobile-nav.js \
                         src/terminal/c/types.schema.json
HTML_COLORSTYLE        = DARK
HTML_CODE_FOLDING      = NO
HTML_HEADER            = dist/doxygen/header.html
LAYOUT_FILE            = DoxygenLayout.xml
GENERATE_TREEVIEW      = YES
HTML_DYNAMIC_SECTIONS  = YES
SEARCHENGINE           = YES
ALPHABETICAL_INDEX     = YES
DISABLE_INDEX          = NO
FULL_SIDEBAR           = NO

#---------------------------------------------------------------------------
# Graphs and Diagrams
#---------------------------------------------------------------------------

HAVE_DOT               = NO

#---------------------------------------------------------------------------
# Other Output
#---------------------------------------------------------------------------

GENERATE_LATEX         = NO
GENERATE_MAN           = NO
