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>
Этот коммит содержится в:
Park, Peter authored and GitHub committed 2025-09-19 10:07:38 -05:00
1 родитель 6715c5aa92
Коммит 5d0a39fa9d
5 files changed
+19 -17

No files matched your search

+2 -2
Просмотреть файл
@@ -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