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

Refactor rpc_method_wrapper docs to point to Web3Eth docs #6054

Merged
merged 4 commits into from
May 4, 2023

Conversation

spacesailor24
Copy link
Contributor

The issue requests to make use of inheritDoc, but I couldn't get it to work across files. Additionally, a disclaimer utilizing Admonitions was requested to be added to each rpc method wrapper doc, but this functionality is only available in markdown files, not as doc strings. So, the only change in this PR is that the doc string for each rpc method wrapper links to the previously duplicate docs for each method found under Web3Eth class docs

closes #5295

@spacesailor24 spacesailor24 self-assigned this Apr 30, 2023
@spacesailor24 spacesailor24 marked this pull request as ready for review April 30, 2023 07:15
@github-actions
Copy link

github-actions bot commented Apr 30, 2023

Bundle Stats

Hey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Asset Old size New size Diff Diff %
Total 695 KB 695 KB 0 0.00%
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

Asset Old size New size Diff Diff %
web3.min.js 679 KB 679 KB 0 0.00%
../lib/commonjs/index.d.ts 8.43 KB 8.43 KB 0 0.00%
../lib/commonjs/accounts.d.ts 3.67 KB 3.67 KB 0 0.00%
../lib/commonjs/types.d.ts 2.37 KB 2.37 KB 0 0.00%
../lib/commonjs/abi.d.ts 1000 bytes 1000 bytes 0 0.00%
../lib/commonjs/web3.d.ts 808 bytes 808 bytes 0 0.00%
../lib/commonjs/eth.exports.d.ts 280 bytes 280 bytes 0 0.00%
../lib/commonjs/providers.exports.d.ts 148 bytes 148 bytes 0 0.00%
../lib/commonjs/version.d.ts 60 bytes 60 bytes 0 0.00%

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 30, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4775a3c
Status: ✅  Deploy successful!
Preview URL: https://f0b16cb5.web3-js-docs.pages.dev
Branch Preview URL: https://wyatt-4-x-5295-web3-eth-docs.web3-js-docs.pages.dev

View logs

@codecov
Copy link

codecov bot commented Apr 30, 2023

Codecov Report

Merging #6054 (4775a3c) into 4.x (47abef0) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##              4.x    #6054   +/-   ##
=======================================
  Coverage   85.97%   85.97%           
=======================================
  Files         157      157           
  Lines        7474     7474           
  Branches     2022     2022           
=======================================
  Hits         6426     6426           
  Misses       1048     1048           
Flag Coverage Δ
UnitTests 85.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
web3 ∅ <ø> (∅)
web3-core ∅ <ø> (∅)
web3-errors ∅ <ø> (∅)
web3-eth ∅ <ø> (∅)
web3-eth-abi ∅ <ø> (∅)
web3-eth-accounts ∅ <ø> (∅)
web3-eth-contract ∅ <ø> (∅)
web3-eth-ens ∅ <ø> (∅)
web3-eth-iban ∅ <ø> (∅)
web3-eth-personal ∅ <ø> (∅)
web3-net ∅ <ø> (∅)
web3-providers-http ∅ <ø> (∅)
web3-providers-ipc ∅ <ø> (∅)
web3-providers-ws ∅ <ø> (∅)
web3-rpc-methods ∅ <ø> (∅)
web3-utils ∅ <ø> (∅)
web3-validator ∅ <ø> (∅)

@jdevcs
Copy link
Contributor

jdevcs commented May 2, 2023

LGTM, just need tiny change

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.

Web3Eth Doc Improvements
4 participants