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
9 files changed
tree: f4ab4ca7e62e14d2abe51e884a2a949506bf880c
  1. .github/
  2. .jenkins/
  3. .travis/
  4. caffe/
  5. caffe2/
  6. cmake/
  7. conda/
  8. docker/
  9. docs/
  10. modules/
  11. scripts/
  12. third_party/
  13. .gitattributes
  14. .gitignore
  15. .gitmodules
  16. .travis.yml
  17. appveyor.yml
  18. CMakeLists.txt
  19. LICENSE
  20. Makefile
  21. NOTICE
  22. README.md
  23. release-notes.md
  24. setup.py
  25. VERSION_NUMBER
README.md

Caffe2

License Jenkins Build Status Appveyor Build Status

Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.

Questions and Feedback

Please use Github issues (https://github.com/caffe2/caffe2/issues) to ask questions, report bugs, and request new features.

Please participate in our survey (https://www.surveymonkey.com/r/caffe2). We will send you information about new releases and special developer events/webinars.

License

Caffe2 is released under the Apache 2.0 license. See the NOTICE file for details.

Further Resources on Caffe2.ai