From 7fbf23f0cec008281082c026272a194111119b76 Mon Sep 17 00:00:00 2001 From: Cosimo Bassi <65770425+cusma@users.noreply.github.com> Date: Sat, 9 Sep 2023 01:58:55 +0200 Subject: [PATCH] Link live images (#17) --- .github/workflows/mdbook.yml | 14 ++++++++++---- .github/workflows/plot.yaml | 1 + .github/workflows/test.yaml | 2 +- docs/2_1_timeseries.md | 12 ++++++------ docs/2_2_snapshot.md | 8 ++++---- 5 files changed, 22 insertions(+), 15 deletions(-) diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 4d0b684..9d7e4ff 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -1,4 +1,4 @@ -name: Deploy PPos Dex mdBook to GitHub Pages +name: Deploy mdBook on: push: @@ -23,7 +23,8 @@ jobs: name: Build PPoS Dex mdBook runs-on: ubuntu-latest env: - MDBOOK_VERSION: 0.4.21 + MDBOOK_VERSION: 0.4.30 + steps: - uses: actions/checkout@v3 - name: Install mdBook @@ -31,13 +32,17 @@ jobs: curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh rustup update cargo install --version ${MDBOOK_VERSION} mdbook + - name: Setup Pages id: pages uses: actions/configure-pages@v3 - - name: Build PPoS Dex mdBook + + - name: Build mdBook run: mdbook build - - name: Test PPoS Dex mdBook + + - name: Test mdBook run: mdbook test + - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: @@ -50,6 +55,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + steps: - name: Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/plot.yaml b/.github/workflows/plot.yaml index 05ed6ab..da515ca 100644 --- a/.github/workflows/plot.yaml +++ b/.github/workflows/plot.yaml @@ -11,6 +11,7 @@ permissions: jobs: plots: + name: PPoS Dex Plots runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 08bffbd..e1108cb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,4 +1,4 @@ -name: PPoS Dex Test +name: Test on: pull_request: diff --git a/docs/2_1_timeseries.md b/docs/2_1_timeseries.md index 646512f..288762c 100644 --- a/docs/2_1_timeseries.md +++ b/docs/2_1_timeseries.md @@ -4,26 +4,26 @@ ## ALGO Dynamics -![Timeseries ALGO Dynamics](images/timeseries/algo_dynamics.png) +![Timeseries ALGO Dynamics](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/timeseries/algo_dynamics.png) ## Accounts Participation -![Timeseries Accounts Participation](images/timeseries/accounts_prt.png) +![Timeseries Accounts Participation](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/timeseries/accounts_prt.png) ## ALGO Inequality -![Timeseries ALGO Inequality](images/timeseries/algo_inequality.png) +![Timeseries ALGO Inequality](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/timeseries/algo_inequality.png) ## PPoS Inequality (Bounded) -![Timeseries PPoS Inequality Bounded](images/timeseries/ppos_inequality_b.png) +![Timeseries PPoS Inequality Bounded](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/timeseries/ppos_inequality_b.png) ## PPoS Inequality (Unbounded) -![Timeseries PPoS Inequality Unbounded](images/timeseries/ppos_inequality_unb.png) +![Timeseries PPoS Inequality Unbounded](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/timeseries/ppos_inequality_unb.png) ## PPoS Dex -![Timeseries PPoS Dex](images/timeseries/ppos_dex.png) +![Timeseries PPoS Dex](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/timeseries/ppos_dex.png) --- diff --git a/docs/2_2_snapshot.md b/docs/2_2_snapshot.md index 6ab1a63..6b4a0bd 100644 --- a/docs/2_2_snapshot.md +++ b/docs/2_2_snapshot.md @@ -4,18 +4,18 @@ ## ALGO Dynamics -![Snapshot ALGO Dynamics](images/snapshot/algo_dynamics.png) +![Snapshot ALGO Dynamics](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/snapshot/algo_dynamics.png) ## Accounts Participation -![Snapshot Accounts Participation](images/snapshot/accounts_prt.png) +![Snapshot Accounts Participation](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/snapshot/accounts_prt.png) ## PPoS Inequality -![Snapshot PPoS Inequality](images/snapshot/ppos_inequality.png) +![Snapshot PPoS Inequality](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/snapshot/ppos_inequality.png) ## PPoS Dex -![Snapshot PPoS Dex](images/snapshot/ppos_dex.png) +![Snapshot PPoS Dex](https://raw.githubusercontent.com/cusma/pposdex/images/docs/images/snapshot/ppos_dex.png) ---