Skip to content

Commit

Permalink
Documentation fix - use remappings.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed May 9, 2023
1 parent a759ff1 commit 657c72a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/gendoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ GENERATED_DOCFILE=${BUILD}/solcdoc.json

echo generate natspec output ${DOCFILE}
SRCS="contracts/**/*.sol contracts/*.sol"
solc --devdoc --userdoc --include-path node_modules/ --base-path . ${SRCS} > ${DOCFILE}
REMAPPINGS=$(cat remappings.txt | xargs echo)
solc --devdoc --userdoc --base-path . ${REMAPPINGS} ${SRCS} > ${DOCFILE}
echo generate doc json ${GENERATED_DOCFILE}
bin/parse_solcdoc.py ${DOCFILE} ${GENERATED_DOCFILE}

0 comments on commit 657c72a

Please sign in to comment.