mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Add configuration for Read The Docs integration
This commit is contained in:
@@ -20,6 +20,17 @@
|
||||
# import sys
|
||||
# sys.path.insert(0, os.path.abspath('.'))
|
||||
|
||||
import subprocess, os
|
||||
|
||||
read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
|
||||
|
||||
if read_the_docs_build:
|
||||
output_directory = '../../build/documentation'
|
||||
if not os.path.exists(output_directory):
|
||||
os.makedirs(output_directory)
|
||||
|
||||
subprocess.call('doxygen', shell=True)
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
breathe
|
||||
Reference in New Issue
Block a user