Skip to content

Conversation

@panditdhamdhere
Copy link
Collaborator

Summary

This PR fixes 5 typos and errors found in the documentation files across the website/docs directory. These are minor corrections that improve the accuracy and professionalism of the documentation.

Changes Made

  1. website/docs/foundations/solidity-modules.mdx (Line 4)

    • Fixed spelling: "Descrition" → "Description" in the frontmatter description field
  2. website/docs/design/design-for-composition.mdx (Line 26)

    • Fixed grammar: "facet modules" → "facet module" (singular form to match the context)
  3. website/docs/foundations/reusable-facet-logic.mdx (Line 43)

    • Fixed typo: "ERC20BridgableFacet" → "ERC20BridgeableFacet" (corrected missing 'e' in "Bridgeable")
  4. website/docs/foundations/composable-facets.mdx (Lines 80-82)

    • Fixed numbering: Corrected list numbering from (1, 3, 4) to (1, 2, 3) in the "Composability Benefits" section
  5. website/docs/foundations/diamond-contracts.mdx (Line 21)

    • Fixed grammar: "It's own" → "Its own" (corrected possessive form, not a contraction)

Checklist

  • Code follows the Solidity feature ban - N/A - Documentation changes only

  • Code follows Design Principles - N/A - Documentation changes only

  • Code matches the codebase style - N/A - Documentation changes only

  • Code is formatted with forge fmt - N/A - Documentation changes only

  • Existing tests pass - N/A - Documentation changes only, no code changes

  • New tests are optional - N/A - No new functionality added

  • All tests pass - N/A - Documentation changes only

  • Documentation updated - ✅ Fixed typos and errors in existing documentation

Additional Notes

  • All changes are documentation-only (MDX files)
  • No code changes were made
  • All fixes are straightforward typo/grammar corrections
  • These changes improve documentation accuracy and professionalism
  • No breaking changes or functional impact

Fix style guide violation by adding braces around one-line if statements
that call revert. This ensures compliance with Compose's coding standards
which require all if statements to use braces.

Fixes two instances in safeTransferFrom functions (lines 331 and 354).
- Fix 'Descrition' -> 'Description' in solidity-modules.mdx
- Fix 'facet modules' -> 'facet module' (singular) in design-for-composition.mdx
- Fix 'ERC20BridgableFacet' -> 'ERC20BridgeableFacet' in reusable-facet-logic.mdx
- Fix numbering in composable-facets.mdx (1, 3, 4 -> 1, 2, 3)
- Fix 'It's own' -> 'Its own' in diamond-contracts.mdx
@netlify
Copy link

netlify bot commented Dec 5, 2025

👷 Deploy request for compose-diamonds pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit c351107

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Coverage Report

Coverage

Metric Coverage Details
Lines 88% 1455/1650 lines
Functions 91% 318/351 functions
Branches 69% 161/233 branches

Last updated: Fri, 05 Dec 2025 11:03:58 GMT for commit c351107

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Gas Report

No gas usage changes detected between main and fix/documentation-typos.

All functions maintain the same gas costs. ✅

Last updated: Fri, 05 Dec 2025 11:04:42 GMT for commit c351107

@mudgen
Copy link
Contributor

mudgen commented Dec 5, 2025

@panditdhamdhere Thanks for these fixes!

@mudgen mudgen merged commit 4071d15 into Perfect-Abstractions:main Dec 5, 2025
6 checks passed
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.

2 participants