Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Follow the described steps if you need to migrate DeveloperWiki content to ReadTheDocs:

01. Read the "DeveloperWiki and ReadTheDocs Usage Policy"

  • To understand the reason behind this migration task and to know what DeveloperWiki content we are targeting it is essential to read and understand the TSC approved policy.

02. Identify formal ONAP documentation content in the DeveloperWiki

03. Label the DeveloperWiki page(s) to show the "Migration to ReadTheDocs in Progress"

  • On top of the page please add the following label. Add the correct date and your name.
  • Example for a "Migration in Progress"
Warning
titleMigration to ReadTheDocs in Progress

Further updates must be done in the corresponding RST file(s) by following the build process for documentation.
25.04.2019, Your.Name

04. Update the Migration Tracking Information

05. Export DeveloperWiki page(s)

  • Depending on the type and number of Confluence macros used to design the page, the quality of the export will vary. "Simple" Confluence pages with no macros allow much better results than pages which are using e.g. the "Deck of Cards" macro (see example) or others.
  • Workaround: Copy the needed content to a new "Blanc Page" without using problematic macros and export it instead of the original page.
  • The script "c2m.sh" automates the export of (multiple) pages. See Doc Tools page for a description of available tools, capabilities and limitations.

06. Prepare Content for usage in ReadTheDocs

  • Check and correct the export results (restructuredText). 

07. Contribute to the ONAP Master Branch

08. Label the DeveloperWiki page(s) as "Migrated to ReadTheDocs" or "Deprecated Content"

  • On top of the page please add one of the following labels. Add the correct date and your name.
  • Example for "Migrated Content"

...

Warning
titleDeprecated Content

25.04.2019, Your.Name

09. Archive the DeveloperWiki page(s)

  • Migrated (or deprecated) content must be moved from the Confluence space "DW" to the Confluence space "Deprecated".
  • To archive the migrated/deprecated DeveloperWiki page, go to the top of page, open the page menu "[...]" on the right side and choose the "Move" command. Move the page below "Migrated or Deprecated Documentation". 

10. Update the Migration Tracking Information

  • Remove the provided migration information on this page. Edit the section "DeveloperWiki ContentCurrently under evaluation".
  • Information at "DeveloperWiki Content - Already evaluated/migrated" is updated automatically after you have archived the migrated DeveloperWiki page(s).
  • Close the Jira ticket

...