-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
✨feature: add doc #1986
Merged
Merged
✨feature: add doc #1986
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
5b8f4fc
✨feature: add doc
jasonandjay bc0ef13
🐞 fix: update package.json
jasonandjay b76e645
✨feature: update deploy-doc ci only trigger on master branch
jasonandjay 5382260
📄 docs: comment address namespace
jasonandjay 6463bbc
📄 docs: build src after comment address namespace
jasonandjay caea960
✨feature: add custom tag @case to create a runnable environment
jasonandjay 19b31eb
🐞 fix: build src
jasonandjay f5995bd
🐞 fix: move typedoc-plugin-bitcoinjs-runcase to devDependencies
jasonandjay 4a1913e
⏪ rollback: separate typedoc-plugin-bitcoinjs-runcase to another PR
jasonandjay 5bf4367
⏪ rollback: remove runcase of address module
jasonandjay 6cc676d
📄 docs: add docs for payments module
jasonandjay 94039ae
📄 docs: add docs fro script namespace
jasonandjay 3dc81f7
📄 docs: add other docs and build src
jasonandjay 5655cd4
Merge branch 'bitcoinjs:master' into doc
jasonandjay c6cb2f8
Merge branch 'doc' of https://github.com/jasonandjay/bitcoinjs-lib in…
jasonandjay 4ef1bdc
🐞 fix: fix romat:ci
jasonandjay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ npm-debug.log | |
test/*.js | ||
test/integration/*.js | ||
!test/ts-node-register.js | ||
docs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be a devDependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it should me. I remember this but maybe something is wrong!!
I want to tell you about another thing.
I added an executable environment to the document to help us more flexibly display related cases and provide user testing.
The background is as follows
To achieve this goal, I did the following things, which also cost me a lot of time:
You can view the relevant effects here: https://jasonandjay.github.io/bitcoinjs-lib/functions/address.fromBase58Check.html
I think this is a great feature, but I need your help evaluating whether it's suitable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That way we can tell the user to test here and find more cases in the single test
Then we only need to give a correct usage method in example (I customized a @case tag), so that the construction efficiency of our document will be much higher
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@junderw please take a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasonandjay
typedoc-plugin-bitcoinjs-runcase
is a production dependency and hasreact
andreact-dom
as dependencies. That doesn't belong in bitcoinjs at all.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pajasevi yes, i will change it later, i want to know is this the right direction to add an executable environment to the document to simplify the case in the single test? so as to proceed with the next step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will take a while to review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this should be in a follow up pr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review typedoc plugin or comments in our repository?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding
typedoc-plugin-bitcoinjs-runcase
should be in a separate PR is what I'm saying.