# HG changeset patch # User Tuomo Valkonen # Date 1670308153 -7200 # Node ID f5b9f4bf25a728bb8745db97de34c1baeb9bee53 # Parent 465fa2121ccb130324a7b514f06093738cc355fb cargo-d alias generation with a cargo-d script diff -r 465fa2121ccb -r f5b9f4bf25a7 misc/cargo-d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc/cargo-d Tue Dec 06 08:29:13 2022 +0200 @@ -0,0 +1,4 @@ +#!/bin/sh +RUSTDOCFLAGS="--html-in-header misc/katex-header.html" cargo d --no-deps "$@" + + \ No newline at end of file diff -r 465fa2121ccb -r f5b9f4bf25a7 misc/doc_alias.sh --- a/misc/doc_alias.sh Sun Nov 20 00:23:43 2022 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -# source this file. use cargo rustdoc or cargo d --no-deps no build the documentation. -echo 'Creating cargo-d alias' -alias cargo-d='RUSTDOCFLAGS="--html-in-header misc/katex-header.html" BROWSER=/Applications/Firefox.app/Contents/MacOS/firefox-bin cargo d --no-deps' - - \ No newline at end of file