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
echo '</div><div class="footer">🦀 <strong>MCP Rust Tutorial</strong> | Built with ❤️ for the Rust Community</div></body></html>' >> target/doc/tutorials/mcp_rust_tutorial.html
512
-
513
-
echo "✅ Beautiful tutorial HTML created successfully!"
514
-
else
515
-
echo "⚠️ Tutorial markdown not found, creating placeholder..."
echo '<h1>🚧 Tutorial Coming Soon</h1><p>The comprehensive MCP Rust tutorial will be available soon.</p></div></body></html>' >> target/doc/tutorials/mcp_rust_tutorial.html
518
-
fi
494
+
# Convert markdown to beautiful HTML using pandoc
495
+
if [ -f "mcp_rust_tutorial.md" ]; then
496
+
echo "Converting tutorial markdown to beautiful HTML..."
--metadata title="MCP Rust Tutorial - Complete Learning Resource" 2>/dev/null; then
511
+
512
+
# Add closing tags
513
+
echo '</div><div class="footer">🦀 <strong>MCP Rust Tutorial</strong> | Built with ❤️ for the Rust Community</div></body></html>' >> target/doc/tutorials/mcp_rust_tutorial.html
514
+
echo "✅ Beautiful tutorial HTML created successfully with pandoc!"
-o target/doc/tutorials/mcp_rust_tutorial.html 2>/dev/null; then
526
+
527
+
echo '</div><div class="footer">🦀 <strong>MCP Rust Tutorial</strong> | Built with ❤️ for the Rust Community</div></body></html>' >> target/doc/tutorials/mcp_rust_tutorial.html
528
+
echo "✅ Tutorial HTML created with basic pandoc conversion!"
echo '</div><div class="footer">🦀 <strong>MCP Rust Tutorial</strong> | Built with ❤️ for the Rust Community</div></body></html>' >> target/doc/tutorials/mcp_rust_tutorial.html
537
+
echo "✅ Tutorial HTML created with Python markdown!"
538
+
fi
539
+
fi
540
+
else
541
+
echo "⚠️ Tutorial markdown not found, creating placeholder..."
echo '<h1>🚧 Tutorial Coming Soon</h1><p>The comprehensive MCP Rust tutorial will be available soon.</p></div></body></html>' >> target/doc/tutorials/mcp_rust_tutorial.html
0 commit comments