-
Notifications
You must be signed in to change notification settings - Fork 5
/
make_cli_docs.sh
executable file
·40 lines (33 loc) · 1.94 KB
/
make_cli_docs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
mkdir -p tmp
echo "
- [Installing The Operators](rhoai_installing_operators.md)
- [Installing The OpenShift Pipeline Operator](rhoai_openshift_pipeline_operator_cli.md)
- [Installing The OpenShift AI Operator](rhoai_openshiftai_operator_cli.md)
- [Installing The NVIDIA GPU Operator](blank.md)
- [Node Feature Discovery](nvidia_node_discovery_operator_cli.md)
- [NVIDIA Operator](nvidia_operator_cli.md)
- [NVIDIA Cluster Monitoring](nvidia_cluster_monitoring_cli.md)
- [NVIDIA - Configuring Time Slicing](nvidia_time_slicing_cli.md)
- [Workbench Basics](rhoai_workbench_generic.md)
- [Setting Up A Workbench](rhoai_workbench_cli.md)
- [Rolebindings](rhoai_rbac_generic.md)
- [Workbench RBAC](rhoai_rbac_cli.md)
- [Default PVC For Notebookes](rhoai_pvc_notebook_generic.md)
- [Workbench PVC](rhoai_pvc_notebooks_cli.md)
- [Custom Notebook Sizes](rhoai_custom_notebook_size_cli.md)
- [Dealing With Idle Notebooks](rhoai_idle_notebooks_generic.md)
- [Workbench Idle Notebooks](rhoai_idle_notebooks_cli.md)
- [Creating A Pipeline Server](rhoai_pipeline_server_generic.md)
- [Pipeline Servers](rhoai_pipeline_server_cli.md)
" > tmp/summary.md
cd tmp
for file in rhoai_idle_notebooks_cli.md rhoai_custom_notebook_size_cli.md rhoai_openshiftai_operator_cli.md rhoai_openshift_pipeline_operator_cli.md rhoai_pipeline_server_cli.md rhoai_pvc_notebooks_cli.md rhoai_rbac_cli.md rhoai_workbench_cli.md nvidia_time_slicing_cli.md nvidia_operator_cli.md nvidia_node_discovery_operator_cli.md nvidia_cluster_monitoring_cli.md; do
ln -s ../CLI/"${file}"
done
touch blank.md
for file in rhoai_idle_notebooks_generic.md rhoai_pipeline_server_generic.md rhoai_pvc_notebook_generic.md rhoai_rbac_generic.md rhoai_workbench_generic.md rhoai_installing_operators.md; do
ln -s ../generic/"${file}"
done
cd ..
./stitchmd -C tmp -o ../rendered/OpenShift_AI_CLI.md tmp/summary.md
rm -rf tmp