Skip to content

Commit 5317714

Browse files
authored
Merge pull request #395 from skedgo/Update-navigation-and-theme
Update navigation and use remote SkedGo theme
2 parents 9556526 + 740e56f commit 5317714

File tree

150 files changed

+39
-7086
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+39
-7086
lines changed

.github/workflows/docs-dryrun.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
python --version
2626
pip install --upgrade pip
2727
pip install mkdocs
28-
pip install pymdown-extensions
28+
pip install pymdown-extensions
29+
pip install git+https://github.com/skedgo/skedgo-mkdocs-theme
2930
mkdocs --version
3031
bundle install
3132

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
pip install --upgrade pip
2727
pip install mkdocs
2828
pip install pymdown-extensions
29+
pip install git+https://github.com/skedgo/skedgo-mkdocs-theme
2930
mkdocs --version
3031
bundle install
3132

.github/workflows/swift.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,19 @@ name: Swift
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- 'Sources/**'
8+
- 'Tests/**'
9+
- 'Package.swift'
10+
- 'TripKit.xcodeproj/**'
11+
- 'Examples/**'
612
pull_request:
13+
paths:
14+
- 'Sources/**'
15+
- 'Tests/**'
16+
- 'Package.swift'
17+
- 'TripKit.xcodeproj/**'
18+
- 'Examples/**'
719
workflow_dispatch:
820

921
jobs:

Scripts/docs/INSTRUCTIONS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Instructions
2+
3+
Follow the steps below to build the documentation:
4+
5+
- Install the MKDocs theme: `pip install git+https://github.com/skedgo/skedgo-mkdocs-theme`
6+
- Run the documentation locally: `mkdocs serve --no-strict`

Scripts/docs/mkdocs.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,31 @@ site_author: SkedGo Pty Ltd
33
site_description: Documentation of TripKit iOS - the iOS SDK of the TripGo API.
44

55
nav:
6-
- Getting Started: index.md
7-
- View Controllers: view-controllers.md
8-
- F.A.Q.: faq.md
9-
- SDK Reference:
10-
- TripKit: TripKit/TripKit.html
11-
- TripKitUI: TripKit/TripKitUI.html
12-
- TripKitInterApp: TripKit/TripKitInterApp.html
13-
- API: https://developer.tripgo.com
6+
- Getting Started: index.md
7+
- View Controllers: view-controllers.md
8+
- F.A.Q.: faq.md
9+
- SDK Reference:
10+
- TripKit: TripKit/TripKit.html
11+
- TripKitUI: TripKit/TripKitUI.html
12+
- TripKitInterApp: TripKit/TripKitInterApp.html
13+
- Developer:
14+
- Docs: https://developer.tripgo.com/
15+
- API: https://developer.tripgo.com/specs
16+
- Android: https://android.developer.tripgo.com
17+
- iOS: https://ios.developer.tripgo.com
18+
- React: https://react.developer.tripgo.com
19+
- SkedGo: https://www.skedgo.com
1420

1521
repo_url: https://github.com/skedgo/tripkit-ios
1622
docs_dir: source
1723
strict: true
1824
theme:
19-
name: null
20-
custom_dir: 'skedgo_theme'
21-
highlightjs: True
25+
name: skedgo
26+
highlightjs: True
2227

2328
# Disable search, as you might expect it to search the reference, too
2429
plugins: []
2530

2631
markdown_extensions:
27-
- pymdownx.highlight
28-
- pymdownx.superfences
32+
- pymdownx.highlight
33+
- pymdownx.superfences

Scripts/docs/skedgo_theme/bower_components/normalize-scss/.bower.json

Lines changed: 0 additions & 42 deletions
This file was deleted.

Scripts/docs/skedgo_theme/bower_components/normalize-scss/CODE_OF_CONDUCT.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

Scripts/docs/skedgo_theme/bower_components/normalize-scss/LICENSE.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

Scripts/docs/skedgo_theme/bower_components/normalize-scss/README.md

Lines changed: 0 additions & 159 deletions
This file was deleted.

0 commit comments

Comments
 (0)