Serd subproject with meson
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

87 lines
2.0 KiB

# Project information
project = "Serd"
copyright = "2020, David Robillard"
author = "David Robillard"
release = "@SERD_VERSION@"
# General configuration
exclude_patterns = ["xml"]
language = "en"
nitpicky = True
pygments_style = "friendly"
# Ignore everything opaque or external for nitpicky mode
_opaque = [
"FILE",
"SerdByteSinkImpl",
"SerdByteSourceImpl",
"SerdCursorImpl",
"SerdEnvImpl",
"SerdIterImpl",
"SerdModelImpl",
"SerdNodeImpl",
"SerdNodesImpl",
"SerdRangeImpl",
"SerdReaderImpl",
"SerdSinkImpl",
"SerdStatementImpl",
"SerdWorldImpl",
"SerdWriterImpl",
"int64_t",
"size_t",
"uint32_t",
"uint8_t",
"uintptr_t",
"va_list",
]
nitpick_ignore = list(map(lambda x: ("c:identifier", x), _opaque))
# HTML output
html_copy_source = False
html_short_title = "Serd"
html_static_path = ["../_static"]
html_theme = "sphinx_lv2_theme"
if tags.has('singlehtml'):
html_sidebars = {
"**": [
"globaltoc.html",
]
}
html_theme_options = {
"body_max_width": "48em",
"body_min_width": "48em",
"description": "A lightweight library for working with RDF",
"show_footer_version": True,
"show_logo_version": False,
"logo": "serd.svg",
"logo_name": True,
"logo_width": "8em",
"nosidebar": False,
"page_width": "80em",
"sidebar_width": "18em",
"globaltoc_maxdepth": 3,
"globaltoc_collapse": False,
}
else:
html_theme_options = {
"body_max_width": "60em",
"body_min_width": "40em",
"description": "A lightweight library for working with RDF",
"show_footer_version": True,
"show_logo_version": False,
"logo": "serd.svg",
"logo_name": True,
"logo_width": "8em",
"nosidebar": True,
"page_width": "60em",
"sidebar_width": "14em",
"globaltoc_maxdepth": 1,
"globaltoc_collapse": True,
}