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

Cleanup1 #997

Closed
wants to merge 3 commits into from
Closed

Cleanup1 #997

wants to merge 3 commits into from

Conversation

martinp26
Copy link

Please consider pulling these smaller clean-ups, bugfixes, and a feature for the epub generator.

Martin Pohlack added 3 commits June 20, 2020 22:59
Drop the unused parts, elements which do not actually occur in
generated epubs.

Further, reduce the image size and move it to the right, so that
screen-real-estate is not wasted.

Signed-off-by: Martin Pohlack <[email protected]>
This allows to sensible group multiple recipes in a book, and enables
a structured table-of-content.

The first category, in the absence of another mechanism, is treated
specially to primarily group recipes.  It is the first sorting
criteria and primary section entries are generated per first
category.  Secondary sorting criteria is still the recipe name.

Signed-off-by: Martin Pohlack <[email protected]>
Unit detection was not considering localization in two places.

Fix the simple issue in find_errors_in_progress() by translating units
to compare against.

The second error is more complex, details are in thinkle#931.  Disable broken
parsing of number words for now.

Signed-off-by: Martin Pohlack <[email protected]>
@saxon-s
Copy link
Collaborator

saxon-s commented Jun 21, 2020

Thank you for submitting this pull request. I see you are a first time contributor. Welcome to Gourmet!

At this time we are actively migrating Gourmet to Python 3 and Gtk 3 at kirienko/gourmet. I'm therefore holding off merging minor PRs into thinkle/gourmet master for now.

A couple requests:

  • As requested on the Contributing Wiki Page stick to a one issue = one commit = one pull request policy. Split this PR up into three separate PRs.
  • As a general rule, don't change the code formatting (i.e. add or remove spaces, new lines, etc). Otherwise it makes it difficult to compare what has changed and if the change is necessary.
  • provide a brief description in your PR commit message why the change is necessary.
  • If you are fixing a bug please raise an issue ticket and reference the issue # in the PR

Adhering to the above will make the PR review smoother and the acceptance of the PR easier.

Thank you for your support.

@martinp26 martinp26 mentioned this pull request Jun 21, 2020
@martinp26
Copy link
Author

Thanks for the feedback. I will split things up. Do you have a rough ETA for the Python 3 and Gtk 3 conversions?

Should I rather submit against kirienko/gourmet for the time being?

@martinp26 martinp26 closed this Jun 21, 2020
@martinp26
Copy link
Author

#998

@martinp26
Copy link
Author

#999
#1000
#1002

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