Skip to content

Commit

Permalink
feat(docs): rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
birkir committed Oct 28, 2023
1 parent 2870691 commit da0b590
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
name: ci/gh-pages

on:
# Runs on pushes targeting the default branch
Expand Down
25 changes: 15 additions & 10 deletions apps/docs/docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,21 @@ This version of `react-native-carplay` supports iOS 14. If you need support for
<th></th>
<th>List</th>
<th>Grid</th>
<th>TabBar</th>
<th title="TabBar">T B</th>

<th>Alert</th>
<th>ActionSheet</th>
<th>VoiceControl</th>
<th>NowPlaying</th>
<th title="Action Sheet">A S</th>

<th title="Voice Controller">🎤</th>
<th title="Now Playing">▶️</th>

<th>Map</th>
<th>Search</th>
<th>POI</th>
<th>Information</th>
<th>Contact</th>
<th title="Search">🔎</th>

<th title="Point of Interest">POI</th>
<th title="Information">Info</th>

<th title="Contact">📇</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -239,7 +244,7 @@ pod 'react-native-carplay', path: '../node_modules/react-native-carplay'

## Basic Usage

[See full example](https://github.com/birkir/react-native-carplay/blob/master/example/src/App.tsx)
[See full example](https://github.com/birkir/react-native-carplay/blob/master/apps/example/src/App.tsx)

The exported `CarPlay` class gives you the API needed to add / remove templates from the CarPlay view hierarchy.

Expand Down Expand Up @@ -584,7 +589,7 @@ CarPlay.setRootTemplate(tabBarTemplate);

## Example App

A working example app can be found [here](https://github.com/birkir/react-native-carplay/blob/master/example/src/App.tsx).
A working example app can be found [here](https://github.com/birkir/react-native-carplay/blob/master/apps/example/src/App.tsx).

To run it you must first install dependencies and pods.

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config = {
tagline: 'CarPlay for React Native',
url: 'https://birkir.github.io',
baseUrl: '/react-native-carplay/',
onBrokenLinks: 'throw',
onBrokenLinks: 'log',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'birkir',
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-carplay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-carplay",
"version": "2.3.0",
"version": "2.4.0-beta.0",
"description": "CarPlay for React Native",
"main": "lib/index.js",
"react-native": "src/index.ts",
Expand Down

0 comments on commit da0b590

Please sign in to comment.