jolly-good-toolbelt / sphinx_gherkindoc

A tool to convert Gherkin into Sphinx documentation
https://jolly-good-toolbelt.github.io/sphinx_gherkindoc/
11 stars 10 forks source link

Group by keyword #56

Closed mrkaiser closed 1 year ago

mrkaiser commented 1 year ago

This allows people to know what steps are used by what keywords

bradsbrown commented 1 year ago

@mrkaiser looks like the checks had some failures as well — be sure to review and correct those as you prepare new commits.

mrkaiser commented 1 year ago

Fixed the issues (I think, I'm waiting on the build). Thank you for your comments.

One thing that may help as a complete outsider is a CONTRIBUTING.md. The env setup isn't super familiar to me and I had to workaround potentially broken versions on my local because of build issues (e.g typed_ast seems to be completely broken for compiliation with python 3.11 and since by default poetry looks at system even if pyenv is available this breaks). Appreciate everything, hopefully my comment was helpful as well. Thanks!

bradsbrown commented 1 year ago

@mrkaiser looks like the one check you have left to hit is the version bump check — just a poetry version patch should fix you up!

mrkaiser commented 1 year ago

@bradsbrown I believe I have addressed all comments and the checks have passed.

bradsbrown commented 1 year ago

@mrkaiser Yep, looks great! I've added requests to get an additional review or two before merge.

dgou commented 1 year ago

Thanks for the enhacement @mrkaiser Let me know if you want to take a shot at the refactoring. I can let you know my thoughts, but I would like to hear yours before having any undue influence explaining mine.

mrkaiser commented 1 year ago

@dgou

Hi!

Thank you for all your thoughtful comments!

Couple of thoughts:

dgou commented 1 year ago

@mrkaiser Thanks for the response. It's been long enough now that I will have to sit with the code and get my brain to where it was from my previous comments. Will try to do that tonight, if not the next few nights. Thanks!

mrkaiser commented 1 year ago

No rush at all. I won't be able to look until this weekend anyways. Appreciate any thoughts, really open to suggestions here. Overall I agree that booleans can be smells and try to avoid them. In this case though I just wanted to make sure I didn't over index on that and end up making something that may end up harder to reason about.

dgou commented 1 year ago

Yeah, I thought I would get to it this week, but it looks like it'll be the weekend for me too.