builddoc.rst 910 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .. _develop_builddoc:
  2. Build Nuclei SDK Documentation
  3. ==============================
  4. In Nuclei SDK, we use Sphinx and restructured text as documentation tool.
  5. Here we only provide steps to build sphinx documentation in Linux environment.
  6. Install Tools
  7. -------------
  8. To build this the documentation, you need to have these tools installed.
  9. * Python3
  10. * Python Pip tool
  11. Then you can use the pip tool to install extra python packages required to
  12. build the documentation.
  13. .. code-block:: shell
  14. pip install -r doc/requirements.txt
  15. Build The Documentation
  16. -----------------------
  17. Then you can build the documentation using the following command:
  18. .. code-block:: shell
  19. # cd to document folder
  20. cd doc
  21. # Build Sphinx documentation
  22. make html
  23. The documentation will be generated in *doc/build/html* folder.
  24. You can open the *doc/build/html/index.html* in your browser to view
  25. the details.