-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Feat: Added tabular markdown writer #1722
Commits on Apr 14, 2023
-
🚀 feat(docs.go): add support for generating tabular markdown document…
…ation ✅ test(docs_test.go): add tests for generating tabular markdown documentation ✨ feat(template.go): add MarkdownTabularDocTemplate to generate a markdown table for command flags and environment variables
Configuration menu - View commit details
-
Copy full SHA for b857483 - Browse repository at this point
Copy the full SHA b857483View commit details -
🐛 fix(docs.go): split UsageText into an array of strings
🐛 fix(fish_test.go): add EXAMPLE_VARIABLE_NAME to another-flag's EnvVars ✨ feat(template.go): add support for multiline UsageText in MarkdownTabularDocTemplate
Configuration menu - View commit details
-
Copy full SHA for 763d715 - Browse repository at this point
Copy the full SHA 763d715View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe4046 - Browse repository at this point
Copy the full SHA bfe4046View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02295d9 - Browse repository at this point
Copy the full SHA 02295d9View commit details -
🔨 refactor(docs.go): remove unused TabularOption type and WithTabular…
…AppPath function ✨ feat(docs.go): add ToTabularToFileBetweenTags function to generate tabular markdown documentation and update file between tags 🔨 refactor(docs_test.go): update tests to use ToTabularMarkdown with appPath parameter instead of TabularOption ✅ test(docs_test.go): add tests for ToTabularToFileBetweenTags function
Configuration menu - View commit details
-
Copy full SHA for 2167107 - Browse repository at this point
Copy the full SHA 2167107View commit details -
Configuration menu - View commit details
-
Copy full SHA for c45d216 - Browse repository at this point
Copy the full SHA c45d216View commit details -
Configuration menu - View commit details
-
Copy full SHA for b046679 - Browse repository at this point
Copy the full SHA b046679View commit details -
Configuration menu - View commit details
-
Copy full SHA for 015e176 - Browse repository at this point
Copy the full SHA 015e176View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2ec633 - Browse repository at this point
Copy the full SHA c2ec633View commit details -
🐛 fix(docs_test.go): use bytes.Replace instead of bytes.ReplaceAll to…
… support older Go versions
Configuration menu - View commit details
-
Copy full SHA for f46c8f5 - Browse repository at this point
Copy the full SHA f46c8f5View commit details -
🐛 fix(docs_test.go): trim whitespaces and line endings after replacin…
…g windows line endings
Configuration menu - View commit details
-
Copy full SHA for 7396688 - Browse repository at this point
Copy the full SHA 7396688View commit details -
Configuration menu - View commit details
-
Copy full SHA for d42ae6d - Browse repository at this point
Copy the full SHA d42ae6dView commit details -
🐛 fix(docs_test.go): remove unnecessary second argument in bytes.Repl…
…ace function call to ignore windows line endings
Configuration menu - View commit details
-
Copy full SHA for daf2ae3 - Browse repository at this point
Copy the full SHA daf2ae3View commit details -
🔥 refactor(docs_test.go): remove unused bytes package import
🔥 refactor(docs_test.go): comment out unused windows line endings replacement
Configuration menu - View commit details
-
Copy full SHA for 260031b - Browse repository at this point
Copy the full SHA 260031bView commit details -
🔨 refactor(docs_test.go): remove commented out code
🐛 fix(docs_test.go): fix expected content type to byte array
Configuration menu - View commit details
-
Copy full SHA for 8940782 - Browse repository at this point
Copy the full SHA 8940782View commit details -
Configuration menu - View commit details
-
Copy full SHA for 012763e - Browse repository at this point
Copy the full SHA 012763eView commit details -
🐛 fix(docs_test.go): replace line ending byte sequence to fix test fa…
…ilure on Windows
Configuration menu - View commit details
-
Copy full SHA for a0c1d80 - Browse repository at this point
Copy the full SHA a0c1d80View commit details -
🔥 refactor(docs_test.go): remove unused bytes package import
🔥 refactor(docs_test.go): comment out unused code
Configuration menu - View commit details
-
Copy full SHA for ebf4e51 - Browse repository at this point
Copy the full SHA ebf4e51View commit details -
🐛 fix(docs_test.go): normalize newlines in file content before comparing
✨ feat(docs_test.go): add normalizeNewlines function to normalize windows and mac newlines into unix newlines
Configuration menu - View commit details
-
Copy full SHA for 1865722 - Browse repository at this point
Copy the full SHA 1865722View commit details -
🐛 fix(docs_test.go): refactor normalizeNewlines function to remove du…
…plicated code and improve readability
Configuration menu - View commit details
-
Copy full SHA for 33ea5a2 - Browse repository at this point
Copy the full SHA 33ea5a2View commit details -
🐛 fix(docs_test.go): add comment to clarify the purpose of normalizin…
…g newlines in test
Configuration menu - View commit details
-
Copy full SHA for e2824a8 - Browse repository at this point
Copy the full SHA e2824a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa63bac - Browse repository at this point
Copy the full SHA aa63bacView commit details -
🐛 fix(docs_test.go): add comment to clarify the purpose of normalizin…
…g newlines in test
Configuration menu - View commit details
-
Copy full SHA for d36393b - Browse repository at this point
Copy the full SHA d36393bView commit details
Commits on May 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 05cf386 - Browse repository at this point
Copy the full SHA 05cf386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 949f45e - Browse repository at this point
Copy the full SHA 949f45eView commit details -
🚨 test(docs_test.go): add test case for ToTabularMarkdownFailed funct…
…ion with invalid template.
Configuration menu - View commit details
-
Copy full SHA for d945e8d - Browse repository at this point
Copy the full SHA d945e8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8caf8b - Browse repository at this point
Copy the full SHA d8caf8bView commit details -
🐛 fix(docs_test.go): rename TestToTabularMarkdownFull to TestToTabula…
…rMarkdown and remove TestToTabularMarkdownWithEmptyAppPath ✨ feat(docs_test.go): add subtests to TestToTabularMarkdown to test different scenarios 🔥 chore(docs_test.go): remove unused variable and restore MarkdownTabularDocTemplate after test
Configuration menu - View commit details
-
Copy full SHA for 9640f32 - Browse repository at this point
Copy the full SHA 9640f32View commit details