File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 101101 []
102102 (cli/format-opts (merge cli-spec {:order (vec (sort (keys (:spec cli-spec))))})))
103103
104+ (def excluded-links
105+ #{" /events/metabase-setup-workshop" " /learn/building-analytics/dashboards/cross-filtering" })
106+
104107(defn -main [& args]
105108 (let [opts (try (cli/parse-opts args cli-spec)
106109 (catch Exception _
125128 _ (println (count redirects) " unique redirect links gathered from in _docs." )
126129 _ (println (count external-or-missing-links) " reported links without redirects." )
127130 _ (println " Checking if the missing links are live on https://metabase.com ..." )
128- out (check-broken-links external-or-missing-links)]
131+ out (check-broken-links ( remove excluded-links external-or-missing-links) )]
129132 (println " >>>>>>>>>> htmlproofer links <<<<<<<<<" )
130133 (doseq [l (sort (set htmlproofer-links))]
131134 (println " " l))
150153(when (= *file* (System/getProperty " babashka.file" ))
151154 (apply -main *command-line-args*))
152155
153-
154- (comment
155-
156-
157- )
158-
159156(comment
160157
161158 (def opts {:htmlproofer-output " htmlproofer.out" })
You can’t perform that action at this time.
0 commit comments