-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
|
That’s realm/jazzy#435, released just a few hours ago in jazzy 0.6.3 (upgrade now!). I’m strongly in favor of doing this, because it makes our examples that much more discoverable to Dash users. The examples would likely be maintained in this repository, where the broader community can help maintain and expand them. Also, it would allow us to eventually replace the entire /ios-sdk site with the jazzy documentation (with an online-specific readme, perhaps), streamlining navigation considerably. |
Ellipsized extra-long navigation items, though I believe @1ec5 disapproves of my methods. 😁 |
realm/jazzy#590 may fix #3957. |
Going to give this Jazzy theme another look after evaluating the new Apple documentation style, see if there’s anything to borrow. |
SourceKit is the cause of This is where the problem manifests for us: when we use a pointer to a struct, such as in - (void)setVisibleCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSUInteger)count edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated; |
d88f87d
to
50fd5ea
Compare
Made this more Mapboxy by using Open Sans for the text — screencaps have been updated. (Though, Paparazzi doesn’t seem to do a good job rendering... some link colors are off, smallcaps isn’t working, and some SVGs are weird. Oh well.) |
531a644
to
16151c6
Compare
Wow this looks great @friedbunny, can't wait to see it live! |
Don’t forget to note the new design in the changelog for both SDKs! |
- 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.
Added in #5053 but wasn't categorized for jazzy.
- Don't use an absolute URL for the screenshot image, include the file instead. - Add Sketch document for screenshot.
16151c6
to
c75caa6
Compare
For anyone wanting to update the iOS screenshots, there’s a new Sketch file at |
Based on Jazzy's
fullwidth
theme.To-do
This is a good start, but there are more improvements to be made:
Going forward
Jazzy allows for arbitrary prose sections written in Markdown that include the same code highlighting, so we could even consider moving the examples or guides into here, too. This could be a good opportunity to write specific feature sections that focus on complex features such as offline or annotations.
Main page
First draft.
MGLMapView
First draft.
/cc @danswick @1ec5 @cammace @boundsj @frederoni