diff options
author | Rich Bennett <rb2745@att.com> | 2018-05-31 08:40:36 -0400 |
---|---|---|
committer | Rich Bennett <rb2745@att.com> | 2018-05-31 08:47:54 -0400 |
commit | d504dc8a03a9e885056980daa39cfddfa720305e (patch) | |
tree | ac1d77c09457f16f6306652942ffe7bf37ea4542 /docs/guides/onap-developer/how-to-use-docs/addendum.rst | |
parent | 795452f4608f6145bec3ea181bae51da1b59d17a (diff) |
Updates to How To Create Documentation
Integrating with doc project named release branch
Code review of verify job console and html build
How to use Read Docs URLs
Doc8, formating, and reference link corrections
Change-Id: If8ba97632045ec9542fd4bf1b2213a1bac5fd61d
Issue-ID: DOC-270
Signed-off-by: Rich Bennett <rb2745@att.com>
Diffstat (limited to 'docs/guides/onap-developer/how-to-use-docs/addendum.rst')
-rw-r--r-- | docs/guides/onap-developer/how-to-use-docs/addendum.rst | 56 |
1 files changed, 42 insertions, 14 deletions
diff --git a/docs/guides/onap-developer/how-to-use-docs/addendum.rst b/docs/guides/onap-developer/how-to-use-docs/addendum.rst index 2d8a25cfa..d51a41df3 100644 --- a/docs/guides/onap-developer/how-to-use-docs/addendum.rst +++ b/docs/guides/onap-developer/how-to-use-docs/addendum.rst @@ -1,4 +1,5 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. This work is licensed under a Creative Commons Attribution 4.0 +.. International License. http://creativecommons.org/licenses/by/4.0 Addendum ======== @@ -50,7 +51,7 @@ Writing RST Markdown See http://sphinx-doc.org/rest.html . **Hint:** -You can add html content that only appears in html output by using the +You can add html content that only appears in html output by using the 'only' directive with build type ('html' and 'singlehtml') for an ONAP document. But, this is not encouraged. @@ -82,7 +83,7 @@ Now, to generate a index entry in your RST, do one of the following: .. code-block:: rst - Some content that requires an :index:`index`. + Some content that requires an :index:`index`. or @@ -112,22 +113,49 @@ Verify Job The verify job name is **doc-{stream}-verify-rtd** -Proposed changes in files in any repository with the path +Proposed changes in files in any repository with top level docs folder +in the repository and RST files in below this folder +will be verified by this job as part of a gerrit code review. -.. bash +.. Important:: + The contributing author and every reviewer on a gerrit code review + should always review the Jenkins log before approving and merging a + change. The log review should include: - docs/**/*.rst - -will be verified by this job prior to a gerrit code review. -Please check the Jenkins log carefully for warnings. -You can improve your document even if the verify job succeeded. + * Using a browser or other editor to search for a pattern in the + *console log* that matches files in the patch set. This will quickly + identify errors and warnings that are related to the patch set and + repository being changed. + + * Using a browser to click on the *html* folder included in the log + and preview how the proposed changes will look when published at + Read The Docs. Small changes can be easily made in the patch set. + UML and Graphviz defined diagrams do not currently + render in the verify job log, but will render at Read The Docs + when the change is merged. Merge Job +++++++++ The merge job name is **doc-{stream}-merge-rtd**. -When a committer merges a patch that includes files matching the path described above, -the doc project merge job will trigger an update at readthedocs. -This might take about 15 minutes while readthedocs -builds the documentation. +When a committer merges a patch that includes files matching the +path described above, the doc project merge job will trigger an +update at readthedocs. There may be some delay after the merge job +completes until new version appears at Read The Docs. + +Read The Docs URLs +------------------ + +When referencing versions of documentation a Read The Docs the following +URL conventions should be used + + +----------------------------------+----------------------------------------+ + | URL | To Refer to | + +==================================+========================================+ + | docs.onap.org | Most recent approved named release | + +----------------------------------+----------------------------------------+ + | docs.onap.org/en/latest | Latest master branch all projects | + +----------------------------------+----------------------------------------+ + | docs.onap.org/en/*named release* | An approved name release eg. amsterdam | + +----------------------------------+----------------------------------------+ |