Skip to content

Commit 8215778

Browse files
committed
Fix some pathing issues on the last NI-DAQmx commit.
1 parent b5071bd commit 8215778

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ def run_apidoc(_):
235235
Also manually strips out some irrelevant stuff."""
236236
from sphinx.ext.apidoc import main
237237
daq_models_path = os.path.join(os.path.abspath('..'),'labscript_devices')
238-
out_path = os.path.join(os.path.dirname(Path(__file__)),'devices','_apidoc')
239-
templates_path = os.path.join(os.path.dirname(Path(__file__)),'_templates')
238+
out_path = os.path.join(os.path.dirname(Path(__file__)),'devices','_apidoc','models')
239+
templates_path = os.path.join(os.path.dirname(Path(__file__)),'_templates','models')
240240
main(['-TMf','-s','inc',
241241
'-t', templates_path,
242242
'-o',out_path,daq_models_path])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Sub-Classed NI DAQ Models
22
=========================
33

4-
.. include:: _apidoc/labscript_devices.NI_DAQmx.models.inc
4+
.. include:: _apidoc/models/labscript_devices.NI_DAQmx.models.inc

0 commit comments

Comments
 (0)