Skip to content

Commit 1cd37f8

Browse files
committed
Fix README and workflow
1 parent 3c7565d commit 1cd37f8

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.generate-docs.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22
set -e
33

4-
MODULE_VERSION=$1
5-
OUTPUT=$2
6-
SWIFT_VERSION="5.0"
7-
AUTHOR="Alexis Aubry"
8-
AUTHOR_URL="https://twitter.com/_alexaubry"
4+
OUTPUT=$1
5+
MODULE_VERSION="6.0.0"
6+
SWIFT_VERSION="5.3"
7+
AUTHOR="Alexis Aubry-Akers"
8+
AUTHOR_URL="https://alexisonline.dev"
99
MODULE_NAME="HTMLString"
1010
COPYRIGHT="Copyright © 2016 - present $AUTHOR. Available under the MIT License."
1111
GITHUB_URL="https://github.com/alexaubry/HTMLString"
@@ -19,7 +19,8 @@ bundle exec jazzy \
1919
--module-version "$MODULE_VERSION" \
2020
--copyright "$COPYRIGHT" \
2121
-g "$GITHUB_URL" \
22-
--github-file-prefix "$GITHUB_URL/tree/master" \
22+
-d "dash-feed://$GH_PAGES_URL/$MODULE_NAME/docsets/$MODULE_NAME.xml"
23+
--github-file-prefix "$GITHUB_URL/tree/main" \
2324
-r "$GH_PAGES_URL" \
2425
-o "$OUTPUT"\
2526
--min-acl public \

.github/workflows/swift.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Build
16-
run: swift build -v
16+
run: swift build
1717
- name: Run tests
18-
run: swift test -v
18+
run: swift test

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
<p align="center">
2-
<img src="https://github.com/alexaubry/HTMLString/raw/swift4/.github/logo.png" alt="HTMLString" />
2+
<img src="https://github.com/alexaubry/HTMLString/raw/main/.github/logo.png" alt="HTMLString" />
33
<a>
44
<img src="https://img.shields.io/badge/Swift-5.0-ee4f37.svg" alt="Swift 5.0" />
55
</a>
6-
<a href="https://travis-ci.org/alexaubry/HTMLString">
7-
<img src="https://travis-ci.org/alexaubry/HTMLString.svg?branch=swift4" alt="Build Status" />
8-
</a>
96
<a href="https://cocoapods.org/pods/HTMLString">
107
<img src="https://img.shields.io/cocoapods/v/HTMLString.svg" alt="CocoaPods" />
118
</a>
129
<a href="https://github.com/Carthage/Carthage">
1310
<img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible" />
1411
</a>
1512
<a href="https://twitter.com/_alexaubry">
16-
<img src="https://github.com/alexaubry/HTMLString/raw/swift4/.github/contact-badge.svg?sanitize=true" alt="Contact : @_alexaubry" />
13+
<img src="https://github.com/alexaubry/HTMLString/raw/main/.github/contact-badge.svg?sanitize=true" alt="Contact : @_alexaubry" />
1714
</a>
1815
</p>
1916

0 commit comments

Comments
 (0)