Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

ci: fix rpc docs generation, take 2 #9550

Merged
merged 1 commit into from
Sep 13, 2018
Merged
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions scripts/gitlab/rpc-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ upload_files() {
git push --tags
}

RPC_TRAITS_DIR="rpc/src/v1/traits/"
RPC_TRAITS_DIR="rpc/src/v1/traits"

setup_git
clone_repos
mkdir -p "jsonrpc/.parity/$RPC_TRAITS_DIR"
cp -r "$RPC_TRAITS_DIR" "jsonrpc/.parity/$RPC_TRAITS_DIR"
cp $RPC_TRAITS_DIR/*.rs "jsonrpc/.parity/$RPC_TRAITS_DIR"
cd jsonrpc
build_docs
cd ..
Expand Down