Skip to content

Commit

Permalink
Documentation: improve API documentation for CALS table builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent-laporte-pro committed Nov 22, 2019
1 parent 5496aa2 commit 24e27a4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -12,6 +12,11 @@ v0.5.2 (unreleased)

Bug fix release

Fixed
-----

* Documentation: improve API documentation for CALS table builder.


v0.5.1 (2019-11-12)
===================
Expand Down
8 changes: 8 additions & 0 deletions benker/builders/cals.py
Expand Up @@ -184,6 +184,9 @@ def build_table(self, table):
CALS attributes:
- ``@frame`` is built from the "border-top", "border-right", "border-bottom", "border-left" styles.
Default value is "none" (no frame).
- ``@colsep`` is built from the "x-cell-border-right" style.
Default value is "0" (not displayed).
Expand Down Expand Up @@ -396,6 +399,11 @@ def build_row(self, tbody_elem, row):
Values can be "top", "middle", "bottom" (note: "baseline" is not supported).
Default value is "bottom".
- ``@colsep`` row separators (horizontal ruling).
Possible values are "0" or "1".
- ``@rowstyle`` row style (extension).
.. note::
A row can be marked as inserted if "x-ins" is defined in the row styles.
Expand Down

0 comments on commit 24e27a4

Please sign in to comment.