273 Commits

Author SHA1 Message Date
Yiran Mao
2a21dc387b Add option hint to build-site.sh
Reference: https://github.com/google/material-components-ios/issues/138
2016-03-27 17:16:34 -04:00
Jeff Verkoeyen
f804e66ec3 [Icons] MDCIcons+BundleLoader.h must be a protected header.
Summary: In order for Icon targets to import this header the header can't be truly private.

Reviewers: #mdc_ios_owners, randallli

Reviewed By: #mdc_ios_owners, randallli

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D340
2016-03-24 18:37:13 -04:00
Jeff Verkoeyen
0697f063a9 [Icons] Base source needs its own explicit target.
Summary: This allows icon targets to correctly identify their dependency on the root Icons code.

Reviewers: #mdc_ios_owners, randallli

Reviewed By: #mdc_ios_owners, randallli

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D339
2016-03-24 17:44:35 -04:00
Jeff Verkoeyen
8d72cc0217 [Icons] Add missing header search paths in pod specs.
Reviewers: #mdc_ios_owners, randallli

Reviewed By: #mdc_ios_owners, randallli

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D338
2016-03-24 16:47:27 -04:00
Jeff Verkoeyen
93bc9fca2a Bundles must live within the src/ directory of a component.
Reviewers: #mdc_ios_owners, randallli

Reviewed By: #mdc_ios_owners, randallli

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D336
2016-03-24 16:15:53 -04:00
Jeff Verkoeyen
21001552dc Bundles can't have plusses in their names.
Summary:
Otherwise you get errors like this:

```
link_stat "Build/Products/Debug-iphonesimulator/MaterialIcon\+ic_arrow_back.bundle" failed: No such file or directory (2)
```

Reviewers: #mdc_ios_owners, randallli, junius

Reviewed By: #mdc_ios_owners, randallli, junius

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D323
2016-03-23 17:54:34 -04:00
Jeff Verkoeyen
d72625ad3e Remove alternate remotes from build-site remote determination.
Summary: The "correct" remote has no alternate name, so filtering on results that include a tab character appears to remove alternatives.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D314
2016-03-23 14:42:07 -04:00
Jeff Verkoeyen
4ad6efb6a0 Add private/ directory to Icons target.
Reviewers: #mdc_ios_owners, junius

Reviewed By: #mdc_ios_owners, junius

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D315
2016-03-23 13:22:34 -04:00
Jeff Verkoeyen
57558b2dbd Icons component
Summary: Closes https://github.com/google/material-components-ios/issues/168

Reviewers: randallli, #mdc_ios_owners, ajsecord

Reviewed By: randallli, #mdc_ios_owners, ajsecord

Subscribers: iangordon, ajsecord, randallli

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D295
2016-03-23 12:20:51 -04:00
Adrian Secord
d20623e8be Adds scripts/install_arc.sh, which installs or updates arc and our project-specific dependencies.
Summary:
The script can be run to do any of the following:

  # Install arc and dependencies and add arc's path to a user's shell setup script.
  # Just install arc and dependencies, letting the user configure their own paths.
  # Update an existing installation from a previous run of the script.

Reviewers: featherless, #mdc_ios_owners

Reviewed By: featherless, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D289
2016-03-17 12:35:19 -04:00
Adrian Secord
df8b4ddb50 Updated Arcanist config to use submodules.
Summary:
Added arc-xcode-test-engine and clang-format-linter as submodules.
Updated .arcconfig to point to submodules.

NOTE: Until scripts/install_arc.sh is landed, arc users will need to run
```
git submodule init
git submodule update
```
to pull in arc's extensions as submodules.

Reviewers: featherless, #mdc_ios_owners

Reviewed By: featherless, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D287
2016-03-17 12:33:28 -04:00
Yiran Mao
b800210397 Add landing page placeholder markdown files & update build-site.sh 2016-03-16 14:44:19 -04:00
Jason Striegel
952d43cfae Initial import of site build structure. 2016-03-15 17:18:08 -04:00
Adrian Secord
de008a2eaf Added 'bump version' script and updated pod_install_all.
Summary:
Add regex replacement.

Fixed regex substitution.

Created Python pod_install_all so we can call it easily.

