Documentation v1.4.1
This directory contains the comprehensive documentation for the SerDes Validation Framework, including new REST API and Jupyter Dashboard documentation.
Building the Documentation
Install documentation dependencies:
pip install -r requirements.txt
Build the documentation:
sphinx-build -b html . _build/html
View the documentation:
python -m http.server --directory _build/html
Directory Structure
docs/
├── api/ # 🆕 Enhanced API documentation (v1.4.1)
│ ├── rest-api.md # 🆕 Complete REST API reference
│ ├── index.md
│ ├── mock_controller.md # Mock controller docs
│ ├── instrument_control.md # Instrument control docs
│ ├── eth_224g.md # 224G protocol docs
│ └── pam4_analysis.md # PAM4 analysis docs
├── tutorials/ # Tutorials
│ ├── getting_started.md # Getting started guide
│ ├── mock_testing.md # Mock testing tutorial
│ ├── 224g_validation.md # 224G validation guide
│ └── pam4_analysis.md # PAM4 analysis guide
├── guides/ # 🆕 Enhanced user guides (v1.4.1)
│ ├── installation.md # Installation guide
│ ├── testing.md # Comprehensive testing guide (130+ tests)
│ ├── troubleshooting.md # Troubleshooting guide
│ ├── cicd.md # CI/CD integration guide
│ ├── jupyter_dashboard_guide.md # 🆕 Jupyter Dashboard guide
│ └── stress_testing_overview.md # 🆕 Stress testing guide
├── examples/ # 🆕 Enhanced code examples (v1.4.1)
│ ├── api_examples.md # 🆕 REST API usage examples
│ ├── mock_controller_examples.md
│ ├── testing_examples.md
│ ├── protocol_detection_examples.md
│ └── integration_testing_examples.md
├── CHANGELOG.md # 🆕 Detailed changelog with v1.4.1 improvements
├── CONTRIBUTING.md # Contribution guide
├── INSTALL.md # Installation guide
└── USAGE.md # 🆕 Updated usage guide with API examples
🆕 New Documentation in v1.4.1
REST API Documentation
Complete API Reference (
api/rest-api.md) - All 8 endpoints documentedUsage Examples (
examples/api_examples.md) - Comprehensive API usage patternsInteractive Documentation - Available at
/docswhen API server is running
Jupyter Dashboard Documentation
Dashboard Guide (
guides/jupyter_dashboard_guide.md) - Interactive eye diagram analysisUsage Examples - Multi-protocol dashboard examples
Integration Guide - How to integrate with existing workflows
Stress Testing Documentation
Stress Testing Overview (
guides/stress_testing_overview.md) - Dual stress testing systemsLoopback Testing - Progressive degradation simulation
USB4-Specific Testing - Protocol-aware stress scenarios
Documentation Standards
Use Markdown syntax
Include type hints in code examples
Validate floating-point numbers
Provide clear error messages
Include example usage
🆕 Include API endpoint documentation with request/response examples
🆕 Provide interactive dashboard usage patterns
Adding New Documentation
Create your
.mdfile in the appropriate directoryAdd it to the toctree in index.md
Link it from relevant pages
Build and test locally
Submit a pull request