You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i "s/# Table of Contents/# Python client\n\n_WARNING: you are on the master branch, please refer to the docs on the branch that matches your \`cortex version\`_/g"$ROOT/docs/miscellaneous/python_client.md
36
+
sed -i "s/# Table of Contents/# Python client\n\n_WARNING: you are on the master branch, please refer to the docs on the branch that matches your \`cortex version\`_/g"$ROOT/docs/miscellaneous/python-client.md
37
37
38
38
# delete links
39
-
sed -i "/<a name=/d"$ROOT/docs/miscellaneous/python_client.md
39
+
sed -i "/<a name=/d"$ROOT/docs/miscellaneous/python-client.md
40
40
41
41
# delete unnecessary section headers
42
-
sed -i "/_](#cortex\.client\.Client\.__init__)/d"$ROOT/docs/miscellaneous/python_client.md
43
-
sed -i "/\* \[Client](#cortex\.client\.Client)/d"$ROOT/docs/miscellaneous/python_client.md
42
+
sed -i "/_](#cortex\.client\.Client\.__init__)/d"$ROOT/docs/miscellaneous/python-client.md
43
+
sed -i "/\* \[Client](#cortex\.client\.Client)/d"$ROOT/docs/miscellaneous/python-client.md
44
44
# fix section link/header
45
-
sed -i "s/\* \[cortex\.client](#cortex\.client)/\* [cortex\.client\.Client](#cortex-client-client)/g"$ROOT/docs/miscellaneous/python_client.md
46
-
sed -i "s/# cortex\.client/# cortex\.client\.Client/g"$ROOT/docs/miscellaneous/python_client.md
45
+
sed -i "s/\* \[cortex\.client](#cortex\.client)/\* [cortex\.client\.Client](#cortex-client-client)/g"$ROOT/docs/miscellaneous/python-client.md
46
+
sed -i "s/# cortex\.client/# cortex\.client\.Client/g"$ROOT/docs/miscellaneous/python-client.md
47
47
# delete unnecessary section body
48
-
sed -i "/# cortex.client.Client/,/## deploy/{//!d}"$ROOT/docs/miscellaneous/python_client.md
49
-
sed -i "s/# cortex.client.Client/# cortex.client.Client\n/g"$ROOT/docs/miscellaneous/python_client.md
48
+
sed -i "/# cortex.client.Client/,/## deploy/{//!d}"$ROOT/docs/miscellaneous/python-client.md
49
+
sed -i "s/# cortex.client.Client/# cortex.client.Client\n/g"$ROOT/docs/miscellaneous/python-client.md
50
50
51
51
# fix table of contents links
52
-
sed -i "s/](#cortex\./](#/g"$ROOT/docs/miscellaneous/python_client.md
53
-
sed -i "s/](#client\.Client\./](#/g"$ROOT/docs/miscellaneous/python_client.md
52
+
sed -i "s/](#cortex\./](#/g"$ROOT/docs/miscellaneous/python-client.md
53
+
sed -i "s/](#client\.Client\./](#/g"$ROOT/docs/miscellaneous/python-client.md
54
54
55
55
# indentdation
56
-
sed -i "s/ \* / \* /g"$ROOT/docs/miscellaneous/python_client.md
57
-
sed -i "s/#### /## /g"$ROOT/docs/miscellaneous/python_client.md
56
+
sed -i "s/ \* / \* /g"$ROOT/docs/miscellaneous/python-client.md
57
+
sed -i "s/#### /## /g"$ROOT/docs/miscellaneous/python-client.md
58
58
59
59
# whitespace
60
-
sed -i 's/[[:space:]]*$//'$ROOT/docs/miscellaneous/python_client.md
0 commit comments