Commit Graph

10 Commits

Author SHA1 Message Date
Minh Nguyễn
8a8709d2c7 [ios, macos] Revamp predicate and expression guide (#11741)
* [ios, macos] Fact-checked expression guide

Corrected various factual inaccuracies in the “Predicates and Expressions” guide. Moved some explanation from the predicates section to the expressions section. Added sections for all the other expression types we support.

* [ios, macos] Reorganized custom function documentation

Reorganized the custom function documentation as a series of sections with headers and definition lists instead of a monolithic table. Copyedited various sections for accuracy. Linked references to custom functions. Added format string examples for all custom functions.

* [ios, macos] Made h3 more visible

* [ios, macos] Added Objective-C example of placeholders

* [ios, macos] Documented trig functions

* [ios, macos] Also increase h3 code size

* [ios, macos] Replaced Markdown with HTML in definition

* [ios, macos] Replaced Markdown with HTML in custom function documentation

* [ios, macos] Clarified stops

* [ios, macos] Cross-referenced functions

Each custom function definition cross-references the corresponding aftermarket function (or vice versa), the corresponding style specification expression operator, and any related NSExpression syntax.

* [ios, macos] Fixed links in predicate guide

* [ios, macos] Consolidated and documented NSExpression categories

Consolidated the NSExpression categories into a single category, with marks to separate different tasks. Documented the MGLAdditions category so that it shows up in the jazzy documentation.

* [ios, macos] Fixed NSExpression private category mixup
2018-04-19 18:45:24 -07:00
Minh Nguyễn
9faed7293b [ios, macos] Eliminated MGLAbstractShapeSource
MGLComputedShapeSource is now a direct subclass of MGLSource and sibling of MGLShapeSource.
2018-04-02 10:42:54 -07:00
Jesse Crocker
b2925e71ac [darwin] Abstract ShapeSource interface 2017-11-22 13:56:38 -08:00
Eric Wolfe
1ca8f4e2f3 [ios][macos] Updated Mapbox logo in documentation 2017-04-19 17:21:18 -07:00
Minh Nguyễn
b1e623246f [ios, macos] Marked MGLStyleFunction as abstract in docs 2017-02-10 07:11:50 -08:00
Minh Nguyễn
9d55c0f479 [ios, macos] Replace <q> tags with quotation marks in code blocks 2017-01-09 15:51:50 -08:00
Minh Nguyễn
906d700ccd [ios, macos] Indicate protocols, abstract classes in documentation navigation (#7478)
* [ios, macos] Italicize protocols, abstract classes in doc nav

Italicize protocols and abstract classes in the generated documentation’s navigation sidebar.

* [ios, macos] Denote protocols, abstract classes with glosses

Instead of oblique text, use a parenthetical gloss to denote a protocol or abstract class.
2016-12-20 17:32:06 -08:00
Minh Nguyễn
e3a6857937 [ios, macos] Highlight current topic in documentation (#7468)
* [ios, macos] Highlight current topic in docs

* highlight style
2016-12-16 17:56:45 -08:00
Maya Gao
7f67a2926d iOS jazzy theme improvements (#7422)
some small improvements to the theme
2016-12-16 16:11:47 -08:00
Jason Wray
bacf8eee70 [ios, macos] Add Mapbox Jazzy theme
- Based on Jazzy's "full width" theme.
- Add ellipsis to overlong items in navigation menu.
- Set minimum width for navigation menu.
- Use Open Sans font face.
- Inline GitHub header icon as SVG.
- Center images by default.
- Add GitHub SVG icon to 'show on github' link.
- Wrap overlong method names on class pages.
2016-07-01 14:44:51 -04:00