--- /dev/null
+# documentation
+.tox
+docs/_build/
--- /dev/null
+---
+version: 2
+
+formats:
+ - htmlzip
+
+build:
+ image: latest
+
+python:
+ version: 3.7
+ install:
+ - requirements: docs/requirements-docs.txt
+
+sphinx:
+ configuration: docs/conf.py
RUN cd build/odu && make clean_all odu MACHINE=BIT64 MODE=FDD
-CMD /opt/o-du-l2/bin/odu/odu
+#CMD /opt/o-du-l2/bin/odu/odu -f ../config/ssi_mem
RUN cd build/odu && make clean_all cu_stub MACHINE=BIT64 MODE=FDD
-CMD /opt/o-du-l2/bin/cu_stub/cu_stub
+#CMD /opt/o-du-l2/bin/cu_stub/cu_stub -f ../config/ssi_mem
a. common : contains individual module's makefile
b. config : contains SSI memory configuration
c. odu : contains main makefile to generate an executable binary
+
+2. l2/docs/ : contains README and other configuration files for building docs
2. l2/src/ : contains layer specific source code
a. 5gnrmac : MAC source code
--- /dev/null
+from docs_conf.conf import *
+linkcheck_ignore = [
+ 'http://localhost.*',
+ 'http://127.0.0.1.*',
+ 'https://gerrit.o-ran-sc.org.*'
+]
--- /dev/null
+---
+project_cfg: oran
+project: o-du-l2
--- /dev/null
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. SPDX-License-Identifier: CC-BY-4.0
+
+
+Welcome to O-RAN SC o-du-l2 Documentation
+===========================================
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Contents:
+
+ overview.rst
+ release-notes.rst
+
+
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
--- /dev/null
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. SPDX-License-Identifier: CC-BY-4.0
+
+
+O-DU implements the functional blocks of L2 layer of a 5G NR protocol stacks.
+These layers primarily include NR MAC and NR RLC layers.
+In order to manage these layers, DU_APP submodule has been introduced which can be comsidered as the
+master module of O-DU.
+
+
+
+o-du-l2 Overview
+======================
Version history
----------------
+===============
+--------------------+--------------------+--------------------+--------------------+
| **Date** | **Ver.** | **Author** | **Comment** |
--- /dev/null
+sphinx
+sphinx-rtd-theme
+sphinxcontrib-httpdomain
+recommonmark
+lfdocs-conf
--- /dev/null
+# documentation only
+[tox]
+minversion = 2.0
+envlist =
+ docs,
+ docs-linkcheck,
+skipsdist = true
+
+[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