diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2016-07-28 04:42:10 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2016-07-28 04:42:10 -0400 |
| commit | 508584830e65fc08ea3a756dfa651670c9e01217 (patch) | |
| tree | 9e017014a11eb9581acbfdfd04b668a803259ef7 /docs/dev | |
| parent | 7ef76305ac2e893a9c25776236c5e58c554aafb9 (diff) | |
more work on getting started, new documentation help, remove head links
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/documentation.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/dev/documentation.md b/docs/dev/documentation.md new file mode 100644 index 00000000..830bd4ec --- /dev/null +++ b/docs/dev/documentation.md @@ -0,0 +1,39 @@ +# Building Documentation + +## CLA + +To contribute to the Binary Ninja documentation, first sign the [contribution license agreement] and send it to [Vector 35]. + +## Prerequisites + +- [sphinx] +- [breathe] (note that on windows, breathe needs a small [fix]) +- [mkdocs] +- [doxygen] + + +## Building + + git clone https://github.com/Vector35/binaryninja-api/ + cd binaryninja-api + cd api + mkdocs build + echo User documentation available in site/ + cd api-docs + make html + echo API documentation available in build/html + +## Changing +Changing documentation for the API itself is fairly straight forward. Use [doxygen style comment blocks](https://www.stack.nl/~dimitri/doxygen/manual/docblocks.html) in C++ and C, and [restructured text blocks](http://thomas-cokelaer.info/tutorials/sphinx/docstring_python.html) for python for the source. The user documentation is located in the `api/docs/` folder and the API documentation is generated from the config in the `api/api-docs` folder. + +!!! Tip "Tip" + When updating user documentation, the `mkdoc serve` feature is particularly helpful. + +[contribution license agreement]: https://binary.ninja/cla.pdf +[Vector 35]: https://vector35.com/ +[fix]: https://github.com/michaeljones/breathe/issues/271 +[mkdocs]: http://www.mkdocs.org/ +[breathe]: https://github.com/michaeljones/breathe +[sphinx]: http://www.sphinx-doc.org/en/stable/index.html +[doxygen]: http://www.stack.nl/~dimitri/doxygen/ +[doxblocks]: doxygen |
