Skip to content

[feat] add optional README toggle and prepend kata/solution links in language-aware comments#12

Open
fcoterroba wants to merge 3 commits into
febinbellamy:mainfrom
fcoterroba:main
Open

[feat] add optional README toggle and prepend kata/solution links in language-aware comments#12
fcoterroba wants to merge 3 commits into
febinbellamy:mainfrom
fcoterroba:main

Conversation

@fcoterroba
Copy link
Copy Markdown

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, etc.)

    • Feature update (with minor behavior adjustment) to support a more flexible Codewars-to-GitHub sync format.
  • What is the current behavior? (You can also link to an open issue here)

    • CodeHub creates a README.md for each kata by default and uploads only the raw solution content.
    • For users organizing their repo as language/kata-name/mysolution.ext, README creation may be unnecessary, and solution files currently do not include direct links to the kata/source context.
  • What is the new behavior (if this is a feature change)?

    • Adds a new optional setting to enable/disable per-kata README.md creation.
    • Keeps existing folder-structure options, including support for:
      • language/kata-name/mysolution.ext
    • Prepends metadata comments to the uploaded solution file (using language-appropriate comment syntax) with:
      • original Codewars kata URL
      • GitHub URL to the saved solution file
      • Preserves previous behavior for users who keep README creation enabled.
  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

    • No breaking changes expected.
    • Existing users can continue using current settings unchanged.
    • The only visible difference is the new optional README toggle and solution header comments in uploaded files.
  • Screenshots or screen recording (if appropriate):

imagen imagen

IMPORTANT

I need you @febinbellamy provide me the image for the new structure, or at least the tool that you used to create it
lmk anything, thx

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.

1 participant