[gtk-doc] mkhtml2: add tag converter for inlinemediaobject
- From: Stefan Sauer <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] mkhtml2: add tag converter for inlinemediaobject
- Date: Sun, 25 Mar 2018 18:30:14 +0000 (UTC)
commit 5c8d7e3b90d7a83bf407f00358f321b0c4ce0a9d
Author: Stefan Sauer <ensonic users sf net>
Date: Sun Mar 25 20:29:44 2018 +0200
mkhtml2: add tag converter for inlinemediaobject
gtkdoc/mkhtml2.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtkdoc/mkhtml2.py b/gtkdoc/mkhtml2.py
index b609659..309cfff 100644
--- a/gtkdoc/mkhtml2.py
+++ b/gtkdoc/mkhtml2.py
@@ -34,6 +34,8 @@ TODO:
- more tag converters:
- footnote: maybe track those in ctx and write them out at the end of the chunk
- acronym: need to resolve title from glossary
+ - inside 'inlinemediaobject'/'mediaobject' a 'textobject' becomes the 'alt'
+ attr on the <img> tag of the 'imageobject'
- check each docbook tag if it can contain #PCDATA, if not don't check for
xml.text
@@ -647,6 +649,7 @@ convert_tags = {
'indexterm': convert_skip,
'informalexample': convert_div,
'informaltable': convert_informaltable,
+ 'inlinemediaobject': convert_span,
'itemizedlist': convert_itemizedlist,
'legalnotice': convert_para_like,
'link': convert_link,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]