Skip to content

Commit

Permalink
fix: downgrade mdbook to fix breaking relative links (#82)
Browse files Browse the repository at this point in the history
* fix: downgrade mdbook to fix relative links

* fix: use proper prophet-core path
  • Loading branch information
xorsal authored Nov 26, 2024
1 parent bf1b482 commit de6997a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.40'

- name: Install node
uses: actions/setup-node@v3
Expand Down
6 changes: 3 additions & 3 deletions build-docs.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash

root_path="solidity/interfaces"
core_path="node_modules/@defi-wonderland/prophet-core-contracts"
core_path="node_modules/@defi-wonderland/prophet-core"

# generate docs in a temporary directory
temp_folder="technical-docs"

mkdir ./solidity/contracts/core
mkdir ./solidity/interfaces/core
mkdir -p ./solidity/contracts/core
mkdir -p ./solidity/interfaces/core
cp -r $core_path/solidity/contracts/* ./solidity/contracts/core
cp -r $core_path/solidity/interfaces/* ./solidity/interfaces/core

Expand Down

0 comments on commit de6997a

Please sign in to comment.