Commit dff87bc0 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

Updated docs/src/conf.py to generate code documentation.

parent 085cd1bd
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -157,16 +157,21 @@ pages:csp-lmc-mid:
  tags:
    - docker-executor
  stage: pages
  dependencies:
    - test
  only:
    - master
  script:
    - ls -lR      
    - cd $BUILD_PATH
    - ls -la      
    - cp -R build public
    - mv build/htmlcov/* public  
  artifacts:
    paths:
      - public
    expire_in: 30 days
  variables:
    BUILD_PATH: csp-lmc-mid/docker

#
# Release csp-lmc-mid image on nexus
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ test: build up ## test the application
	  status=$$?; \
	  rm -fr build; \
          #docker-compose $(COMPOSE_FILE_ARGS) logs;
	  docker cp $(BUILD):/build $(DOCKER_BUILD_CONTEXT); \
	  docker cp $(BUILD):/build .; \
	  docker rm -f -v $(BUILD); \
	  $(MAKE) down; \
	  exit $$status
+2 −2
Original line number Diff line number Diff line
@@ -18,13 +18,13 @@
#autodoc_mock_imports = ['PyTango', 'tango', 'tango.server','run', 'DeviceMeta', 'command',
#                 'future', 'future.utils', 'logging', 'logging.handlers', 'skabase',
#                 'skabase.auxiliary', 'skabase.SKAMaster.SKAMaster', 'SKAMaster',
#                 'skabase.SKASubarray.SKASubarray', 'SKASubarray','numpy'
#                 'skabase.SKASubarray.SKASubarray', 'SKASubarray','numpy
#                 ]
autodoc_member_order = 'bysource'

import os
import sys
sys.path.append(os.path.abspath('../../csp-lmc-common/csp_lmc_common'))
sys.path.append(os.path.abspath('../../csp-lmc-common/'))

import sphinx_rtd_theme