Skip to content

Commit ed25db1

Browse files
docs: fix README inclusion and trailing transition markers
- Exclude README.md from documentation build via conf.py patterns - Resolve "Document may not end with transition" errors in 19 MD files - Remove trailing `---` markers from documentation content files - Add validation checks for Markdown syntax boundaries - Maintain project root README while hiding from rendered docs
1 parent 792ffe9 commit ed25db1

21 files changed

+39
-65
lines changed

docs/CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Thank you for considering contributing to the SerDes Validation Framework! We we
3232
3333
## Code of Conduct
3434
35-
Please follow our [Code of Conduct](CODE_OF_CONDUCT.md) when contributing.
35+
Please follow our [Code of Conduct] when contributing.
3636
3737
## Reporting Issues
3838
@@ -44,6 +44,4 @@ If you encounter any issues or bugs, please open an issue on GitHub and provide
4444
- Write clear, concise, and meaningful commit messages.
4545
- Ensure that your code is well-documented with comments and docstrings.
4646
47-
Thank you for your contributions!
48-
49-
---
47+
Thank you for your contributions!

docs/INSTALL.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,4 @@ def configure_hardware_testing(
312312

313313
- [Contributing Guide](CONTRIBUTING.md)
314314
- [Environment Configuration](guides/environment_vars.md)
315-
- [Troubleshooting Guide](guides/troubleshooting.md)
316-
317-
---
315+
- [Troubleshooting Guide](guides/troubleshooting.md)

docs/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ docs/
3636
│ └── pam4_analysis.md # PAM4 analysis guide
3737
├── guides/ # User guides
3838
│ ├── instrument_setup.md # Hardware setup guide
39+
│ ├── testing.md # Testing guide
3940
│ ├── troubleshooting.md # Troubleshooting guide
4041
│ └── environment_vars.md # Environment config guide
4142
├── examples/ # Code examples
@@ -60,6 +61,4 @@ docs/
6061
2. Add it to the toctree in index.md
6162
3. Link it from relevant pages
6263
4. Build and test locally
63-
5. Submit a pull request
64-
65-
---
64+
5. Submit a pull request

docs/USAGE.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,4 @@ def run_hardware_example() -> None:
461461

462462
- [Installation Guide](INSTALL.md)
463463
- [Contributing Guide](CONTRIBUTING.md)
464-
- [Mock Testing Tutorial](tutorials/mock_testing.md)
465-
466-
---
464+
- [Mock Testing Tutorial](tutorials/mock_testing.md)

docs/api/eth_224g.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,4 @@ def validate_measurements(
418418

419419
- [PAM4 Analysis API](pam4_analysis.md)
420420
- [Mock Controller API](mock_controller.md)
421-
- [224G Validation Tutorial](../tutorials/224g_validation.md)
422-
423-
---
421+
- [224G Validation Tutorial](../tutorials/224g_validation.md)

docs/api/index.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class MeasurementResults:
144144

145145
## Module Organization
146146

147-
```plaintext
147+
```
148148
serdes_validation_framework/
149149
├── instrument_control/
150150
│ ├── controller.py # Base controller
@@ -238,16 +238,8 @@ Complete examples are available in the tutorials:
238238
- [224G Validation](../tutorials/224g_validation.md)
239239
- [PAM4 Analysis](../tutorials/pam4_analysis.md)
240240

241-
## API Reference
242-
243-
- [Complete Class Reference](classes.md)
244-
- [Module Reference](modules.md)
245-
- [Error Reference](errors.md)
246-
247241
## See Also
248242

249243
- [Installation Guide](../INSTALL.md)
250244
- [Usage Guide](../USAGE.md)
251-
- [Contributing Guide](../CONTRIBUTING.md)
252-
253-
---
245+
- [Contributing Guide](../CONTRIBUTING.md)

docs/api/instrument_control.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,4 @@ def run_test_sequence(
434434

435435
- [Mock Controller Documentation](mock_controller.md)
436436
- [Testing Guide](../guides/testing.md)
437-
- [Equipment Setup](../guides/instrument_setup.md)
438-
439-
---
437+
- [Equipment Setup](../guides/instrument_setup.md)

docs/api/mock_controller.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,4 @@ All tests completed successfully!
347347

348348
- [Instrument Control API](instrument_control.md)
349349
- [Testing Guide](../guides/testing.md)
350-
- [Environment Configuration](../guides/environment_vars.md)
351-
352-
---
350+
- [Environment Configuration](../guides/environment_vars.md)

docs/api/pam4_analysis.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,4 @@ def analyze_pam4_signal(
434434
## See Also
435435

436436
- [224G Ethernet API](eth_224g.md)
437-
- [PAM4 Analysis Tutorial](../tutorials/pam4_analysis.md)
438-
439-
---
437+
- [PAM4 Analysis Tutorial](../tutorials/pam4_analysis.md)

docs/conf.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,26 @@
3636
'substitution', # Substitutions
3737
'tasklist', # Task lists
3838
]
39+
myst_heading_anchors = 6 # Enable heading anchors up to 6 levels
40+
myst_footnote_transition = False # Disable automatic footnote transitions
41+
suppress_warnings = [
42+
"myst.xref_missing",
43+
"myst.header"
44+
]
3945

4046
# Templates and themes
4147
templates_path = ['_templates']
4248
html_theme = 'sphinx_rtd_theme'
4349
html_static_path = ['_static']
4450

4551
# Files to exclude
46-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
52+
exclude_patterns = [
53+
'_build',
54+
'Thumbs.db',
55+
'.DS_Store',
56+
'README.md'
57+
]
58+
4759

4860
# Source file configurations
4961
source_suffix = {

0 commit comments

Comments
 (0)