Commit a9fbd135 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

docs: Source code documentation build

parent 75bc5809
......@@ -286,8 +286,6 @@ Build docs:
stage: Build docs
environment: docs
image: registry.getnoc.com/infrastructure/docs:master
before_script:
- NOC_SRC_PATH=../../..
script:
- set -x
- FLIST=$(git --no-pager diff --name-only $CI_COMMIT_SHA $(git merge-base origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME $CI_COMMIT_SHA) | egrep "^docs/" || true)
......@@ -316,14 +314,12 @@ Build Master Docs:
stage: Build docs
environment: docs
image: registry.getnoc.com/infrastructure/docs:master
before_script:
- NOC_SRC_PATH=../../..
script:
- set -x
- wget -q -O- https://cdn.getnoc.com/noc/collections%40$(wget -q -O- https://cdn.getnoc.com/noc/collections.latest).tar.bz2 | tar xjf - collections/inv.platforms
- cd docs/
- python ./scripts/build-auto-include.py
- sphinx-build -a -E -b html src/en ../build/docs/en
- NOC_SRC_PATH=../../.. sphinx-build -a -E -b html src/en ../build/docs/en
- python ./scripts/build-go.py ../build/docs/en/objects.inv
tags:
- docker
......
......@@ -67,9 +67,9 @@ Fields
+------------------------+------------------+------------------------------------------------------------------------+
| service_groups | Array of Object | Service :ref:`Resource Groups<reference-resource-group>` |
+------------------------+------------------+------------------------------------------------------------------------+
| * id | String | :ref:`Resource Group's<reference-resourcegroup>` id |
| * id | String | :ref:`Resource Group's<reference-resource-group>` id |
+------------------------+------------------+------------------------------------------------------------------------+
| * name | String | :ref:`Resource Group's<reference-resourcegroup>` id |
| * name | String | :ref:`Resource Group's<reference-resource-group>` id |
+------------------------+------------------+------------------------------------------------------------------------+
| * technology | String | :ref:`Technology's<reference-technology>` name |
+------------------------+------------------+------------------------------------------------------------------------+
......@@ -77,9 +77,9 @@ Fields
+------------------------+------------------+------------------------------------------------------------------------+
| client_groups | Array of Object | Client :ref:`Resource Groups<reference-resource-group>` |
+------------------------+------------------+------------------------------------------------------------------------+
| * id | String | :ref:`Resource Group's<reference-resourcegroup>` id |
| * id | String | :ref:`Resource Group's<reference-resource-group>` id |
+------------------------+------------------+------------------------------------------------------------------------+
| * name | String | :ref:`Resource Group's<reference-resourcegroup>` id |
| * name | String | :ref:`Resource Group's<reference-resource-group>` id |
+------------------------+------------------+------------------------------------------------------------------------+
| * technology | String | :ref:`Technology's<reference-technology>` name |
+------------------------+------------------+------------------------------------------------------------------------+
......
.. _reference-resource-group:
==========
Technology
==========
==============
Resource Group
==============
.. contents:: On this page
:local:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment