-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes #203 * Travis uploads haddocks * Link to local docs * add navigation structure * merge upstream
- Loading branch information
Showing
101 changed files
with
160 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,13 +70,31 @@ jobs: | |
|
||
- echo "Test simple-storage" | ||
- make docker-test-prebake | ||
- docker-compose -f hs-abci-examples/simple-storage/docker-compose.yaml -p test-hs-abci-examples-simple-storage-e2e up -d | ||
- docker-compose -f hs-abci-docs/simple-storage/docker-compose.yaml -p test-hs-abci-examples-simple-storage-e2e up -d | ||
- make test-simple-storage | ||
- docker-compose -f hs-abci-examples/simple-storage/docker-compose.yaml -p test-hs-abci-examples-simple-storage-e2e down -v --rmi local | ||
- docker-compose -f hs-abci-docs/simple-storage/docker-compose.yaml -p test-hs-abci-examples-simple-storage-e2e down -v --rmi local | ||
|
||
- echo "Test nameservice" | ||
- make docker-test-prebake | ||
- docker-compose -f hs-abci-examples/nameservice/docker-compose-test.yaml -p test-hs-abci-examples-nameservice-e2e up -d | ||
- docker-compose -f hs-abci-docs/nameservice/docker-compose-test.yaml -p test-hs-abci-examples-nameservice-e2e up -d | ||
- make test-nameservice | ||
- docker-compose -f hs-abci-examples/nameservice/docker-compose-test.yaml -p test-hs-abci-examples-nameservice-e2e down -v --rmi local | ||
- docker-compose -f hs-abci-docs/nameservice/docker-compose-test.yaml -p test-hs-abci-examples-nameservice-e2e down -v --rmi local | ||
|
||
- stage: publish website | ||
script: | ||
- echo "building website" | ||
- travis_wait 120 stack --skip-ghc-check install tintin | ||
- make build-site | ||
- make build-docs-local | ||
- mkdir -p ./hs-abci-docs/.stack-work/tintin/rendered/haddocks | ||
- find ./ -type f -name "index.html" | grep -v tintin | sed 's/index.html//g' | xargs -I {} cp -r {} hs-abci-docs/.stack-work/tintin/rendered/haddocks/ | ||
deploy: | ||
provider: pages | ||
local-dir: ./hs-abci-docs/.stack-work/tintin/rendered | ||
email: [email protected] | ||
name: Deployment Bot | ||
skip-cleanup: true | ||
github-token: $GITHUB_TOKEN | ||
keep-history: true | ||
on: | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: kepler | ||
synopsis: Haskell Cosmos SDK | ||
github: f-o-a-m/kepler | ||
author: Martin Allen | ||
authorWebsite: https://foam.space | ||
color: #5E5184 | ||
#logo: https://pbs.twimg.com/profile_images/791467713956839424/pBRQn1wt_400x400.jpg | ||
titleFont: Poiret One | ||
titleFontWeight: 400 | ||
bodyFont: PT Sans |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Thank you Apple | ||
UNAME_S := $(shell uname -s) | ||
ifeq ($(UNAME_S),Linux) | ||
SED=sed -i'' | ||
endif | ||
ifeq ($(UNAME_S),Darwin) | ||
SED=sed -i '' | ||
endif | ||
|
||
pre-process: | ||
find ./doc/ -type f,l -name "*.md" -exec $(SED) -e 's/~~~ haskell.*/```haskell/g' {} + && \ | ||
find ./doc/ -type f,l -name "*.md" -exec $(SED) -e 's/~~~/```/g' {} + | ||
|
||
tintin: | ||
tintin run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Foundations/01-Overview.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Foundations/02-BaseApp.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Foundations/03-Modules.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Tutorial/Nameservice/01-Overview.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Tutorial/Nameservice/02-Types.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Tutorial/Nameservice/03-Message.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Tutorial/Nameservice/04-Keeper.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Tutorial/Nameservice/05-Query.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Tutorial/Nameservice/06-Module.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../nameservice/tutorial/Tutorial/Nameservice/07-Application.md |
4 changes: 4 additions & 0 deletions
4
hs-abci-examples/nameservice/docs/Logging.md → hs-abci-docs/doc/98-Logging.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
hs-abci-examples/nameservice/docs/Metrics.md → hs-abci-docs/doc/99-Metrics.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: Home | ||
--- | ||
|
||
The home of Kepler. | ||
Link to [hackage](https://hackage.haskell.org/package/kepler) | ||
Link to [hs-abci-sdk](haddocks/hs-abci-sdk/) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...eservice/tutorial/Foundations/Overview.md → ...rvice/tutorial/Foundations/01-Overview.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...meservice/tutorial/Foundations/BaseApp.md → ...ervice/tutorial/Foundations/02-BaseApp.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...meservice/tutorial/Foundations/Modules.md → ...ervice/tutorial/Foundations/03-Modules.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Foundations - Module | ||
--- | ||
|
||
# Modules | ||
|
||
## Definition | ||
|
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...i-examples/nameservice/tutorial/README.md → hs-abci-docs/nameservice/tutorial/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...ce/tutorial/Tutorial/Nameservice/Types.md → ...tutorial/Tutorial/Nameservice/02-Types.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
.../tutorial/Tutorial/Nameservice/Message.md → ...torial/Tutorial/Nameservice/03-Message.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Nameservice - Message | ||
--- | ||
|
||
# Message | ||
|
||
## Message Types | ||
|
4 changes: 4 additions & 0 deletions
4
...e/tutorial/Tutorial/Nameservice/Keeper.md → ...utorial/Tutorial/Nameservice/04-Keeper.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Nameservice - Keeper | ||
--- | ||
|
||
# Keeper | ||
|
||
## Definition | ||
|
4 changes: 4 additions & 0 deletions
4
...ce/tutorial/Tutorial/Nameservice/Query.md → ...tutorial/Tutorial/Nameservice/05-Query.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Nameservice - Query | ||
--- | ||
|
||
# Query | ||
|
||
## Tutorial.Nameservice.Query | ||
|
4 changes: 4 additions & 0 deletions
4
...e/tutorial/Tutorial/Nameservice/Module.md → ...utorial/Tutorial/Nameservice/06-Module.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Nameservice - Module | ||
--- | ||
|
||
# Module | ||
|
||
## Tutorial.Nameservice.Module | ||
|
4 changes: 4 additions & 0 deletions
4
...orial/Tutorial/Nameservice/Application.md → ...al/Tutorial/Nameservice/07-Application.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Nameservice - Application | ||
--- | ||
|
||
# Application | ||
|
||
## From Modules to App | ||
|
1 change: 1 addition & 0 deletions
1
hs-abci-docs/nameservice/tutorial/Tutorial/Nameservice/Application.lhs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
07-Application.md |
1 change: 1 addition & 0 deletions
1
hs-abci-docs/nameservice/tutorial/Tutorial/Nameservice/Keeper.lhs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
04-Keeper.md |
1 change: 1 addition & 0 deletions
1
hs-abci-docs/nameservice/tutorial/Tutorial/Nameservice/Message.lhs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
03-Message.md |
1 change: 1 addition & 0 deletions
1
hs-abci-docs/nameservice/tutorial/Tutorial/Nameservice/Module.lhs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
06-Module.md |
1 change: 1 addition & 0 deletions
1
hs-abci-docs/nameservice/tutorial/Tutorial/Nameservice/Query.lhs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
05-Query.md |
File renamed without changes.
1 change: 1 addition & 0 deletions
1
hs-abci-docs/nameservice/tutorial/Tutorial/Nameservice/Types.lhs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
02-Types.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: kepler | ||
version: 1.0.0.0 | ||
github: "f-o-a-m/kepler" | ||
license: BSD3 | ||
author: "f-o-a-m" | ||
maintainer: "[email protected]" | ||
copyright: "2020 FOAM" | ||
synopsis: "Haskell cosmos sdk" | ||
description: Please see the README on GitHub at <https://github.com/f-o-a-m/kepler> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion
1
hs-abci-examples/nameservice/tutorial/Tutorial/Nameservice/Application.lhs
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
hs-abci-examples/nameservice/tutorial/Tutorial/Nameservice/Keeper.lhs
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
hs-abci-examples/nameservice/tutorial/Tutorial/Nameservice/Message.lhs
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
hs-abci-examples/nameservice/tutorial/Tutorial/Nameservice/Module.lhs
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
hs-abci-examples/nameservice/tutorial/Tutorial/Nameservice/Query.lhs
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
hs-abci-examples/nameservice/tutorial/Tutorial/Nameservice/Types.lhs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters