13 Commits

Author SHA1 Message Date
Andrew Overton
4e245ac6dc [Multiple components] Miscellaneous doc updates
This PR closes out all current doc change requests.

Closes https://github.com/material-components/material-components-ios/pull/10181

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10181 from andrewoverton:dev-docs-03-15-cherry-pick 00414a4f89e39dfc8d47623ee95e0311db1c7ae7
PiperOrigin-RevId: 363178361
2021-03-16 07:30:36 -07:00
Andrew Overton
b42de42c87 Additional requested docs changes
Closes https://github.com/material-components/material-components-ios/pull/10147

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10147 from andrewoverton:material-io-bugs-2 d0e70d8a8c4b66e6d3b22c2fbe3408a60d8771ee
PiperOrigin-RevId: 348026588
2020-12-17 08:33:58 -08:00
Andrew Overton
08ca10b078 [Multiple components] Ensure swift snippets always come before objc
Closes https://github.com/material-components/material-components-ios/pull/10145

It looks like the diff is pretty easy to comprehend, except for in the LIST file :/ All I'm doing is moving Swift snippets to be in front of Objective-C snippets.

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10145 from andrewoverton:material-io-bugs 291c5ea23ccb24c3698b67d09896637a3d1130fe
PiperOrigin-RevId: 347868718
2020-12-16 12:05:38 -08:00
Andrew Overton
fb4d874f62 [Multiple components] Change component README ToCs to bold paragraph style
PiperOrigin-RevId: 346365613
2020-12-08 11:09:33 -08:00
Andrew Overton
62ccb5c72f [Multiple components] Audit recent docs changes, part 2
Closes https://github.com/material-components/material-components-ios/pull/10135

PiperOrigin-RevId: 345473101
2020-12-03 09:54:14 -08:00
Andrew Overton
8d8763ef71 [Multiple components] Audit recent docs changes, part 1
Closes https://github.com/material-components/material-components-ios/pull/10132

PiperOrigin-RevId: 345256835
2020-12-02 10:10:55 -08:00
Andrew Overton
07c46757cc Replace material.io API doc links with links to the relevant header f…
This PR replaces API links containing "/api-docs/" with links to suitable header files in GitHub because the site previously linked to is being taken down and replaced with something that won't handle API docs.

Closes https://github.com/material-components/material-components-ios/pull/10045

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10045 from andrewoverton:replace-mio-api-docs-with-github-links 0d6e56cc11d0c147366a4f6cde829d8b51567ecc
PiperOrigin-RevId: 323424362
2020-07-27 13:09:23 -07:00
Andrew Overton
7814b0c460 Replace App Bar docs
This PR replaces the AppBar README. The content is mostly the same, I just had to restructure it in order to fit the new template.

Closes https://github.com/material-components/material-components-ios/pull/9981

PiperOrigin-RevId: 309097690
2020-04-29 14:32:52 -07:00
Andrew Overton
512d6a0049 Replace TextControls documentation
This PR primarily replaces the TextControls README with a different README. It also makes the TextControls README the source of the default TextField docs on material.io.

Preview the changes at: https://github.com/andrewoverton/material-components-ios/tree/material-io-text-field/components/TextControls

Closes https://github.com/material-components/material-components-ios/pull/9970

PiperOrigin-RevId: 306473798
2020-04-14 11:05:09 -07:00
Andrew Overton
f9a72c3df8 [Buttons] Fix a lot of formatting issues with material.io and some broken links
TL;DR -  This PR consists of fixes for broken links, broken image links, and broken Swift/Objective-C code snippets on material.io, and also adds some small copy edits.

Sometimes our documentation renders okay on GitHub, but breaks in the conversion of markdown to HTML/CSS that takes place during material.io deploys. As of yesterday, I'm able to build material.io locally, which allows me _validate_ the documentation changes I will keep making for the material.io work. It also allows me to catch broken links elsewhere, in totally unrelated files. For example, there were broken links in some Shapes documentation that were already blocking the deployment of our docs unbeknownst to us.

Closes https://github.com/material-components/material-components-ios/pull/9963

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/9963 from andrewoverton:fix-formatting-issues cd54e90863274a49068e016547b1bf0b1af3afcb
PiperOrigin-RevId: 305770167
2020-04-09 15:16:14 -07:00
Andrew Overton
8c27dcf2e5 Fix broken link in Buttons docs
PiperOrigin-RevId: 305561023
2020-04-08 15:00:07 -07:00
Andrew Overton
7fa3ffc105 [Buttons] Add new fab anatomy pngs
This PR adds some new FAB anatomy PNGs.

Closes https://github.com/material-components/material-components-ios/pull/9959

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/9959 from andrewoverton:update-fab-anatomy-pngs 5964c875e65d84ddbc63f7ac0401dd609a2bde4d
PiperOrigin-RevId: 305013702
2020-04-06 06:21:04 -07:00
Andrew Overton
91595a819a [Buttons] Replace Buttons documentation
This PR replaces the existing Buttons documentation with different Buttons documentation.

Closes https://github.com/material-components/material-components-ios/pull/9952

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/9952 from andrewoverton:buttons-docs 4f0b6761428a5efbb8676f71d49e5f8ed21b996b
PiperOrigin-RevId: 303727221
2020-03-30 06:28:59 -07:00