| 56 | breathe_default_project = 'BrainFlowCpp' |
| 57 | |
| 58 | def configure_doxyfile(input_dir, output_dir, project): |
| 59 | with open('Doxyfile.in', 'r') as file : |
| 60 | filedata = file.read() |
| 61 | |
| 62 | filedata = filedata.replace('@DOXYGEN_INPUT_DIR@', input_dir) |
| 63 | filedata = filedata.replace('@DOXYGEN_OUTPUT_DIR@', output_dir) |
| 64 | filedata = filedata.replace('@DOXYGEN_PROJECT@', project) |
| 65 | |
| 66 | with open('Doxyfile', 'w') as file: |
| 67 | file.write(filedata) |
| 68 | |
| 69 | # Check if we're running on Read the Docs' servers |
| 70 | read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True' |