--- /dev/null
+---
+version: 2
+
+formats:
+ - htmlzip
+
+build:
+ image: latest
+
+python:
+ version: 3.7
+ install:
+ - requirements: docs/requirements-docs.txt
+
+sphinx:
+ configuration: docs/conf.py
--- /dev/null
+# ==================================================================================
+#
+# Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ==================================================================================
+
+from docs_conf.conf import *
+
+linkcheck_ignore = [
+ 'http://localhost.*',
+ 'http://127.0.0.1.*',
+ 'https://gerrit.o-ran-sc.org.*'
+]
+
+#branch configuration
+branch = 'latest'
+
+#intershpinx mapping with other projects
+intersphinx_mapping = {}
+
+
+#AIMLFW deployment installation guide
+intersphinx_mapping['aimlfw-dep'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/%s' % branch, None)
--- /dev/null
+---
+project_cfg: oran
+project: aimlfw-dataextraction
+
+# Change this to ReleaseBranchName to modify the header
+version: latest
--- /dev/null
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. SPDX-License-Identifier: CC-B
+
+.. Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
+
+Welcome to O-RAN SC AIMLFW Data Extraction Documentation
+========================================================
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Contents:
+
+ overview.rst
+ release-notes.rst
+ installation-guide.rst
+
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
--- /dev/null
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+.. Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
+
+
+Installation Guide
+==================
+
+.. contents::
+ :depth: 3
+ :local:
+
+Abstract
+--------
+
+This document describes how to install AIMLFW, it's dependencies and required system resources.
+
+
+Version history
+
++--------------------+--------------------+--------------------+--------------------+
+| **Date** | **Ver.** | **Author** | **Comment** |
+| | | | |
++--------------------+--------------------+--------------------+--------------------+
+| 2022-11-30 | 1.0.0 | Joseph Thaliath | G release |
+| | | | |
++--------------------+--------------------+--------------------+--------------------+
+
+
+Introduction
+------------
+
+.. <INTRODUCTION TO THE SCOPE AND INTENTION OF THIS DOCUMENT AS WELL AS TO THE SYSTEM TO BE INSTALLED>
+
+
+Installation scripts are located in the aimlfw-dep repository and installation guide is mentioned in the following link
+
+* :doc:`AIMLFW Installation Guide <aimlfw-dep:index>`
--- /dev/null
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. SPDX-License-Identifier: CC-B
+
+.. Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
+
+
+Overview of AIMLFW Data Extraction (aiml-fw/athp/data-extraction)
+-----------------------------------------------------------------
+
+This module is responsible for data extraction and storing the data as features in a feature store for AI/ML Training
--- /dev/null
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. SPDX-License-Identifier: CC-B
+
+.. Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
+
+
+Release-Notes
+-------------
+
+This document provides the release notes for the G release of AIMLFW Data extraction module
+
+.. contents::
+ :depth: 3
+ :local:
+
+Version history
+---------------
+
++--------------------+--------------------+--------------------+--------------------+
+| **Date** | **Ver.** | **Author** | **Comment** |
+| | | | |
++--------------------+--------------------+--------------------+--------------------+
+| 2022-12-08 | 1.0.0 | Joseph Thaliath | G release |
+| | | | |
++--------------------+--------------------+--------------------+--------------------+
+
+
+Summary
+-------
+
+The G release of AIMLFW Data extraction module supports the initial version of data extraction for training from databases like Influx DB
+
+
+Release Data
+------------
+
++--------------------------------------+--------------------------------------+
+| **Project** | AIMLFW Data extraction |
+| | |
++--------------------------------------+--------------------------------------+
+| **Repo/commit-ID** | aiml-fw/athp/data-extraction |
+| | |
++--------------------------------------+--------------------------------------+
+| **Release designation** | G release |
+| | |
++--------------------------------------+--------------------------------------+
+| **Release date** | 2022-12-15 |
+| | |
++--------------------------------------+--------------------------------------+
+| **Purpose of the delivery** | AIMLFW Data extraction |
+| | |
++--------------------------------------+--------------------------------------+
+
--- /dev/null
+sphinx
+sphinx_rtd_theme>=1.0.0
+docutils<0.17
+sphinxcontrib-httpdomain
+recommonmark
+lfdocs-conf
# ==================================================================================
[tox]
-envlist = code
+envlist = code,docs,docs-linkcheck
skipsdist = true
# basic test and coverage job
commands =
pytest --cov-report term-missing --cov-report xml --cov-report html --cov-fail-under=30 --junitxml=/tmp/tests.xml --cov={toxinidir}/dataextraction/
coverage xml -i
+
+# Docs
+
+[testenv:docs]
+basepython = python3
+deps =
+ sphinx
+ sphinx-rtd-theme
+ sphinxcontrib-httpdomain
+ recommonmark
+ lfdocs-conf
+
+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
+
+[testenv:docs-linkcheck]
+basepython = python3
+deps = sphinx
+ sphinx-rtd-theme
+ sphinxcontrib-httpdomain
+ recommonmark
+ lfdocs-conf
+commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck