Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for rowspan/colspan to tables #642

Merged
merged 3 commits into from
Mar 29, 2021

Commits on Mar 29, 2021

  1. Fix parser for entry align/rowspan/colspan

    Expand parser to support parsing extra "entry" parameters from recent
    Doxygen versions, namely "align", "rowspan" and "colspan". This should
    allow the renderer to correctly render tables once updated.
    
    Signed-off-by: Fabio Utzig <[email protected]>
    utzig committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    78d2b10 View commit details
    Browse the repository at this point in the history
  2. Add docutils table properties for rowspan/colspan

    Signed-off-by: Fabio Utzig <[email protected]>
    utzig committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    3e6d7bc View commit details
    Browse the repository at this point in the history
  3. Add table parsing fixup to merge row types

    "rowspan" is unable to span across different "thead", and "tbody"
    elements which make it not useful with the standard row parsing
    routines. This commit adds a final step when parsing a table to join all
    "thead" and "tbody" rows into just two set of elements.
    
    This still has the limitation that a rowspan from a header won't
    span to body elements, but this is not the most usual situation.
    
    Signed-off-by: Fabio Utzig <[email protected]>
    utzig committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    ddfe380 View commit details
    Browse the repository at this point in the history