Skip to content

Commit 69cc488

Browse files
committed
Update to Apodini 0.3.0
1 parent 22dc80e commit 69cc488

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
- name: Publish Jazzy Docs
2424
uses: steven0351/publish-jazzy-docs@v1
2525
with:
26-
personal_access_token: ${{ secrets.GITHUB_TOKEN }}
26+
personal_access_token: ${{ secrets.ACCESS_TOKEN }}
2727
config: .jazzy.yml

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
- name: GH Release
1313
uses: softprops/action-gh-release@v0.1.5
1414
env:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let package = Package(
1212
.library(name: "ApodiniLeaf", targets: ["ApodiniLeaf"])
1313
],
1414
dependencies: [
15-
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.2.0")),
15+
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.3.0")),
1616
.package(url: "https://github.com/vapor/leaf-kit.git", from: "1.2.0")
1717
],
1818
targets: [

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Apodini Leaf
22

3+
[![DOI](https://zenodo.org/badge/371102138.svg)](https://zenodo.org/badge/latestdoi/371102138)
4+
[![codecov](https://codecov.io/gh/Apodini/ApodiniLeaf/branch/develop/graph/badge.svg?token=Rd38F6yTCC)](https://codecov.io/gh/Apodini/ApodiniLeaf)
5+
[![jazzy](https://raw.githubusercontent.com/Apodini/ApodiniLeaf/gh-pages/badge.svg)](https://apodini.github.io/ApodiniLeaf/)
6+
[![Build and Test](https://github.com/Apodini/ApodiniLeaf/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/Apodini/ApodiniLeaf/actions/workflows/build-and-test.yml)
7+
38
Apodini Leaf is a small [Apodini](https://github.com/Apodini/Apodini) extension to support the [Leaf](https://github.com/vapor/leaf-kit) teamplating engine.
49
The [Leaf documentation](https://docs.vapor.codes/4.0/leaf/overview/) provides a good overview of the usage of Leaf.
510

@@ -93,7 +98,7 @@ struct ExampleHandler: Handler {
9398
The `ExampleHandler` uses the `@Environment` property wrapper to retrieve the `LeafRenderer` and uses a Swift `struct` to fill in the content and renders the HTML using the `LeafRenderer`'s `render(path:context:)` method. For more information about Leaf, please refer to the [Leaf documentation](https://docs.vapor.codes/4.0/leaf/overview/).
9499

95100
## Contributing
96-
Contributions to this project are welcome. Please make sure to read the [contribution guidelines](https://github.com/Apodini/.github/blob/release/CONTRIBUTING.md) first.
101+
Contributions to this project are welcome. Please make sure to read the [contribution guidelines](https://github.com/Apodini/.github/blob/main/CONTRIBUTING.md) and the [contributor covenant code of conduct](https://github.com/Apodini/.github/blob/main/CODE_OF_CONDUCT.md) first.
97102

98103
## License
99-
This project is licensed under the MIT License. See [License](https://github.com/Apodini/ApodiniLeaf/blob/release/LICENSE) for more information.
104+
This project is licensed under the MIT License. See [License](https://github.com/Apodini/ApodiniLeaf/blob/develop/LICENSE) for more information.

0 commit comments

Comments
 (0)