docs: Fix links to API usage examples (#701)

* fix links to python apis
* add links to repo for example code
* fix `WARNING: Pygments lexer name is not known`

Signed-off-by: Peter Park <Peter.Park@amd.com>

[ROCm/amdsmi commit: 5d0a39fa9d]
This commit is contained in:
Park, Peter
2025-09-19 11:07:38 -04:00
committed by GitHub
parent e0995ce7a0
commit 26841f86c0
5 changed files with 19 additions and 17 deletions
@@ -1306,7 +1306,7 @@ Example:
print(e)
```
Refer to amd_smi_cper_example.py for a complete example
Refer to [amd_smi_cper_example.py](https://github.com/ROCm/amdsmi/blob/amd-mainline/example/amd_smi_cper_example.py) for a complete example.
### amdsmi_get_afids_from_cper
@@ -1343,7 +1343,7 @@ Example:
print(e)
```
Refer to amd_smi_afid_example.py for a complete example
Refer to [amd_smi_afid_example.py](https://github.com/ROCm/amdsmi/blob/amd-mainline/example/amd_smi_afid_example.py) for a complete example.
### amdsmi_get_gpu_ras_feature_info