Added .py extensions so they can be imported.

Created a script for managing the pods.

Ignore errors when cleaning to avoid nested Pods directories.

Added --fast_pod_install option

Hooked bump_version to manage_pods for pod install.

Removed pod_install_all.sh, use manage_pods.py install.

Reviewers: #mdc_ios_owners, featherless

Reviewed By: #mdc_ios_owners, featherless

Subscribers: featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D260
2016-03-14 17:57:18 -04:00
Jeff Verkoeyen
aa41fbb232 Add generate_jazzy_yamls script.
Summary:
Having a .jazzy.yaml in each component's directory has some technical
advantages. Keeping these files up-to-date, however, is not trivial.

This diff includes a script for regenerating all of the .jazzy.yaml
files. The intent is for this script to be run in the following
situations:

- New component added.
- Jazzy version change.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D255
2016-03-14 14:39:56 -04:00
randallli
03840fdce6 Added script to run pod install on all pods
Summary: Closes https://github.com/google/material-components-ios/issues/96

Reviewers: ajsecord, featherless, #mdc_ios_owners

Reviewed By: featherless, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D217
2016-03-07 16:20:55 -05:00
Jeff Verkoeyen
2464b59d77 Generate Jazzy docs by convention.
Summary: Our jazzy docs script is able to infer the required fields (module name, umbrella header) without requiring individual config files per component. This is in line with our "by convention" approaches and lowers the maintenance cost of individual components.

Test Plan:
Run ./scripts/gendocs.sh.
Verify that the output in docs/ for each component is as expected.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D206
2016-03-07 15:31:56 -05:00
Jeff Verkoeyen
ce355f6c45 Minor touchups to the preview.sh script.
Reviewers: yiranm, #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D207
2016-03-07 08:34:40 -05:00
Jeff Verkoeyen
49029592b1 [Docs] adjust gendocs.sh to documents by convention structure.
Summary:
This will copy assets to the generated documentation folder and adjust the paths to the assets accordingly in the generated .html files.

---
Closes https://github.com/google/material-components-ios/pull/133
GitHub author: peterfriese

!![[https://github.com/google/material-components-ios/pull/133 | This is a child of GitHub pull request #133]]!!.

Reviewers: #mdc_ios_owners, github-bot

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D199
2016-03-05 11:49:14 -05:00
Yiran Mao
a1b2d2a469 make site skeleton
Summary:
Hi MDCers,

This is the suggested mdc-site structure. The gh-pages folder cannot yet be included, so it will be a bit hard to preview. I will think about a solution to that tomorrow.

---
Closes https://github.com/google/material-components-ios/pull/113
GitHub author: yeelan0319

!![[https://github.com/google/material-components-ios/pull/113 | This is a child of GitHub pull request #113]]!!.

Reviewers: #mdc_ios_owners, github-bot, randallli

Reviewed By: #mdc_ios_owners, randallli

Subscribers: featherless, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D166
2016-03-04 10:52:57 -05:00
Ian Gordon
23bf02d2c3 Add license preamble
Summary: Closes https://github.com/google/material-components-ios/issues/59

Reviewers: randallli, #material_components_ios_owners

Reviewed By: randallli, #material_components_ios_owners

Subscribers: randallli, featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D112
2016-02-10 15:47:20 -05:00
Ian Gordon
6f5420cda5 Allow script to be run from anywhere in the repo. Update script to deal with our new paths.
Reviewers: featherless, #material_components_ios_owners

Reviewed By: featherless, #material_components_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D111
2016-02-10 13:52:58 -05:00
Jeff Verkoeyen
e10c492890 Add gendocs script.
Summary:
This script will execute jazzy on any directory within the mdc repo that contains a .jazzy.yaml file. The output of the documentation will live in a docs/ folder.

It also generates an index.json file which could be used by a documentation generator to build the top-level table of contents.

Reviewers: #mux, ajsecord

Reviewed By: #mux, ajsecord

Subscribers: randallli, iangordon

Projects: #mux, #material_components_ios

Maniphest Tasks: T371

Differential Revision: http://mux-oss-phabricator.appspot.com/D24
2015-11-25 13:01:44 -05:00