Skip to content

Commit

Permalink
Fix bug in ./script/combined-haddock.sh (#6263)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana authored Jul 1, 2024
1 parent 115c3df commit c74136f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/combined-haddock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ haddock \


echo "Assembling top-level doc-index.json"
for file in $(find "${OUTPUT_DIR}" -name "*.doc-index.json"); do
for file in $(find "${OUTPUT_DIR}" -name "*doc-index.json"); do
project=$(basename "$(dirname "$file")");
jq ".[] | .link = \"${project}/\(.link)\"" "${file}"
done |
Expand Down Expand Up @@ -203,6 +203,8 @@ fi

# These are the currently broken links which incluce some non-sensical URLs and other edge-cases.
BROKEN_LINKS=(
"file:///.*/haddocks/plutus-tx/PlutusTx-Prelude.html https://hackage.haskell.org/package/hashable-1.4.6.0/docs/Data-Hashable-Class.html"
"file:///.*/haddocks/plutus-tx/PlutusTx-Prelude.html https://hackage.haskell.org/package/random-1.2.1.2/docs/System-Random-Internal.html"
"file:///.*/haddocks/plutus-tx/PlutusTx-Prelude.html file:///.*/plutus-tx/Data-Aeson-Types-FromJSON.html"
"file:///.*/haddocks/plutus-tx/PlutusTx-Prelude.html file:///.*/plutus-tx/Data-Aeson-Types-ToJSON.html"
"file:///.*/haddocks/plutus-tx/PlutusTx-Prelude.html file:///.*/plutus-tx/Basement-Numerical-Subtractive.html"
Expand Down

0 comments on commit c74136f

Please sign in to comment.