+<!--
# ==================================================================================
#
# Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
# limitations under the License.
#
# ==================================================================================
-#This folder contains all files realted to training manager.
-#To install training maager as package
-pip3 install .
\ No newline at end of file
+-->
+This folder contains all files realted to training manager.
+
+## To install training maager as package
+
+``` bash
+pip3 install .
+```
+<!--
# ==================================================================================
#
# Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
# limitations under the License.
#
# ==================================================================================
-#Change the current working directory to home directory
-tm
-# Directory struture
-tm
-|__tests
-|__trainingmgr
-|setup.py
+-->
+## Directory struture
+```
+tm
+├──tests
+├──trainingmgr
+└──setup.py
+```
## Prerequisite to run the test cases
+> Change the current working directory to home directory
Install training manager itself as python package
+``` bash
pip3 install .
+```
## Install modelmetricsdk and featurestoresdk as python packages
- git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store" /tmp/fssdk/
- git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage" /tmp/modelsdk/
+``` bash
+git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store" /tmp/fssdk/
+git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage" /tmp/modelsdk/
- pip3 install /tmp/fssdk/.
- pip3 install /tmp/modelsdk/.
+pip3 install /tmp/fssdk/.
+pip3 install /tmp/modelsdk/.
+```
## Install all python dependecy packages
+``` bash
pip3 install -r requirements_test.txt
+```
-# Example to run test cases.
-
-# Generate test report
-python3 -m pytest -rA . --capture=tee-sys --cov-report term-missing --cov-report xml:coverage.xml --cov-report html:htmlcov --junitxml test-reports/junit.xml --cov=./trainingmgr/
\ No newline at end of file
+## Example to run test cases along with generating test reports.
+``` bash
+python3 -m pytest -rA . --capture=tee-sys --cov-report term-missing --cov-report xml:coverage.xml --cov-report html:htmlcov --junitxml test-reports/junit.xml --cov=./trainingmgr/
+```
commands =
sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
echo "Generated docs available in {toxinidir}/docs/_build/html"
-whitelist_externals = echo
+allowlist_externals = echo
[testenv:docs-linkcheck]
basepython = python3