-
Notifications
You must be signed in to change notification settings - Fork 6
Use replacements in compact-contracts, update copy #43
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
Conversation
✅ Deploy Preview for openzeppelin-docs-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Nice work on the improvements @emnul! I left a few comments
### Witnesses [toc] [#AccessControl-Witnesses] | ||
### Witnesses [!toc] [#AccessControl-Witnesses] | ||
None. | ||
### Circuits [toc] [#AccessControl-Circuits] | ||
### Circuits [!toc] [#AccessControl-Circuits] |
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.
I omitted the Ledger
, Witnesses
, and Circuits
grouping names from the ToC because this breaks the semantic hierarchy
<h2>Core</h2>
<h3>AccessControl</h3>
<h3>Ledger</h3> // Is within AccessControl but is displayed as adjacent
<h4>fooSig</h4>
We can remove core
and promote AccessControl
as an h2 header like in the Ownable API so the hierarchy would be:
<h2>AccessControl</h2>
<h3>Ledger</h3>
<h4>fooSig</h4>
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.
If we like this approach, the same applies to the other modules with a Core
header
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.
I think it'd be even better if we had a dropdown for these groupings in the ToC. Outside the scope of this PR though
Add newline Co-authored-by: Andrew Fleming <[email protected]>
…/docs into update-compact-docs
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.
Very nice!
No description provided.