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>
This commit is contained in:
Park, Peter
2025-09-19 11:07:38 -04:00
committed by GitHub
parent 6715c5aa92
commit 5d0a39fa9d
5 changed files with 19 additions and 17 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ driver and make sure that any resources held by AMD SMI are released.
1. A simple "Hello World" type program that displays the temperature of detected
devices.
```note
```{note}
Sample build example:
$ g++ -I/opt/rocm/include <file_name>.cc -L/opt/rocm/lib -lamd_smi -o <filename>
@@ -158,7 +158,7 @@ driver and make sure that any resources held by AMD SMI are released.
2. A sample program that displays the power of detected CPUs.
```note
```{note}
Sample build example:
$ g++ -DENABLE_ESMI -I/opt/rocm/include <file_name>.cc -L/opt/rocm/lib -lamd_smi -o <filename>