Skip to content

Commit

Permalink
Merge pull request #2347 from mapbox/2314-jazzy-doc-actualization
Browse files Browse the repository at this point in the history
Jazzy doc actualization
  • Loading branch information
Udumft authored Mar 11, 2020
2 parents 9d78861 + c264a8f commit d7891cf
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 35 deletions.
1 change: 1 addition & 0 deletions MapboxCoreNavigation/MBNavigator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ extension MBFixLocation {
}
}

/// :nodoc:
extension MBRouteState: CustomStringConvertible {
public var description: String {
switch self {
Expand Down
2 changes: 1 addition & 1 deletion MapboxNavigation-Documentation.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Pod::Spec.new do |s|

# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.source_files = ["MapboxNavigation/*", "MapboxCoreNavigation/*"]
s.source_files = ["MapboxNavigation/**/*.swift","MapboxCoreNavigation"]

# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

Expand Down
2 changes: 1 addition & 1 deletion MapboxNavigation/LanesStyleKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import UIKit


/// :nodoc:
public class LanesStyleKit : NSObject {

//// Drawing Methods
Expand Down
2 changes: 1 addition & 1 deletion MapboxNavigation/ManeuverView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import MapboxDirections
import MapboxCoreNavigation
import Turf

/// :nodoc:
/// A view that contains a simple image indicating a type of maneuver.
@IBDesignable
open class ManeuverView: UIView {

Expand Down
2 changes: 1 addition & 1 deletion MapboxNavigation/ManeuversStyleKit.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import UIKit


/// :nodoc:
public class ManeuversStyleKit: NSObject {

//// Drawing Methods
Expand Down
4 changes: 2 additions & 2 deletions MapboxNavigation/Style.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ open class Style: NSObject {
/**
URL of the style to display on the map when previewing a route, for example on CarPlay or your own route preview map.
*/
@objc open var previewMapStyleURL = MGLStyle.navigationPreviewDayStyleURL
@objc open var previewMapStyleURL: URL = MGLStyle.navigationPreviewDayStyleURL

/**
Applies the style for all changed properties.
Expand Down Expand Up @@ -228,7 +228,7 @@ open class StylableLabel: UILabel {
}
}

/// :nodoc
/// :nodoc:
@objc(MBStylableView)
open class StylableView: UIView {
@objc dynamic var borderWidth: CGFloat = 0.0 {
Expand Down
83 changes: 54 additions & 29 deletions docs/jazzy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,31 @@ custom_categories:
- NavigationViewController
- NavigationViewControllerDelegate
- RouteVoiceController
- VoiceControllerDelegate
- MapboxVoiceController
- NavigationOptions
- NavigationView
- name: Core Navigation Logic
children:
- NavigationService
- NavigationServiceDelegate
- MapboxNavigationService
- Router
- RouterDataSource
- RouteController
- RouteControllerDelegate
- RouterDelegate
- RouteProgress
- RouteLegProgress
- RouteStepProgress
- RouteControllerNotificationUserInfoKey
- NavigationEventsManager
- EventsManagerDataSource
- NavigationLocationManager
- ReplayLocationManager
- SimulatedLocationManager
- NavigationRouteOptions
- NavigationMatchOptions
- NavigationDirections
- SimulationMode
- name: Maps
children:
- NavigationMapView
Expand All @@ -40,50 +55,60 @@ custom_categories:
- name: Styling
children:
- Style
- StyleKitArrows
- StylableButton
- StylableLabel
- StyleManager
- StyleManagerNotificationUserInfoKey
- StyleManagerDelegate
- DayStyle
- NightStyle
- name: Formatters
children:
- DistanceFormatter
- RouteStepFormatter
- name: UI Components
children:
- RouteTableViewController
- NavigationPulleyViewController
- Button
- CellSubtitleLabel
- CellTitleLabel
- DashedLineView
- HighlightedButton
- LineView
- ProgressBar
- SeparatorView
- SubtitleLabel
- TitleLabel
- TurnArrowView
- WayNameLabel
- ManeuverView
- BottomBannerViewController
- BottomBannerViewControllerDelegate
- SpeedLimitView
- UserPuckCourseView
- CourseUpdatable
- GenericRouteShield
- NavigationComponent
- name: CarPlay
children:
- CarPlayManager
- CarPlayManagerDelegate
- CarPlayNavigationViewController
- CarPlayNavigationDelegate
- CarPlayActivity
- CarPlayCompassView
- CarPlayMapViewController
- CarPlaySearchController
- CarPlayConnectionObserver
- name: Configuration
children:
- MaxSecondsSpentTravelingAwayFromStartOfRoute
- RouteControllerDeadReckoningTimeInterval
- RouteControllerMediumAlertInterval
- RouteControllerHighAlertInterval
- RouteControllerManeuverZoneRadius
- RouteControllerMaxManipulatedCourseAngle
- RouteSnappingMaxManipulatedCourseAngle
- RouteControllerMaximumAllowedDegreeOffsetForTurnCompletion
- RouteControllerMaximumDistanceBeforeRecalculating
- RouteControllerMediumAlertInterval
- RouteControllerMinimumDistanceForHighAlertCycling
- RouteControllerMinimumDistanceForHighAlertDriving
- RouteControllerMinimumDistanceForHighAlertWalking
- RouteControllerMinimumDistanceForMediumAlertCycling
- RouteControllerMinimumDistanceForMediumAlertDriving
- RouteControllerMinimumDistanceForMediumAlertWalking
- RouteControllerUserLocationSnappingDistance
- MBCongestionAttribute
- MBCurrentLegAttribute
- MBRouteLineWidthByZoomLevel
- NavigationMapViewMinimumDistanceForOverheadZooming
- NavigationViewMinimumVolumeForWarning
- RouteControllerIncorrectCourseMultiplier
- RouteControllerLinkedInstructionBufferMultiplier
- RouteControllerMaximumSpeedForUsingCurrentStep
- RouteControllerMinNumberOfInCorrectCourses
- RouteControllerMinimumBacktrackingDistanceForRerouting
- RouteControllerMinimumDistanceForContinueInstruction
- RouteControllerMinimumDurationRemainingForProactiveRerouting
- RouteControllerMinimumNumberLocationUpdatesBackwards
- RouteControllerNumberOfSecondsForRerouteFeedback
- RouteControllerProactiveReroutingInterval
- RouteSnappingMinimumHorizontalAccuracy
- RouteSnappingMinimumSpeed
- NavigationSettings

0 comments on commit d7891cf

Please sign in to comment.