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

[pull] master from ekalinin:master #1

Open
wants to merge 157 commits into
base: master
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Apr 26, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

ekalinin and others added 30 commits April 21, 2017 10:42
Signed-off-by: Hao Ziyu <[email protected]>
It's an unimportant change, I know.
But the old code is reimplementing the behavior of the `case` builtin.
Use case builtin for pattern matching
add optional GitHub API token
gh-md-toc fails silently with an empty toc on lack of network connectivity
Added a detail on how to store to a file instead of having to copy from console.
Replace hard coded $app_name
…ly failing

- plus suggests where to put github auth token
fix silent github api rate limited exceeded problem
fix(README.md): installation instructions for OSX
This corrects "basename: extra operand ‘VAL1’" errors as seen below.
Also this moves the basename call to only occur when the help text is displayed.

> $ '/cygdrive/c/Users/myusername/OneDrive - VAL1 VAL2/Utils/github-markdown-toc/gh-md-toc' --help
> /cygdrive/c/Users/myusername/OneDrive - VAL1 VAL2/Utils/github-markdown-toc/gh-md-toc
> basename: extra operand ‘VAL1’
> Try 'basename --help' for more information.
> GitHub TOC generator (): 0.5.0
>
> Usage:
>    [--insert] src [src]  Create TOC for a README file (url or local path)
>    -                     Create TOC for markdown from STDIN
>    --help                Show help
>   --version             Show version
@pull pull bot added the ⤵️ pull label Apr 27, 2022
qq88976321 and others added 21 commits May 3, 2022 00:49
Fix #131: --indent argument makes the script crashed
Fixed typo in the help command
Updated `bats` article link.
…grepped (#136)

* Fixed an issue in which the file path containing spaces could not be grepped

* fix remove backup file path

* Delete configurationCache.log

* Delete dryrun.log

* Delete settings.json

* Delete targets.log

* add test case for file path with space

* modify test script - add --insert flag
* Fix parsing of HTML returned from raw API

Github must have changed something on their end, the HTML seems to have changed a little.

* Update gh-md-toc

Co-authored-by: Vladyslav Diachenko <[email protected]>

---------

Co-authored-by: Eugene Kalinin <[email protected]>
Co-authored-by: Vladyslav Diachenko <[email protected]>
…Hub API format changes (#145)

* Fix parsing of HTML returned from raw API

Github must have changed something on their end, the HTML seems to have changed a little.

* Adding some tests for setext header support

* Fixing the formatter

* Putting all the tests in the same directory

* Closer, but span tag doesn't work in some cases

* Fixed span issue

* Broke test formatting

* fixing local tests - remote is busted, formatting seems very different.

---------

Co-authored-by: Jon Burgess <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.