Skip to content

Commit f5cbfe4

Browse files
author
Murilo Marinho
committed
[docs] Adding submodules.
1 parent 2904897 commit f5cbfe4

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

.github/workflows/build_html.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
run: npm install -g mystmd
3737
- name: Build HTML Assets
3838
run: |
39-
cd docs
39+
cd docs/scripts
40+
./pre_build.sh
41+
cd ..
4042
myst build --html
4143
- name: Upload artifact
4244
uses: actions/upload-pages-artifact@v3

docs/myst.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ project:
2424
toc:
2525
- file: README.md
2626
- file: installation.md
27-
- file: tutorial.md
27+
- title: "Modules"
28+
children:
29+
- file: submodules/docker-coppeliasim/README.md
30+
- file: submodules/sas_ur_control_template/README.md
31+
- file: submodules/sas_kuka_control_template/README.md
2832
- file: CHANGELOG.md
2933

3034
site:

docs/scripts/pre_build.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
set -e
3+
4+
# Submodules
5+
cd .. # This script is meant to be called in its own directory
6+
mkdir -p submodules
7+
cd submodules
8+
9+
git clone https://github.com/SmartArmStack/docker-coppeliasim.git --single-branch --depth=1
10+
git clone https://github.com/MarinhoLab/sas_ur_control_template.git --single-branch --depth=1
11+
git clone https://github.com/MarinhoLab/sas_kuka_control_template.git --single-branch --depth=1

0 commit comments

Comments
 (0)