We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62cf97e commit 103c650Copy full SHA for 103c650
contracts/scripts/serveDoc.sh
@@ -0,0 +1,15 @@
1
+#!/bin/bash
2
+
3
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4
5
+# Remove unsupported natspec tags
6
+# Known issue: https://github.com/foundry-rs/foundry/issues/4118
7
+for tag in authors reviewers auditors bounties deployments tools
8
+do
9
+ find $SCRIPT_DIR/../src/ -type f -name '*.sol' | xargs sed -i '' "/^.*@$tag.*$/d"
10
+done
11
12
+echo "Use 'git restore src/' to revert the changes"
13
14
+forge doc --serve
15
0 commit comments