* fix(serializer): the HTML serializer should append nested lists to list items
For a valid HTML document, the serializer should ensure that sub-list items are indented
under their respective main list items.
Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
* test: address several warning messages
Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
---------
Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
* insert_* methods and range manipulation methods
* DCO Remediation Commit for Ryan Fernandes <ryan@fernandes.us>
I, Ryan Fernandes <ryan@fernandes.us>, hereby add my Signed-off-by to this commit: cc0c4b283f
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
* insert_node_items method with recursive _append_item_copies helper for cross-document manipulation
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
* add_node_items complement to inser_node_items, refactored extract_items_range to be more robust, added insert/add_document
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
* Extended table data editing functionality
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
* Added new document manipulation tests
* Extra gt files
* Refactor for reusable code - table methods
* Private methods for more concise insert_* methods
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
* Docstring changes
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
* ValueError for failed insertions
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
* DCO Remediation Commit for Ryan Fernandes <ryan@fernandes.us>
I, Ryan Fernandes <ryan@fernandes.us>, hereby add my Signed-off-by to this commit: 01e8b9cb03
I, Ryan Fernandes <ryan@fernandes.us>, hereby add my Signed-off-by to this commit: 8c016d9d32
I, Ryan Fernandes <ryan@fernandes.us>, hereby add my Signed-off-by to this commit: 308900270a
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
---------
Signed-off-by: Ryan Fernandes <ryan@fernandes.us>
* feat: add improved table serializer and visualizer
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* visualizer for rows and columns
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
---------
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* feat: visualizing the tables
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* Added test for table visualizer
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* cleaned up code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated with content-layer
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
---------
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* Add chart tabular data serialization to HTML serializer
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
* Fixing pre-commit issues
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
* Fixed table serialization for tabular chart data
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
* test for loading doctags with chart data
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
* Improved loading doctags test with chart example, added tests for chart serialization into html and md
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
---------
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
Co-authored-by: Maksym Lysak <mly@zurich.ibm.com>
* iunitial attempt at HTML serializer
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* first version, to be tested thoroughly
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* added the new test
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* rewrote carefully the export-to-html into new framework
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* fixed the inline list-items
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* added the inline code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* migrated the table html code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the picture HTML serializer
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the html for Form and KeyValue
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* first version of KeyValue serialisation
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* fixed the key-value and form-region and added the GraphData serializer
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* need to do some mypy work now
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* passed the mypy
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* added the get_excluded_refs function to obtain proper serialization
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* enabled the captions
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* removed empty lists
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* added initial split view and customised styles
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* cleaned up, now waiting for page-indices propagationg
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the styles and parameters with split_page
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* propagated the parameter split_page_view
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* first fully working version
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* removed the prints
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* fixed the tests
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* fixed the tests
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* fixed the tests for html export
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* removed dead code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the test output
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* fixed the tests
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* reformatted the code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* rename parameter tag to class_name
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* added serializers to table and picture
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* removed dead code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* various HTML serialization improvements (#242)
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
* added enum for different output styles
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
---------
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
Co-authored-by: Panos Vagenas <pva@zurich.ibm.com>
* added intial delete and merge
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* work-in-progress for the delete option
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* working on the delete_document_item
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* reformatted code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* verified the model-validation
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* reformatted the code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* fixed the delete item
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* reproducible error in tests
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* before rebase with main
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the tests
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the tests
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the tests (2) and reformatted
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the iterate_items to reduce code duplication
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* mapped path method to _split_ref_to_path
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* made get_parent_ref private method
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated with new public functions
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* reformatted code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* working on the comments of the PR
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* updated the test
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* factored out the internal tests
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* refactored the code and updated the tests
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
* update return types, extend unit test
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
* add replace_item test
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
* revert unnecessary comments
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
---------
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
Co-authored-by: Panos Vagenas <pva@zurich.ibm.com>