docs: (fixes #226) figures, introspection, and directory crawling

This commit is contained in:
Tommaso Pecorella
2020-06-11 22:49:46 +00:00
parent dfff6f57c3
commit 4b138220fa
3 changed files with 4 additions and 2 deletions

View File

@@ -415,6 +415,8 @@ IMAGES_EPS = \
$(FIGURES)/nist-frame-success-rate-n.eps \
$(FIGURES)/nist-frame-success-rate-ac.eps \
$(FIGURES)/nist-frame-success-rate-ax.eps \
$(FIGURES)/wifi-11a-p-1500-adhoc-r-54-min-5-max-50-step-5-throughput.eps \
$(FIGURES)/wifi-11g-p-1500-infrastructure-r-6-min-5-max-50-step-5-throughput.eps \
$(FIGURES)/ca-rrc-reconf.eps \
$(FIGURES)/ca-lte-enb-net-device-changes.eps \
$(FIGURES)/ca-lte-ue-net-device-changes.eps \

View File

@@ -205,7 +205,7 @@ fi
# This seems not always done automatically
# by Sphinx when rebuilding
cd doc 2>&1 >/dev/null
for d in {manual,models,tutorial/build/{single,}html/_static/ ; do
for d in {manual,models,tutorial}/build/{single,}html/_static/ ; do
if [ ! -d $d ]; then
mkdir -p $d
fi

View File

@@ -1273,7 +1273,7 @@ def _print_introspected_doxygen(bld):
# NS_COMMANDLINE_INTROSPECTION=".." test.py --nowaf --constrain=example
Logs.info("Running CommandLine introspection")
proc_env['NS_COMMANDLINE_INTROSPECTION'] = '..'
subprocess.run(["test.py", "--nowaf", "--constrain=example"],
subprocess.run(["./test.py", "--nowaf", "--constrain=example"],
env=proc_env, stdout=subprocess.DEVNULL)
doxygen_out = os.path.join('doc', 'introspected-command-line.h')