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 helper class for creating RSTFigure #77

Merged
merged 6 commits into from
Aug 24, 2022
Merged

Add helper class for creating RSTFigure #77

merged 6 commits into from
Aug 24, 2022

Conversation

oruebel
Copy link
Contributor

@oruebel oruebel commented Aug 23, 2022

  • Add RSTFigure helper class to simplify creating figures in RST documents and update API forRSTDocument.add_figure
  • Add RSTToc helper class to simplify creating table of contents in an RST document and ad RSTDocment.add_toc
  • Define RSTDocument.__add__ to combine documents via +
  • Define RSTDocument.__iadd__ to add to a document vis +=
  • Define RSTDocument.__str__ RSTTable.__str__ so simplify print and conversion to string

@oruebel
Copy link
Contributor Author

oruebel commented Aug 24, 2022

Fix #76

@oruebel oruebel marked this pull request as ready for review August 24, 2022 03:59
@oruebel oruebel requested a review from rly August 24, 2022 03:59
@oruebel oruebel merged commit c1d796d into main Aug 24, 2022
@oruebel oruebel deleted the add/rstfigure branch August 24, 2022 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants