Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
fa13953
update with jeans input on authentication
chrisk2020 Oct 18, 2019
307c0f9
Merge pull request #4 from clear-treasury/develop
chrisk2020 Oct 18, 2019
fa724c4
update documentation based from swagger/ generated docs
chrisk2020 Dec 5, 2019
b7e9b8f
clarify BookQuote
chrisk2020 Dec 5, 2019
5da36fe
build docs
chrisk2020 Dec 5, 2019
fefd618
Merge pull request #5 from clear-treasury/develop
chrisk2020 Dec 5, 2019
965d03e
remove webhooks from docs
chrisk2020 Dec 5, 2019
ade7aed
Merge pull request #6 from clear-treasury/develop
chrisk2020 Dec 5, 2019
8029587
Update all docs to latest generated
rpowis Jan 16, 2020
819f5b1
Link error code 418 to MDN page explaining it
rpowis Jan 16, 2020
36467fa
Build and deploy
rpowis Jan 16, 2020
3efb077
Update deploy config
rpowis Jan 16, 2020
05c86e3
Revert "Update deploy config"
rpowis Jan 16, 2020
addfcaf
Add client_ref to statements and update response
rpowis Jan 29, 2020
0f3bb1c
Execute deploy script as npm script
rpowis Jan 29, 2020
ad4aaea
Remove and ignore build dir
rpowis Jan 29, 2020
9734d74
Update build and deploy scripts
rpowis Jan 29, 2020
32d1c95
Ignore generated files as they're now on the gh-pages branch
rpowis Jan 29, 2020
940491a
Add client_ref to statements request example
rpowis Jan 29, 2020
79d66c3
Css updates to create "Clear Treasury API"
chrisk2020 Jan 29, 2020
e73d2ab
Update site title
rpowis Jan 29, 2020
ae5b5c3
Remove token endpoint for now
rpowis Jan 29, 2020
06c9416
Update trade example request params
rpowis Feb 3, 2020
fe9a876
Add initial schema definition for client object
rpowis Feb 3, 2020
0c12569
Split out each section into its own file
rpowis Feb 3, 2020
bd9b1ce
Add registration endpoint
rpowis Feb 3, 2020
846b1d7
Update the example registration response object
rpowis Feb 3, 2020
820b069
Update with latest generated docs info
rpowis Feb 12, 2020
0fad409
Update errors docs
rpowis Feb 13, 2020
a03dac0
Update access info to better explain tokens
rpowis Feb 13, 2020
313ee4f
Add missing backslashes from curl examples
rpowis Feb 13, 2020
b707bab
Update access info
rpowis Feb 14, 2020
485a292
Update info for client endpoints
rpowis Feb 14, 2020
bc08d7c
Update info for quotes endpoints
rpowis Feb 15, 2020
120c024
Update info for quotes endpoints
rpowis Feb 15, 2020
5c5bb11
Update info for book-a-trade
rpowis Feb 15, 2020
46f0d47
Update info for payments
rpowis Feb 18, 2020
3682755
Update list payments response object
rpowis Feb 18, 2020
0e8dfd2
Update beneficiary info
rpowis Feb 18, 2020
1d06b97
Update beneficiary SWIFT example
rpowis Feb 18, 2020
4d3907a
Update trades request object
rpowis Feb 18, 2020
83731a0
Add data for iterating quotes tests in postman
rpowis Feb 18, 2020
50f5056
Add countries and currencies info
rpowis Feb 18, 2020
b4c7052
Update countries and currencies info
rpowis Feb 18, 2020
57b39e9
Unnest comment
rpowis Feb 18, 2020
3b2e1dd
Update individual GET endpoint info
rpowis Feb 24, 2020
5a6465e
Add notes file
rpowis Mar 21, 2020
279f193
Update payments
rpowis Dec 18, 2020
671f8a4
+ holiday page
Jean2v Jan 28, 2025
5f2e23d
+ holidays page
Jean2v Jan 30, 2025
abc1153
+1
Jean2v Jan 30, 2025
e2a444a
+ deploy yml
Jean2v Jan 30, 2025
cca5950
+1
Jean2v Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy Slate Docs

on:
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Ruby and Bundler
run: |
sudo apt-get update
sudo apt-get install -y ruby-full build-essential
gem install bundler

- name: Build Slate
run: |
bundle install --path vendor/bundle
bundle exec middleman build --clean

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
/node_modules/
/package-lock.json
/build/
/docs/

# Extraneous system files
.DS_Store
/.vs/VSWorkspaceState.json
/.vs/api-documentation/config/applicationhost.config
/.vs/api-documentation/FileContentIndex
/.vs/api-documentation/v17
/.vs
5 changes: 5 additions & 0 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"instructed_amount": how much the client wants to pay
"received_amount": currency sold. what CT received
"paid_amount": how much of the instructed amount has been paid

more detailed status explinations in docs
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ parse_args() {
# Set internal option vars from the environment and arg flags. All internal
# vars should be declared here, with sane defaults if applicable.
# Source directory & target branch.
deploy_directory=build
deploy_directory=docs
deploy_branch=gh-pages
#if no user identity is already set in the current git environment, use this:
default_username=${GIT_DEPLOY_USERNAME:-deploy.sh}
Expand Down
1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

Binary file removed docs/fonts/slate.ttf
Binary file not shown.
Binary file removed docs/fonts/slate.woff
Binary file not shown.
Binary file removed docs/fonts/slate.woff2
Binary file not shown.
Binary file removed docs/images/bookmark.png
Binary file not shown.
Binary file removed docs/images/logo.png
Binary file not shown.
Binary file removed docs/images/navbar.png
Binary file not shown.
Loading