src_docs/make_docs.py
def _get_module_names_from_index_rst():
        """Reads the modules of the python api from the index.rst"""
        module_names = []
        with open('index.rst', 'r') as f:
            for line in f:
                m = re.match(
                    '\s*MAKE_DOCS/python_api/([^\s]*)\s*(.*)\s*$', line)
                # m = re.match('^\s*python_api/(.*)\s*$', line)
                if m:
                    module_names.append((m.group(1), m.group(2)))
        return module_names
Reads the modules of the python api from the index.rst
Reads the modules of the python api from the index.rst
Reads the modules of the python api from the index . rst
def _get_module_names_from_index_rst():
        module_names = []
        with open('index.rst', 'r') as f:
            for line in f:
                m = re.match(
                    '\s*MAKE_DOCS/python_api/([^\s]*)\s*(.*)\s*$', line)
                if m:
                    module_names.append((m.group(1), m.group(2)))
        return module_names
def _get_module_names_from_index_rst ( ) : module_names = [ ] with open ( 'index.rst' , 'r' ) as f : for line in f : m = re . match ( '\s*MAKE_DOCS/python_api/([^\s]*)\s*(.*)\s*$' , line ) if m : module_names . append ( ( m . group ( 1 ) , m . group ( 2 ) ) ) return module_names
Reads the modules of the python api from the index.rst
Reads the modules of the python api from the index . rst
"""Reads the modules of the python api from the index.rst""" # m = re.match('^\s*python_api/(.*)\s*$', line)