gen_doc.sh 820 字节
Newer Older
W
Wang,Jeff 已提交
1
#!/bin/bash
Z
Zeng Jinle 已提交
2

Z
Zeng Jinle 已提交
3 4 5 6
for module in nn
do
  python gen_doc.py --module_name layers.${module} --module_prefix layers --output layers/${module} --to_multiple_files True
done
Z
Zeng Jinle 已提交
7

Z
Zeng Jinle 已提交
8
for module in control_flow io ops tensor learning_rate_scheduler detection metric_op
Z
Zeng Jinle 已提交
9
do
Z
Zeng Jinle 已提交
10
  python gen_doc.py --module_name layers.${module} --module_prefix layers --output layers/${module}.rst
Z
Zeng Jinle 已提交
11
done 
W
Wang,Jeff 已提交
12

T
Tao Luo 已提交
13
for module in data_feeder dataset clip metrics executor initializer io nets optimizer profiler regularizer transpiler recordio_writer backward average profiler unique_name
W
Wang,Jeff 已提交
14
do
Z
Zeng Jinle 已提交
15
  python gen_doc.py --module_name ${module} --module_prefix ${module} --output ${module}.rst
W
Wang,Jeff 已提交
16 17
done

Z
Zeng Jinle 已提交
18 19 20 21
python gen_doc.py --module_name "" --module_prefix "" --output fluid.rst

python gen_module_index.py layers.nn nn
python gen_module_index.py layers fluid.layers
Z
Zeng Jinle 已提交
22 23

python gen_index.py
Z
Zeng Jinle 已提交
24