You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The challenge is that the pagetoc is plucked from the actual HTML headers on the rendered HTML page. It's not computed from the DocBook XML directly. That means we have to tunnel the titleabbrev content into the rendered page somehow.
Two possibilities occur to me:
Use a db-titleabbrev attribute on the h1, h2, etc. That's bad because it's wrong to put human-readable content in attribute values. It's also tricky because the headers are generated from templates so you have to be careful about where and when the attribute node is created. Maybe extend the templating system?
Use a <script type='text/html'> element. It's not an attribute, that's good. But what an awful hack.
The text was updated successfully, but these errors were encountered:
The challenge is that the pagetoc is plucked from the actual HTML headers on the rendered HTML page. It's not computed from the DocBook XML directly. That means we have to tunnel the
titleabbrev
content into the rendered page somehow.Two possibilities occur to me:
db-titleabbrev
attribute on theh1
,h2
, etc. That's bad because it's wrong to put human-readable content in attribute values. It's also tricky because the headers are generated from templates so you have to be careful about where and when the attribute node is created. Maybe extend the templating system?<script type='text/html'>
element. It's not an attribute, that's good. But what an awful hack.The text was updated successfully, but these errors were encountered: