Check-in [ef7149ad37]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Convert special home page name.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wip-userguide
Files: files | file ages | folders
SHA1:ef7149ad37255f32be4ab7ea626afb2f37c628b7
User & Date: stephanie.gawroriski 2020-07-28 14:43:33
Context
2020-07-28
14:48
Convert home link. check-in: fc1188c19f user: stephanie.gawroriski tags: wip-userguide
14:43
Convert special home page name. check-in: ef7149ad37 user: stephanie.gawroriski tags: wip-userguide
14:39
Correct links and properly cleanup. check-in: acbfef5bfb user: stephanie.gawroriski tags: wip-userguide
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to .circleci/squirreljme-wikify-user-guide.sh.

35
36
37
38
39
40
41





42

43
44
45
46
47
48




49

50
51
52
53
54
55
56
	exit 1
fi

# Convert to GitHub name
__toGitHubName()
{
	__srcName="$1"





	echo "$__srcName" | sed 's/\.mkd$/\.markdown/'

}

# Convert to Fossil name
__toFossilName()
{
	__srcName="$1"




	echo "$__srcName" | sed 's/\.markdown$/\.mkd/'

}

# Remove any other old files
find "$__gith" -type f | grep -e '\.mkd$' -e '\.md$' | while read __githFile
do
	echo "Removing old file $__githFile..."
	(cd "$__gith" && git rm -f "$__githFile")







>
>
>
>
>
|
>






>
>
>
>
|
>







35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
	exit 1
fi

# Convert to GitHub name
__toGitHubName()
{
	__srcName="$1"
	
	if [ "$__srcName" = "readme.mkd" ]
	then
		echo "Home.markdown"
	else
		echo "$__srcName" | sed 's/\.mkd$/\.markdown/'
	fi
}

# Convert to Fossil name
__toFossilName()
{
	__srcName="$1"
	if [ "$__srcName" = "Home.markdown" ]
	then
		echo "readme.mkd"
	else
		echo "$__srcName" | sed 's/\.markdown$/\.mkd/'
	fi
}

# Remove any other old files
find "$__gith" -type f | grep -e '\.mkd$' -e '\.md$' | while read __githFile
do
	echo "Removing old file $__githFile..."
	(cd "$__gith" && git rm -f "$__githFile")