-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcreate-docs-structure.sh
More file actions
executable file
·50 lines (43 loc) · 1.05 KB
/
Copy pathcreate-docs-structure.sh
File metadata and controls
executable file
·50 lines (43 loc) · 1.05 KB
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
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
#
# Script to create the complete documentation structure
# for BeagleV-Fire Space-ROS project
#
set -e
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DOCS_DIR="${PROJECT_ROOT}/docs"
echo "Creating documentation structure..."
# Create docs directory
mkdir -p "${DOCS_DIR}"
# List of documentation files to create
DOC_FILES=(
"overview.rst"
"hardware.rst"
"installation.rst"
"building.rst"
"architecture.rst"
"recipes.rst"
"customization.rst"
"fpga.rst"
"troubleshooting.rst"
"contributing.rst"
)
# Check which files already exist
echo ""
echo "Documentation Status:"
echo "===================="
for doc in "${DOC_FILES[@]}"; do
if [ -f "${DOCS_DIR}/${doc}" ]; then
echo "[EXISTS] ${doc}"
else
echo "[MISSING] ${doc}"
fi
done
echo ""
echo "Documentation structure check complete!"
echo ""
echo "To create missing files, use the artifacts provided."
echo "Place them in: ${DOCS_DIR}/"
echo ""
echo "Directory structure:"
tree -L 2 "${PROJECT_ROOT}" || ls -la "${PROJECT_ROOT}"