1 .. two dots create a comment. please leave this logo at the top of each of your rst files.
3 How to create documentation for your OPNFV project
4 ==================================================
6 this is the directory structure of the docs/ directory that can be found in the root of your project directory
10 ./yourfolder_name1/file_name1.rst
11 ./yourfolder_nameN/file_nameX.rst
12 ./documentation-example.rst
15 To create your own documentation, Create any number of directories (depending on your need) and place in each of them an index.rst.
16 This index file must refence your other rst files.
18 * Here is an example index.rst
22 Example Documentation table of contents
23 =======================================
31 documentation-example.rst
46 When you push documentation changes to gerrit a jenkins job will create html documentation.
49 For verify jobs a link to the documentation will show up as a comment in gerrit for you to see the result.
53 Once you are happy with the look of your documentation you can submit the patchset the merge job will copy the output of each documentation directory to http://artifacts.opnfv.org/$project/docs/$name_of_your_folder/index.html
55 Here are some quick examples of how to use rst markup
59 here is some code, note that it is indented
61 links are easy to add: Here is a link to sphinx, the tool that we are using to generate documetation http://sphinx-doc.org/
69 echo "Heres is a code block with bash syntax highlighting"
72 Leave these at the bottom of each of your documents they are used internally