Skip to content

fix[docs]: clarify n_slots requirement in custom layout file#4641

Merged
charles-cooper merged 2 commits intovyperlang:masterfrom
crypdoughdoteth:master
Jun 17, 2025
Merged

fix[docs]: clarify n_slots requirement in custom layout file#4641
charles-cooper merged 2 commits intovyperlang:masterfrom
crypdoughdoteth:master

Conversation

@crypdoughdoteth
Copy link
Copy Markdown
Contributor

@crypdoughdoteth crypdoughdoteth commented May 13, 2025

What I did

I updated the docs to fix the layout file example under Scoping and Declarations and clarify why n_slots is needed.

How I did it

I added a couple lines of text under the example and inserted the necessary n_slot information for the layout to work in the example.

How to verify it

Compile the example locally to ensure its correctness

Commit message

update the docs to fix the layout file example under `Scoping and
Declarations` and clarify why `n_slots` is needed.

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Documentation update to fix the layout file example under Scoping and Declarations and clarify why n_slots is needed.

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@charles-cooper charles-cooper changed the title Doc fix and clarification for n_slots in custom layout file fix[docs]: clairfy n_slots requirement in custom layout file Jun 17, 2025
@charles-cooper charles-cooper changed the title fix[docs]: clairfy n_slots requirement in custom layout file fix[docs]: clarify n_slots requirement in custom layout file Jun 17, 2025
@charles-cooper charles-cooper enabled auto-merge (squash) June 17, 2025 12:08
@charles-cooper charles-cooper merged commit f4e7f5b into vyperlang:master Jun 17, 2025
160 checks passed
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.97%. Comparing base (9370897) to head (e9a7544).
⚠️ Report is 26 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4641   +/-   ##
=======================================
  Coverage   92.97%   92.97%           
=======================================
  Files         131      131           
  Lines       19067    19067           
  Branches     3319     3319           
=======================================
  Hits        17728    17728           
  Misses        902      902           
  Partials      437      437           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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