material-components / material-web

Material Design Web Components
https://material-web.dev
Apache License 2.0
8.94k stars 842 forks source link

Existing documentation is missing at material-web.dev #5272

Open shadow-identity opened 7 months ago

shadow-identity commented 7 months ago

Description

I found that few documents from the /docs folder are missing at https://material-web.dev/:

e111077 commented 6 months ago

Ah they are there but there are no links to them because they are missing the frontmatter to create links on the side. Additionally, they are missing demos and title formatting. Thanks for the report, I don't think these were on our radar

davie-robertson commented 3 months ago

I'm trying to add <md-elevation> to a <div> without any joy; the example code given shows the we just place <md-elevation> within the div and style the div using --md-elevation-level: 3; but that doesn't seem to have any effect.

Any chance of an update to the docs or a real simple example>

asyncLiz commented 3 months ago

@davie-robertson I copied the doc's elevation usage example, and it works: https://jsbin.com/sazemosawu/edit?html,output

Feel free to open a Q&A discussion if you're still having trouble and we can help you more there.

davie-robertson commented 3 months ago

thanks @asyncLiz - I had missed the one key instruction; "The elevation will automatically fill the nearest position: relative element's size and shape."