pytorch/caffe2/python/docs
Orion Reblitz-Richardson b28d5a3586 Build doxygen docs with cmake and fix catalog generation
Summary:
This updates https://github.com/caffe2/caffe2/pull/1096/ to build doxygen docs with cmake and fixes operator catalog generation. See the new README.md for details, but you can run

```
mkdir build && cd build
cmake -DBUILD_DOCS=ON .. && make
```
and

```
python caffe2/python/docs/github.py ~/c2docs/_docs/operators-catalogue.md
```

to generate docs.

There was one weird issue in `generator.py` that we sometimes receive tuples and sometimes objects. I handled this just by testing `isinstance`, but we might want to be more principled in the future.
Closes https://github.com/caffe2/caffe2/pull/1758

Reviewed By: pietern

Differential Revision: D6752127

Pulled By: orionr

fbshipit-source-id: 9ba9ad8efc920b27a57327f8a7d3050f3650d4ce
2018-01-18 18:47:59 -08:00
..
formatter.py Re-license to Apache 2017-09-28 16:22:00 -07:00
generator.py Build doxygen docs with cmake and fix catalog generation 2018-01-18 18:47:59 -08:00
github.py Build doxygen docs with cmake and fix catalog generation 2018-01-18 18:47:59 -08:00
parser.py Re-license to Apache 2017-09-28 16:22:00 -07:00