diff --git a/doc/docfx/default_efl/partials/class.header.tmpl.partial b/doc/docfx/default_efl/partials/class.header.tmpl.partial index 1a445ab3ca..3bdf956fc1 100644 --- a/doc/docfx/default_efl/partials/class.header.tmpl.partial +++ b/doc/docfx/default_efl/partials/class.header.tmpl.partial @@ -12,7 +12,7 @@ {{/inheritance}}
{{fullName.0.value}}
{{#derivedClasses}} -
{{{specName.0.value}}}
+
{{/derivedClasses}} diff --git a/doc/docfx/gendoc.sh b/doc/docfx/gendoc.sh index 99da2d9f18..48d781cd81 100755 --- a/doc/docfx/gendoc.sh +++ b/doc/docfx/gendoc.sh @@ -22,5 +22,19 @@ for f in `ls api/*.yml`; do sed -e 's/\( /tmp/efl_docfx_gendoc + sed -i "/^ [^-]/,$ d" /tmp/efl_docfx_gendoc + sed -i "/^[^ ]/,$ d" /tmp/efl_docfx_gendoc + while read dash class + do + sed -i "s/^references:$/references:\n- uid: $class\n fullName: $class/g" $f + done <<< "$(cat /tmp/efl_docfx_gendoc)" +done; +rm -rf /tmp/efl_docfx_gendoc + # DocFX Step 2: Generate HTML files mono bin/docfx.exe build docfx.json && echo "Docs ready in the _site folder!"