Jump to: navigation, search

Difference between revisions of "Documentation/Migrate"

m (End User Guide Migration)
(API Reference Plan)
 
(715 intermediate revisions by 36 users not shown)
Line 1: Line 1:
 
== Doc Migration from DocBook to RST Overview ==
 
== Doc Migration from DocBook to RST Overview ==
 
 
We are currently migrating the End User Guide and Admin User Guide to RST. Feel free to sign up for a chapter in the section below. We plan to enable more migrations with the End User Guide and Admin User Guide as our first phase.
 
 
 
Previously, we migrated the <service>-api repos from DocBook to RST. These were API reference documents that were meant for the contributor developer to know what was going into an API. So, the history of that document was forged as a specification. As projects beyond swift and nova were added, projects made similar documents. They're output to HTML at http://docs.openstack.org/api/api-specs.html. However, as we now have a <project>-specs repo, it makes sense to move to those repos. In that move, also it makes sense to migrate to RST rather than DocBook/WADL.
 
Previously, we migrated the <service>-api repos from DocBook to RST. These were API reference documents that were meant for the contributor developer to know what was going into an API. So, the history of that document was forged as a specification. As projects beyond swift and nova were added, projects made similar documents. They're output to HTML at http://docs.openstack.org/api/api-specs.html. However, as we now have a <project>-specs repo, it makes sense to move to those repos. In that move, also it makes sense to migrate to RST rather than DocBook/WADL.
  
 
== Migration Conventions ==
 
== Migration Conventions ==
  
Follow the existing [[Documentation/Markup_conventions|existing markup conventions for RST]].  
+
Follow the RST markup conventions in the [http://docs.openstack.org/contributor-guide/rst-conv.html OpenStack Documentation Contributor Guide] .  
 
 
When in doubt, use simpler markup. This guidance means revise the text to not use tables, and avoid cross-references that are difficult to maintain.
 
  
 
=== Headings ===
 
=== Headings ===
Line 56: Line 50:
  
 
If the conversion outputs Note as a heading, change it to use the .. note:: directive.
 
If the conversion outputs Note as a heading, change it to use the .. note:: directive.
 
There is a styling bug at https://bugs.launchpad.net/openstack-manuals/+bug/1416572 where the admonitions are not output like the prototype.
 
  
 
=== Line numbers in code blocks ===
 
=== Line numbers in code blocks ===
Line 72: Line 64:
  
 
List of bugs or missing features for the Sphinx template, openstackdocstheme: https://bugs.launchpad.net/openstack-manuals/+bugs?field.tag=openstackdocstheme
 
List of bugs or missing features for the Sphinx template, openstackdocstheme: https://bugs.launchpad.net/openstack-manuals/+bugs?field.tag=openstackdocstheme
 
How to get numbered list continuation to work when you have a table in a step?
 
 
How to get numbered list continuation to work when you have a bulleted list between list items?
 
 
How do we address converting files with conditional or audience profiling ?
 
 
How to get get embedded .. note: directives to work between numbered list items?
 
  
 
Can you have line breaks in something with inline semantic markup like :guilabel: at the end of the line? For example:
 
Can you have line breaks in something with inline semantic markup like :guilabel: at the end of the line? For example:
Line 91: Line 75:
 
That line is longer than 79 characters, so Attachments`. must be on the second line, but when you do that, the HTML output is incorrect.
 
That line is longer than 79 characters, so Attachments`. must be on the second line, but when you do that, the HTML output is incorrect.
  
== Migration How To ==
+
Since RST documents impose a 79 character limit when building files in .rst format. When tables exceed that limit, a list table role can help create content in a new table without exceeding the character limit. The issue is when a table is generated by an OpenStack service, and returned as a result of a command. These tables are constructed with +, -, and | characters. The table created by a list table role has solid lines forming rows, columns, and cells. The content is similar, however users might be surprised by a table with solid lines rather than a table built with +, -, and | characters.
 +
 
 +
Large scale content inside tables.
 +
 
 +
When building tables with a list table role, some items that appear inside the table cells might exceed the 79 character limit. Is there a solution to recreating this large scale content in a table such that it does not affect the character limit?
 +
 
 +
The :orphan: role and references.
  
'''Note:''' If you don't want to use tox, install these prereqs locally: pip install sphinx; pip install openstackdocstheme and then switch to the directory containing a conf.py and run sphinx-build /path/to/source/ path/to/build/ to get html output by default.
+
Files with an :orphan: role at the top of the file, not included in the toc tree, will not link to another file when the :ref: role is used to link to the file from a different file. Is there a solution to this linking issue?
  
Because Sphinx builds have dependent requirements it is best to work with in a virtual environment. Fortunately the openstack-manuals project already has tox set up so that you can create a virtualenv that contains the required dependencies. To use it, do this on a Mac or Ubuntu machine with Python and pip already installed:
+
Pandoc conversion problems.
  
Clone the openstack-manuals repo.
+
When converting files with Pandoc, some entries in the .xml file will not convert accurately. Procedure titles and sub section titles will not parse correctly, and will be deleted from the converted document. Pandoc also removes procedure numbering. Currently, the solution is to compare the complete .rst file to the built .xml version, and check the headings, subheadings, and procedure numbers to make sure they are correct, and line up with original. This is an issue that could also be discussed.
  
Change directories into openstack-manuals.
+
*Contact details for RST issues that we can't solve:
 +
** Author: David Goodger
 +
** Contact: docutils-develop@lists.sourceforge.net
  
Run this:
+
== Migration How To ==
  
tox -e py27
+
'''Note:''' If you don't want to use tox, install these prereqs locally: pip install sphinx; pip install openstackdocstheme and then switch to the directory containing a conf.py and run sphinx-build /path/to/source/ path/to/build/ to get html output by default.
  
When you get a congratulations message, run this:
+
Because Sphinx builds have dependent requirements it is best to work with in a virtual environment. Fortunately the openstack-manuals project already has tox set up so that you can create a virtualenv that contains the required dependencies. To use it, do this on a Mac or Ubuntu machine with Python and pip already installed:
  
 +
# Clone the openstack-manuals repository.
 +
# Change directories into openstack-manuals.
 +
# Run this:
 +
#:  <pre>tox -e py27</pre>
 +
# When you get a congratulations message, run this:
 
Mac/Ubuntu:
 
Mac/Ubuntu:
 
+
<pre>source .tox/py27/bin/activate</pre>
source .tox/py27/bin/activate
 
  
 
Windows:
 
Windows:
 
+
<pre> source .tox/py27/Scripts/activate</pre>
source .tox/py27/Scripts/activate
 
  
 
Your prompt should now have (py27) as a preface.
 
Your prompt should now have (py27) as a preface.
Line 125: Line 120:
 
When the build is finished, you can open doc/playground-user-guide/build/html/index.html to view the resulting output.
 
When the build is finished, you can open doc/playground-user-guide/build/html/index.html to view the resulting output.
  
== End User Guide Migration ==
+
===Migration Using Oxygen===
 +
# Open DocBook book file in Oxygen.
 +
# Choose Document > Transformation > Configure Transformation Scenario(s).
 +
# Select DocBook XHTML - Chunk.
 +
# Click Apply associated (1).
 +
# Within the /out/xhtml-chunks/ directory that's generated, run the following script:
 +
#:  <pre>
 +
#::  for i in *.xhtml
 +
#::  do
 +
#::  # Convert from XHTML to RST
 +
#::  file_name=${i%.*l}.rst
 +
#::  pandoc -s -t rst $i -o $file_name
 +
#::  sed -i -e '4,16d' $file_name
 +
#::  sed -i -e '/+--------------------------+$/,$d' $file_name
 +
#::  sed -i -e '$d' $file_name
 +
#::  sed -i -e '$d' $file_name
 +
#::  # Rename file to second line of new RST content, but lowercase and all non-alphanumeric chars renamed to underscores:
 +
#::  real_file_name=$(sed 's/[^a-zA-Z0-9\-]/_/g;2q;d' $file_name | awk '{print tolower($0)}').rst
 +
#::  mv $file_name $real_file_name<pre><nowiki>
 +
#::  # Replace all cross-refs to xhtml files to renamed rst files:
 +
#::  sed -i '' -e "s/\<$i/fixmefixmefixme/g" *.rst
 +
#::  #  sed -i '' -e "s/\ fixmefixmefixme.*\`__//g" *.rst
 +
#::  done</pre>
 +
# Clean up where the fixmefixmefixme is output, it indicates where a cross-reference cannot exist any longer.
 +
# Clean up tables where the pandoc conversion just outputs paragraphs.
 +
# Remove numbering from Example titles and Table titles.
 +
# Rename chapter_ files and ensure they are titled to match the contents of the file, such as "Networking API 2.0 Overview" to networking-api-2.0-overview" for example.
 +
# Remove "programlisting" "screen" and "literallayout" from .. code:: lines.
 +
# When commiting conversion patches, include the related blueprint in your commit message. For example:
 +
#:  <pre>
 +
#::  Convert ch_compute_focus.xml to RST
 +
#::  Implements: blueprint archguide-mitaka-rst</pre>
 +
 
 +
===Migration Using a Text Editor===
 +
# Install [http://pandoc.org/installing.html pandoc].
 +
# Update your openstack-manuals master branch, and create a branch.
 +
# Run the pandoc command to convert the .xml file to .rst. For example:
 +
#:  <pre>pandoc -f docbook -t rst -s ch_compute_focus.xml -o compute-focus.rst</pre>
 +
# Move converted files to the <guide>/source folder.
 +
# Rename converted RST files and ensure they are titled to match the contents of the file, such as "Networking API 2.0 Overview" to networking-api-2.0-overview" for example.
 +
# Pandoc has its quirks, so check all the content has been migrated from the source file.
 +
# Use a text editor to complete the following tasks:
 +
## Clean up tables where the pandoc conversion just outputs paragraphs.
 +
## Remove numbering from Example titles and Table titles.
 +
## Remove "programlisting" "screen" and "literallayout" from .. code:: lines.
 +
## Check the converted RST file follow conventions described in the [http://docs.openstack.org/contributor-guide/rst-conv.html OpenStack Documentation Contributor Guide]
 +
# Build the guide locally, to check for errors:
 +
#:  <pre>tox -e docs</pre>
 +
# Commit your changes, including the related blueprint in your commit message. For example:
 +
#:  <pre>
 +
#::  Convert ch_compute_focus.xml to RST
 +
#::  Implements: blueprint archguide-mitaka-rst</pre>
 +
 
 +
== Doc Migration Plan ==
 +
 
 +
For the Mitaka release, we migrated the Configuration Reference Guide and the Architecture Design Guide. Refer to the [http://specs.openstack.org/openstack/docs-specs/index.html detailed specification] for details.
  
First, get a local copy of the End User Guide from openstack-manuals. Create a branch to work within.
+
=== API Reference Plan ===
  
Next, either use the process documented on this wiki page or your own methods with pandoc (http://johnmacfarlane.net/pandoc/try/) to convert from DocBook to RST. Pick any chapter or section and look for errors in the automation, then manually clean up. Once you have cleaned up the RST, build it within playground-user-guide by running tox -echeckbuild or if you already have Sphinx installed, run '''sphinx-build doc/playground-user-guide/source/ doc/playground-user-guide/build/html''' from within openstack-manuals. This will apply the oslosphinx theme currently.  
+
See [http://docs.openstack.org/contributor-guide/api-guides.html http://docs.openstack.org/contributor-guide/api-guides.html] for explanation of the process. Anne has already preprocessed the files, so the other migration steps on this wiki page are not needed at all.
  
Sign up below for a chapter, then create a patch with RST in doc/playground-user-guide/source for others to review. Use the xml:id from the DocBook file for the RST file name. Once the patch merges, change the Status from In Review to Merged.
+
Sign up below for a service, then download the files from this patch: https://review.openstack.org/#/c/311596/. These will require a lot of cleanup manually but gets them as far as the tools can get them. Also, setup a job to publish data like https://review.openstack.org/312184.
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Chapter/Section (old filename) !! Chapter/Section (new filename) !! Name !! Patch URL !! Status
+
! Service name !! Service version !! Project !! Name !! Patch URL !! Status  
|-
 
| xxx || section_dashboard_access_and_security.rst || Andreas Jaeger || https://review.openstack.org/#/c/142437/ || Merged
 
|-
 
| xxx || section_dashboard_access || Anne Gentle || https://review.openstack.org/151289 || Merged
 
|-
 
| xxx || launching_instances_using_dashboard || Anne Gentle || wrong file in https://review.openstack.org/151818 || Fixed
 
|-
 
| section_dashboard_databases.xml || dashboard_databases || Anne Gentle || https://review.openstack.org/#/c/151846/ || Merged
 
|-
 
| xxx || dashboard_create_networks || Anne Gentle || https://review.openstack.org/#/c/152582/ || Merged
 
|-
 
| xxx || dashboard_manage_containers || Anne Gentle || https://review.openstack.org/#/c/153349/ || Merged
 
|-
 
| xxx || dashboard_manage_volumes || Anne Gentle || https://review.openstack.org/#/c/153577 || Merged
 
|-
 
| section_dashboard_stacks.xml || dashboard_stacks.rst || Olena Logvinova || https://review.openstack.org/168863 || On Review
 
|-
 
| section_cli_trove.xml || trove-manage-db.rst || Laurel Michaels || https://review.openstack.org/#/c/156087/ || Merged
 
 
|-
 
|-
| section_cli_trove.xml || create_db.rst || Laurel Michaels || https://review.openstack.org/156266/ || Merged
+
| Compute || v2.|| nova || Sean Dague  || https://review.openstack.org/#/q/status:merged+project:openstack/nova+branch:master+topic:bp/api-ref-in-rst || In progress
 
|-
 
|-
| section_cli_trove.xml || backup_db.rst || Laurel Michaels || https://review.openstack.org/#/c/164791/ || Merged
+
| Identity || v2.|| keystone || Samuel de Medeiros Queiroz  || https://review.openstack.org/#/q/project:openstack/keystone+branch:master+topic:migrate-identity-api-ref || In progress
 
|-
 
|-
| section_cli_trove.xml || backup_db_incremental.rst || Laurel Michaels || https://review.openstack.org/#/c/167649/ || Merged
+
| Identity || v3 (and extensions)  || keystone || Samuel de Medeiros Queiroz  || https://review.openstack.org/#/q/project:openstack/keystone+branch:master+topic:migrate-identity-api-ref  || In progress
 
|-
 
|-
| section_cli_trove.xml || manage_db_config.rst || Laurel Michaels || https://review.openstack.org/#/c/169002/ || In Progress
+
| Bare metal || v1  || ironic || Jim Rollenhagen ||https://review.openstack.org/#/c/312181/ and https://review.openstack.org/312184  || In progress
 
|-
 
|-
| section_cli_trove.xml || set_up_replication.rst || Laurel Michaels || Local || In Progress
+
| Block Storage || v1  || cinder || Sheel Rana Insaan  || https://review.openstack.org/#/c/312113 || In progress
 
|-
 
|-
| section_cli_trove.xml || set_up_clustering.rst || Laurel Michaels || Local || In Progress
+
| Block Storage || v2  || cinder || Sheel Rana Insaan  || https://review.openstack.org/#/c/312113 || In progress
 
|-
 
|-
| ch_cli.xml || cli || Karin Levenstein || https://review.openstack.org/#/c/154235/ || Merged
+
| Clustering || v1  || senlin ||   ||  ||  
 
|-
 
|-
| section_cli_nova_boot || cli_launch_instances || Karin Levenstein || https://review.openstack.org/#/c/154235/ || Merged
+
| Data Processing || v1.1  ||  sahara || || Note: has these REST API docs http://docs.openstack.org/developer/sahara/restapi/rest_api_v1.0.html ||  
 
|-
 
|-
| ch_sdk.xml || sdk || Darren Chan || https://review.openstack.org/#/c/154412/ || Merged
+
| Database || v1.|| trove || Laurel Michaels  || https://review.openstack.org/#/c/316381  || Needs review, can't build locally
 
|-
 
|-
| section_sdk_install || sdk_install || Darren Chan || https://review.openstack.org/#/c/154412/ || Merged
+
| Image || v1 || glance || rosmaita || https://review.openstack.org/#/c/312259/ and https://review.openstack.org/#/c/315191/ || merged
 
|-
 
|-
| section_sdk_authenticate || sdk_authenticate || Darren Chan || https://review.openstack.org/#/c/154412/ || Merged
+
| Image || v2 || glance ||  rosmaita || https://review.openstack.org/#/c/332950/ || merged
 
|-
 
|-
| section_sdk_manage_images.xml || sdk_manage _images || Darren Chan || https://review.openstack.org/#/c/154412/ || Merged
+
| Tasks || v2 || glance || rosmaita || https://review.openstack.org/#/c/333029/ || merged
 
|-
 
|-
| section_sdk_configure_instances.xml || sdk_configure _access_security_instances  || Darren Chan || https://review.openstack.org/#/c/154412/ || Merged
+
| Metadefs || v2 || glance || rosmaita || https://review.openstack.org/#/c/333031/ || merged
 
|-
 
|-
| section_sdk_neutron.xml || sdk_authenticate_networking_endpoint || Darren Chan || https://review.openstack.org/#/c/154412/ || Merged
+
| Networking || v2.0 (and extensions) || neutron || HenryG, amotoki  || https://review.openstack.org/#/c/314819/ || In progress
 
|-
 
|-
| section_sdk_nova.xml || sdk_authenticate_compute_endpoint || Darren Chan || https://review.openstack.org/#/c/154412/ || Merged
+
| Object Storage || v1 || swift || Anne Gentle  || https://review.openstack.org/312315  || In review
 
|-
 
|-
| section_cli_swift_howto.xml || managing-openstack-object-storage-with-swift-cli || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
+
| Orchestration || v1 || heat || Jay Dobies (jdob)  || https://review.openstack.org/#/c/312712/ and https://review.openstack.org/312726  || Complete :)
 
|-
 
|-
| xxx || cli_create_containers.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
+
| Shared File Systems || v1  || manila || Daniel Gonzalez || https://review.openstack.org/#/c/313874 and https://review.openstack.org/#/c/313875 || Merged
 
|-
 
|-
| xxx || cli_swift_manage_access_swift.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
+
| Shared File Systems || v2  ||  manila || Daniel Gonzalez || https://review.openstack.org/#/c/313874 and https://review.openstack.org/#/c/313875 || Merged
 
|-
 
|-
| xxx || cli_swift_manage_objects.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
+
| Telemetry || v2  ||  ceilometer || || Note: has these REST API docs http://docs.openstack.org/developer/ceilometer/webapi/v2.html ||  
 
|-
 
|-
| section_object-api-env-vars.xml || cli_swift_env-vars.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-versioning.xml || cli_swift_set-object-versions.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-response-formats.xml || cli_swift_serialized-response-formats.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-large-lists.xml || cli_swift_large-lists.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-pseudo-hier-folders.xml || cli_swift_pseudo-hierarachical-folders-directories.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-discoverability.xml || cli_swift_discoverability.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-create-large-objects.xml || cli_swift_large-object-creation.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-create-large-objects.xml || cli_swift_archive-auto-extract.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-bulk-delete.xml || cli_swift_bulk-delete.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-create-website.xml || cli_swift_static-website.rst || Erik Wilson || https://review.openstack.org/#/c/165132/ || Merged
 
|-
 
| section_object-api-cors-headers.xml || sdk_assign_cors_headers || Darren Chan || https://review.openstack.org/#/c/156451/ || Merged
 
|-
 
| section_cli_nova_manage_instances.xml || cli_manage_instances_hosts || Darren Chan || https://review.openstack.org/#/c/157270/|| Merged
 
|-
 
| section_cli_nova_floating_ips.xml || cli_manage_ip_addresses || Darren Chan || https://review.openstack.org/#/c/157270/|| Merged
 
|-
 
| section_cli_nova_resizerebuild.xml || cli_change_the_size_of_your_server || Darren Chan || https://review.openstack.org/#/c/157270/|| Merged
 
|-
 
| section_cli_nova_startstop.xml|| cli_stop_and_start_an_instance || Darren Chan || https://review.openstack.org/#/c/157270/|| Merged
 
|-
 
| section_cli_nova_userdata.xml || cli_provide_user_data_to_instances || Darren Chan || https://review.openstack.org/#/c/157270/ || Merged
 
|-
 
| appendix_a__openstack_command-line_interface_cheat_sheet.xml || cli_quick_start || Anne Gentle || https://review.openstack.org/158142/ || Merged
 
|-
 
| section_object-api-expire-objects.xml || sdk_schedule_objects_for_deletion || Darren Chan || https://review.openstack.org/#/c/158961/ || Merged
 
|-
 
| section_sdk_auth_keystone.xml || sdk_authenticate_against_identity_endpoint || Darren Chan || https://review.openstack.org/#/c/158961/ || Merged
 
|-
 
| section_sdk_auth_glance.xml || sdk_authenticate_against_image_service_endpoint || Darren Chan || https://review.openstack.org/#/c/158961/ || Merged
 
|-
 
| section_sdk_auth_nova.xml || sdk_authenticate_against_compute_endpoint || Darren Chan || https://review.openstack.org/#/c/158961/ || Merged
 
|-
 
| section_sdk_auth_neutron.xml || sdk_authenticate_against_networking_endpoint || Darren Chan || https://review.openstack.org/#/c/158961/ || Merged
 
|-
 
| section_cli_nova_reboot.xml || cli_reboot_an_instance || Darren Chan || https://review.openstack.org/#/c/160578/ || Merged
 
|-
 
| section_cli_nova_terminate.xml || cli_delete_an_instance || Darren Chan || https://review.openstack.org/#/c/160578/ || Merged
 
|-
 
| section_cli_nova_get_console.xml || cli_access_instance_through_a_console || Darren Chan || https://review.openstack.org/#/c/160578/ || Merged
 
|-
 
| section_cli_nova_baremetal.xml || cli_manage_bare_metal_nodes || Darren Chan || https://review.openstack.org/#/c/160578/ || Merged
 
|-
 
| section_cli_nova_search_ip.xml || cli_search_instance_with_ip_address || Darren Chan || https://review.openstack.org/#/c/160578/ || Merged
 
|-
 
| section_cli_nova_migrate_instances.xml || cli_use_snapshots_to_migrate _instances || Darren Chan || https://review.openstack.org/#/c/160578/ || Merged
 
|-
 
| common/section_cli_overview.xml || common/cli_overview || Darren Chan || https://review.openstack.org/#/c/164060/ || Merged
 
|-
 
| common/section_cli_install.xml || common/cli_install_openstack_command_line _clients || Darren Chan || https://review.openstack.org/#/c/167111/ || Merged
 
|-
 
| common/section_cli_version.xml || common/cli_discover_version_number_for _a_client || Darren Chan || https://review.openstack.org/#/c/166075/ || Merged
 
|-
 
| common/section_cli_openrc.xml || common/cli_set_environment_variables_using_openstack_rc || Darren Chan || https://review.openstack.org/#/c/166075/ || Merged
 
|-
 
| common/section_cli_neutron_manage_networks.xml || common/cli_create_and_manage_networks || Darren Chan || https://review.openstack.org/#/c/166075/ || Merged
 
|-
 
| common/section_cli_glance_manage_images.xml || common/cli_manage_images || Darren Chan || https://review.openstack.org/#/c/166075/ || Merged
 
|-
 
| common/section_cli_cinder_manage_volumes.xml || common/cli_manage_volumes || Darren Chan || https://review.openstack.org/#/c/166075/ || Merged
 
|-
 
| common/ch_using_openstack_overview.xml ||  ||  || ||
 
|-
 
| common/section_cli_nova_usage_statistics.xml || common/cli_nova_show_usage_statistic_for_hosts_instances || Darren Chan || https://review.openstack.org/#/c/166085/ || Merged
 
|-
 
| section_cli_nova_configure_instances.xml || cli_nova_configure_access_security_for_instances || Darren Chan || https://review.openstack.org/#/c/168772/ || In Progress
 
 
|}
 
|}
  
== Admin User Guide Migration ==
+
=== Operations Guide ===
  
Sign up below for a chapter, then create a patch with RST in doc/playground-user-guide/source for others to review.  
+
Sign up below for a chapter, then create a patch with RST in doc/ops-guide/source for others to review. Contributions are welcome.
 +
Please add "Implements: blueprint ops-guide-rst" in the commit message.
  
These files should use this markup in the first two lines to ensure they are only output in the admin version:
+
'''''Please make sure this book follows [http://chimera.labs.oreilly.com/books/123000000https://review.openstack.org/#/c/292036/0969/ch02.html O'Reilly conventions].'''''
<pre>
 
<nowiki>
 
.. meta::
 
    :scope: admin_only
 
</nowiki>
 
</pre>
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 286: Line 238:
 
! Chapter/Section (old filename) !! Chapter/Section (new filename) !! Name !! Patch URL !! Status  
 
! Chapter/Section (old filename) !! Chapter/Section (new filename) !! Name !! Patch URL !! Status  
 
|-
 
|-
| section_cli_admin_manage_environment.xml || cli_admin_manage_environment.rst || Olga Gusarenko || https://review.openstack.org/#/c/165121 || Merged
+
| bk_ops_guide.xml || || || ||  
 
|-
 
|-
| section_cli_admin_manage_stacks.xml || cli_admin_manage_stacks.rst || Olga Gusarenko || https://review.openstack.org/#/c/165121 || Merged
+
| preface_ops.xml || preface_ops.rst || venkatamahesh  || https://review.openstack.org/#/c/292071  || Merged
 
|-
 
|-
| section_cli_cinder_quotas.xml || cli_cinder_quotas.rst || Olga Gusarenko || https://review.openstack.org/#/c/165803 || Merged
+
| part_architecture.xml || part_architecture.rst || venkatamahesh  || https://review.openstack.org/#/c/292064  || Merged
 
|-
 
|-
| section_cli_keystone_services.xml || cli_keystone_manage_services.rst || Olga Gusarenko || https://review.openstack.org/#/c/166786 || Merged
+
| part_operations.xml || operations.rst || KATO Tomoyuki || https://review.openstack.org/#/c/291987/ || Merged
 
|-
 
|-
| section_cli_keystone_set_quotas.xml || cli_set_quotas.rst || Olga Gusarenko || https://review.openstack.org/#/c/165803 || Merged
+
| ch_arch_cloud_controller.xml || ch_arch_cloud_controller.rst || venkatamahesh  || https://review.openstack.org/#/c/292061  || Merged
 
|-
 
|-
| section_cli_manage_services.xml || cli_manage_services.rst || Olga Gusarenko || https://review.openstack.org/#/c/166786 || Merged
+
| ch_arch_compute_nodes.xml || ch_arch_compute_nodes.rst || venkatamahesh  || https://review.openstack.org/#/c/292059  || Merged
 
|-
 
|-
| section_cli_nova_floating_ips.xml || cli_admin_manage_ip_addresses.rst || Olga Gusarenko || https://review.openstack.org/#/c/168296 || Merged
+
| ch_arch_examples.xml || ch_arch_examples.rst || venkatamahesh  ||   https://review.openstack.org/#/c/292052  || Merged
 
|-
 
|-
| section_cli_nova_host_servers_migrate.xml || xmlid.rst || Olga Gusarenko || Not used currently or find a proper place for it || Deferred
+
| section_arch_example-neutron.xml || section_arch_example-neutron.rst || venkatamahesh  || https://review.openstack.org/#/c/291965  || Merged
 
|-
 
|-
| section_cli_nova_manage_flavors || cli_manage_flavors.rst || Olga Gusarenko || https://review.openstack.org/#/c/168797 || In Progress
+
| section_arch_example-nova.xml || section_arch_example-nova.rst || venkatamahesh  || https://review.openstack.org/#/c/291783  || Merged
 
|-
 
|-
| section_cli_nova_manage_projects_security || nova_cli_manage_projects_security.rst || Anne Gentle || https://review.openstack.org/#/c/156877 || Merged
+
| ch_arch_network_design.xml || ch_arch_network_design.rst   || venkatamahesh  || https://review.openstack.org/#/c/291974  || Merged
 
|-
 
|-
| section_cli_nova_migrate.xml || cli_nova_migrate.rst || Maria Zlatkova || https://review.openstack.org/#/c/167178 || Merged
+
| ch_arch_provision.xml || ch_arch_provision.rst || venkatamahesh  || https://review.openstack.org/#/c/291976  || Merged
 
|-
 
|-
| section_cli_nova_services.xml || cli_nova_manage_services.rst || Olga Gusarenko || https://review.openstack.org/#/c/166786 || Merged
+
| ch_arch_scaling.xml || ch_arch_scaling.rst || venkatamahesh  || https://review.openstack.org/#/c/291978  || Merged
 
|-
 
|-
| section_cli_nova_specify_host.xml || cli_nova_specify_host.rst || Olga Gusarenko || https://review.openstack.org/#/c/168869 || In Progress
+
| ch_arch_storage.xml || ch_arch_storage.rst || venkatamahesh  || https://review.openstack.org/#/c/292007  || Merged
 
|-
 
|-
| section_dashboard_admin_manage_flavors.xml || dashboard_manage_flavors.rst || Olena Logvinova || https://review.openstack.org/#/c/167154 || Merged
+
| ch_ops_advanced_configuration.xml || ch_ops_advanced_configuration.rst   || venkatamahesh  || https://review.openstack.org/#/c/292008 || Merged
 
|-
 
|-
| section_dashboard_admin_manage_host_aggregates.xml || dashboard_manage_host_aggregates.rst || Anne Gentle || https://review.openstack.org/163198 || In Progress
+
| ch_ops_backup_recovery.xml || ch_ops_backup_recovery.rst || venkatamahesh  || https://review.openstack.org/#/c/292011  || Merged
 
|-
 
|-
| section_dashboard_admin_manage_images.xml || dashboard_manage_images.rst || Olena Logvinova || https://review.openstack.org/#/c/167950/2 || Merged
+
| ch_ops_customize.xml || ch_ops_customize.rst || venkatamahesh || https://review.openstack.org/#/c/292013  || Merged
 
|-
 
|-
| section_dashboard_admin_manage_resources.xml || dashboard_manage_resources.rst || Karen Bradshaw || https://review.openstack.org/#/c/165583/ || Merged
+
| ch_ops_lay_of_land.xml || lay_of_the_land.rst || KATO Tomoyuki || https://review.openstack.org/#/c/291996/ || Merged
 
|-
 
|-
| section_dashboard_admin_manage_roles.xml || dashboard_manage_roles.rst || Olena Logvinova || https://review.openstack.org/166241 || Merged
+
| ch_ops_log_monitor.xml || ch_ops_log_monitor.rst || venkatamahesh  || https://review.openstack.org/#/c/292015  || Merged
 
|-
 
|-
| section_dashboard_admin_manage_services.xml || dashboard_manage_services.rst || Karen Bradshaw || https://review.openstack.org/#/c/165486/ || Merged
+
| ch_ops_maintenance.xml || ch_ops_maintenance.rst || venkatamahesh  || https://review.openstack.org/#/c/292022  || Merged
 
|-
 
|-
| section_dashboard_admin_manage_stacks.xml || dashboard_manage_stacks.rst || Olena Logvinova || https://review.openstack.org/#/c/168303 || Merged
+
| ch_ops_network_troubleshooting.xml || ch_ops_network_troubleshooting.rst || venkatamahesh  || https://review.openstack.org/#/c/292027 || Merged
 
|-
 
|-
| section_dashboard_admin_set_quotas.xml || dashboard_set_quotas.rst || Karen Bradshaw || https://review.openstack.org/#/c/166306 || Merged
+
| ch_ops_projects_users.xml || projects_users.rst || KATO Tomoyuki || https://review.openstack.org/#/c/292002/ || Merged
 
|-
 
|-
| section_dashboard_admin_view_cloud_resources.xml || dashboard_view_cloud_resources.rst || Karen Bradshaw || https://review.openstack.org/#/c/165499/ || Merged
+
| ch_ops_resources.xml || ch_ops_resources.rst || venkatamahesh  || https://review.openstack.org/#/c/292033 || Merged
 
|-
 
|-
| section_cli_keystone_manage_projects_users_roles.xml || admin_cli_manage_projects_users.rst || Anne Gentle || https://review.openstack.org/#/c/156877/ || Merged
+
| ch_ops_upgrades.xml || ch_ops_upgrades.rst || venkatamahesh  || https://review.openstack.org/#/c/292035  || Merged
 
|-
 
|-
| section_cli_keystone_manage_projects_users_roles.xml || nova_cli_manage_projects_security.rst || Anne Gentle || https://review.openstack.org/#/c/156877/ || Merged
+
| ch_ops_upstream.xml || ch_ops_upstream.rst || venkatamahesh  || https://review.openstack.org/#/c/292036  || Merged
 
|-
 
|-
| section_dashboard_admin_manage_instances.xml || dashboard_manage_instances.rst || Anne Gentle || https://review.openstack.org/163082 || In progress
+
| ch_ops_user_facing.xml || ch_ops_user_facing.rst || venkatamahesh || https://review.openstack.org/#/c/292050 || Merged
|-
 
| section_dashboard_admin_manage_volumes.xml || dashboard_manage_volumes.rst || Anne Gentle || https://review.openstack.org/163087 || In progress
 
 
|-
 
|-
| section_cli_swift_analyze_log_files.xml || analyzing-log-files-with-swift-cli.rst || Anne Gentle || https://review.openstack.org/161092 || In Progress
 
 
|}
 
|}
  
== Doc Migration Plan ==
+
== Completing conversion to RST ==
 
 
In Kilo we are migrating the End User Guide and the Admin User Guide. Refer to the [http://specs.openstack.org/openstack/docs-specs/specs/kilo/migrate-to-new-web-design.html detailed specification] for the plan.
 
 
 
The Juno projects where this document needs to migrate to a specification are:
 
nova (compute-api) v2, v3
 
swift (object-api) v1
 
glance (image-api) v1, v1.1, v2
 
keystone (identity-api) v2.0, v3
 
neutron (netconn-api) v1.0, v2.0
 
cinder (volume-api) v1.0, v2.0
 
 
 
Juno projects that have this type of document in a separate <service>-api repo are:
 
trove (trove)
 
 
 
Juno projects that do not provide this type of prose-based spec for their API are:
 
ceilometer
 
heat
 
sahara
 
 
 
Incubating projects, this information is just a heads-up so you know how we're thinking about API documentation going forward.
 
ironic
 
zaqar (marconi)
 
barbican
 
designate
 
 
 
I'm going to do the migration work with pandoc and propose the patch to the project's repo. Be on the lookout for those patches.
 
 
 
== Doc Migration Steps ==
 
 
 
Open docbook book file in Oxygen.
 
 
 
Choose Document > Transformation > Configure Transformation Scenario(s).
 
 
 
Select DocBook XHTML - Chunk.
 
 
 
Click Apply associated (1).
 
 
 
Within the /out/xhtml-chunks/ directory that's generated, run the following script:
 
 
 
<pre>for i in *.xhtml
 
do
 
  # Convert from XHTML to RST
 
  file_name=${i%.*l}.rst
 
  pandoc -s -t rst $i -o $file_name
 
  sed -i -e '4,16d' $file_name
 
  sed -i -e '/+--------------------------+$/,$d' $file_name
 
  sed -i -e '$d' $file_name
 
  sed -i -e '$d' $file_name
 
 
 
  # Rename file to second line of new RST content, but lowercase and
 
  # all non-alphanumeric chars renamed to underscores
 
  real_file_name=$(sed 's/[^a-zA-Z0-9\-]/_/g;2q;d' $file_name | awk '{print tolower($0)}').rst
 
  mv $file_name $real_file_name
 
  # Replace all cross-refs to xhtml files to renamed rst files
 
  sed -i '' -e "s/\<$i/fixmefixmefixme/g" *.rst
 
#  sed -i '' -e "s/\ fixmefixmefixme.*\`__//g" *.rst
 
done</pre>
 
 
 
Clean up where the fredfredfred is output, it indicates where a cross-reference cannot exist any longer.
 
 
 
Clean up tables where the pandoc conversion just outputs paragraphs.
 
  
Remove numbering from Example titles and Table titles.
+
Once we have reviewed the draft guide and think it's ready to publish, we need to do the following steps:
  
Rename chapter_ files and ensure they are titled to match the contents of the file, such as "Networking API 2.0 Overview" to networking_api_2.0_overview" for example.
+
# Create a patch with the following steps (for example, see https://review.openstack.org/#/c/248577/ or https://review.openstack.org/211766) 
 +
## Delete the old guide, here security-guide
 +
## Move the RST guide to the location of new guide (security-guide-rst -> security-guide).
 +
## Update tools/build-all-rst.sh for the change
 +
## Delete the entry from doc/pom.xml
 +
## Update RELEASENOTES.rst
 +
## If the repository has no further DocBook guides in it, update tox.ini
 +
## Update doc-tools-check-languages.conf
 +
## Rename localization files to new directory name
 +
## If there is a ".tx/config" file, update it (remove RST guide and update paths)
 +
# If the repository has no further DocBook guides in it:
 +
#* Remove jobs from Jenkins. For example: https://review.openstack.org/211843
 +
#* Cleanup tox.ini. For example: https://review.openstack.org/212127
 +
#* Remove tools/generatepot. For example: https://review.openstack.org/212129
 +
# Update .gitignore. For example: https://review.openstack.org/212685
 +
# If the repository is not the openstack-manuals repo, stop syncing of XML files: https://review.openstack.org/211842 and remove the copied files once that patch is merged: https://review.openstack.org/211904
 +
# Fix links on docs.openstack.org and in other guides: https://review.openstack.org/212044
 +
#* Create redirects from content directory to top-level index.html file
 +
#* Update all links so that they go to new guide (security-guide, not security-guide/content)
 +
#* Remove links to PDF of guide
 +
# Sync translations from old guide with new guide (needs to be done in transifex by Andreas)
 +
# Tell i18n team that conversion is finished and which resource is active.
 +
# Remove old guide and draft RST guides from docs.openstack.org (needs docs.openstack.org admin access)
 +
# Regenerate sitemap.xml after all changes are in: https://review.openstack.org/212689 and blacklist the change: https://review.openstack.org/212690
  
Remove "programlisting" "screen" and "literallayout" from .. code:: lines.
 
  
 
----
 
----
 
[[Category:Documentation]]
 
[[Category:Documentation]]

Latest revision as of 08:36, 2 August 2016

Doc Migration from DocBook to RST Overview

Previously, we migrated the <service>-api repos from DocBook to RST. These were API reference documents that were meant for the contributor developer to know what was going into an API. So, the history of that document was forged as a specification. As projects beyond swift and nova were added, projects made similar documents. They're output to HTML at http://docs.openstack.org/api/api-specs.html. However, as we now have a <project>-specs repo, it makes sense to move to those repos. In that move, also it makes sense to migrate to RST rather than DocBook/WADL.

Migration Conventions

Follow the RST markup conventions in the OpenStack Documentation Contributor Guide .

Headings

First title in an RST file, use equals signs above and below. Second title, use tilde. Third title, use a series of dashes. Try not to need a Heading 4 if you can help it by rewriting or reorganizing.



========
Heading 1
========

Heading 2
~~~~~~~~~

Heading 3
---------

File names

As a rule, we want to keep the xml:id identical so that the output HTML files do not need redirection. However, we also at the same time want to get rid of ch_ and section_ nomenclatures while going to a page-based, topical approach. So, first use the XML:ID, and if the XML:ID has ch_ or section_ in it, remove the prefix.

Cross references

Use :ref: when doing cross references so that you don't have to have the exact title. This means you will have to add markup to create anchors, such as:

.. _dashboard-project-tab:

Please use the existing XML:Ids if possible for these cross references.

Also, while intersphinx is an enabled extension for many of the contributor developer docs, we don't have an intersphinx requirement yet for the end user guide or admin user guide. We'll investigate that as we add more guides.

Figures and images

Store the figures in a /figures/ directory with the deliverable itself.

Notes and admonitions

If the conversion outputs Note as a heading, change it to use the .. note:: directive.

Line numbers in code blocks

If your file has lots of code blocks, be sure to set up line numbering for the entire file. Each code-block must have :linenos: after the .. code-block:: directive, the code itself must be indented at the same level as the :lineos: line, and you must have at the start of the file this directive:

.. highlight: python
   :linenothreshold: 5

so that any code-blocks longer than five lines long will have line numbers.

Migration Issues

List of bugs or missing features for the Sphinx template, openstackdocstheme: https://bugs.launchpad.net/openstack-manuals/+bugs?field.tag=openstackdocstheme

Can you have line breaks in something with inline semantic markup like :guilabel: at the end of the line? For example:


#. Select the volume to add to an instance and click :guilabel:`Edit Attachments`.

That line is longer than 79 characters, so Attachments`. must be on the second line, but when you do that, the HTML output is incorrect.

Since RST documents impose a 79 character limit when building files in .rst format. When tables exceed that limit, a list table role can help create content in a new table without exceeding the character limit. The issue is when a table is generated by an OpenStack service, and returned as a result of a command. These tables are constructed with +, -, and | characters. The table created by a list table role has solid lines forming rows, columns, and cells. The content is similar, however users might be surprised by a table with solid lines rather than a table built with +, -, and | characters.

Large scale content inside tables.

When building tables with a list table role, some items that appear inside the table cells might exceed the 79 character limit. Is there a solution to recreating this large scale content in a table such that it does not affect the character limit?

The :orphan: role and references.

Files with an :orphan: role at the top of the file, not included in the toc tree, will not link to another file when the :ref: role is used to link to the file from a different file. Is there a solution to this linking issue?

Pandoc conversion problems.

When converting files with Pandoc, some entries in the .xml file will not convert accurately. Procedure titles and sub section titles will not parse correctly, and will be deleted from the converted document. Pandoc also removes procedure numbering. Currently, the solution is to compare the complete .rst file to the built .xml version, and check the headings, subheadings, and procedure numbers to make sure they are correct, and line up with original. This is an issue that could also be discussed.

  • Contact details for RST issues that we can't solve:
    • Author: David Goodger
    • Contact: docutils-develop@lists.sourceforge.net

Migration How To

Note: If you don't want to use tox, install these prereqs locally: pip install sphinx; pip install openstackdocstheme and then switch to the directory containing a conf.py and run sphinx-build /path/to/source/ path/to/build/ to get html output by default.

Because Sphinx builds have dependent requirements it is best to work with in a virtual environment. Fortunately the openstack-manuals project already has tox set up so that you can create a virtualenv that contains the required dependencies. To use it, do this on a Mac or Ubuntu machine with Python and pip already installed:

  1. Clone the openstack-manuals repository.
  2. Change directories into openstack-manuals.
  3. Run this:
    tox -e py27
  4. When you get a congratulations message, run this:

Mac/Ubuntu:

source .tox/py27/bin/activate

Windows:

 source .tox/py27/Scripts/activate

Your prompt should now have (py27) as a preface.

Now you have all the pre-requisites installed and can run additional tox commands. To see the list of commands, view or edit tox.ini in the openstack-manuals directory. To build the RST docs, run:

tox -e docs

This will run sphinx-build doc/playground-user-guide/source/ doc/playground-user-guide/build/html.

When the build is finished, you can open doc/playground-user-guide/build/html/index.html to view the resulting output.

Migration Using Oxygen

  1. Open DocBook book file in Oxygen.
  2. Choose Document > Transformation > Configure Transformation Scenario(s).
  3. Select DocBook XHTML - Chunk.
  4. Click Apply associated (1).
  5. Within the /out/xhtml-chunks/ directory that's generated, run the following script:
    for i in *.xhtml
    do
    # Convert from XHTML to RST
    file_name=${i%.*l}.rst
    pandoc -s -t rst $i -o $file_name
    sed -i -e '4,16d' $file_name
    sed -i -e '/+--------------------------+$/,$d' $file_name
    sed -i -e '$d' $file_name
    sed -i -e '$d' $file_name
    # Rename file to second line of new RST content, but lowercase and all non-alphanumeric chars renamed to underscores:
    real_file_name=$(sed 's/[^a-zA-Z0-9\-]/_/g;2q;d' $file_name | awk '{print tolower($0)}').rst
    mv $file_name $real_file_name<pre><nowiki>
    # Replace all cross-refs to xhtml files to renamed rst files:
    sed -i '' -e "s/\<$i/fixmefixmefixme/g" *.rst
    # sed -i '' -e "s/\ fixmefixmefixme.*\`__//g" *.rst
    done
  6. Clean up where the fixmefixmefixme is output, it indicates where a cross-reference cannot exist any longer.
  7. Clean up tables where the pandoc conversion just outputs paragraphs.
  8. Remove numbering from Example titles and Table titles.
  9. Rename chapter_ files and ensure they are titled to match the contents of the file, such as "Networking API 2.0 Overview" to networking-api-2.0-overview" for example.
  10. Remove "programlisting" "screen" and "literallayout" from .. code:: lines.
  11. When commiting conversion patches, include the related blueprint in your commit message. For example:
    Convert ch_compute_focus.xml to RST
    Implements: blueprint archguide-mitaka-rst

Migration Using a Text Editor

  1. Install pandoc.
  2. Update your openstack-manuals master branch, and create a branch.
  3. Run the pandoc command to convert the .xml file to .rst. For example:
    pandoc -f docbook -t rst -s ch_compute_focus.xml -o compute-focus.rst
  4. Move converted files to the <guide>/source folder.
  5. Rename converted RST files and ensure they are titled to match the contents of the file, such as "Networking API 2.0 Overview" to networking-api-2.0-overview" for example.
  6. Pandoc has its quirks, so check all the content has been migrated from the source file.
  7. Use a text editor to complete the following tasks:
    1. Clean up tables where the pandoc conversion just outputs paragraphs.
    2. Remove numbering from Example titles and Table titles.
    3. Remove "programlisting" "screen" and "literallayout" from .. code:: lines.
    4. Check the converted RST file follow conventions described in the OpenStack Documentation Contributor Guide
  8. Build the guide locally, to check for errors:
    tox -e docs
  9. Commit your changes, including the related blueprint in your commit message. For example:
    Convert ch_compute_focus.xml to RST
    Implements: blueprint archguide-mitaka-rst

Doc Migration Plan

For the Mitaka release, we migrated the Configuration Reference Guide and the Architecture Design Guide. Refer to the detailed specification for details.

API Reference Plan

See http://docs.openstack.org/contributor-guide/api-guides.html for explanation of the process. Anne has already preprocessed the files, so the other migration steps on this wiki page are not needed at all.

Sign up below for a service, then download the files from this patch: https://review.openstack.org/#/c/311596/. These will require a lot of cleanup manually but gets them as far as the tools can get them. Also, setup a job to publish data like https://review.openstack.org/312184.

Service name Service version Project Name Patch URL Status
Compute v2.1 nova Sean Dague https://review.openstack.org/#/q/status:merged+project:openstack/nova+branch:master+topic:bp/api-ref-in-rst In progress
Identity v2.0 keystone Samuel de Medeiros Queiroz https://review.openstack.org/#/q/project:openstack/keystone+branch:master+topic:migrate-identity-api-ref In progress
Identity v3 (and extensions) keystone Samuel de Medeiros Queiroz https://review.openstack.org/#/q/project:openstack/keystone+branch:master+topic:migrate-identity-api-ref In progress
Bare metal v1 ironic Jim Rollenhagen https://review.openstack.org/#/c/312181/ and https://review.openstack.org/312184 In progress
Block Storage v1 cinder Sheel Rana Insaan https://review.openstack.org/#/c/312113 In progress
Block Storage v2 cinder Sheel Rana Insaan https://review.openstack.org/#/c/312113 In progress
Clustering v1 senlin
Data Processing v1.1 sahara Note: has these REST API docs http://docs.openstack.org/developer/sahara/restapi/rest_api_v1.0.html
Database v1.0 trove Laurel Michaels https://review.openstack.org/#/c/316381 Needs review, can't build locally
Image v1 glance rosmaita https://review.openstack.org/#/c/312259/ and https://review.openstack.org/#/c/315191/ merged
Image v2 glance rosmaita https://review.openstack.org/#/c/332950/ merged
Tasks v2 glance rosmaita https://review.openstack.org/#/c/333029/ merged
Metadefs v2 glance rosmaita https://review.openstack.org/#/c/333031/ merged
Networking v2.0 (and extensions) neutron HenryG, amotoki https://review.openstack.org/#/c/314819/ In progress
Object Storage v1 swift Anne Gentle https://review.openstack.org/312315 In review
Orchestration v1 heat Jay Dobies (jdob) https://review.openstack.org/#/c/312712/ and https://review.openstack.org/312726 Complete :)
Shared File Systems v1 manila Daniel Gonzalez https://review.openstack.org/#/c/313874 and https://review.openstack.org/#/c/313875 Merged
Shared File Systems v2 manila Daniel Gonzalez https://review.openstack.org/#/c/313874 and https://review.openstack.org/#/c/313875 Merged
Telemetry v2 ceilometer Note: has these REST API docs http://docs.openstack.org/developer/ceilometer/webapi/v2.html

Operations Guide

Sign up below for a chapter, then create a patch with RST in doc/ops-guide/source for others to review. Contributions are welcome. Please add "Implements: blueprint ops-guide-rst" in the commit message.

Please make sure this book follows O'Reilly conventions.

Chapter/Section (old filename) Chapter/Section (new filename) Name Patch URL Status
bk_ops_guide.xml
preface_ops.xml preface_ops.rst venkatamahesh https://review.openstack.org/#/c/292071 Merged
part_architecture.xml part_architecture.rst venkatamahesh https://review.openstack.org/#/c/292064 Merged
part_operations.xml operations.rst KATO Tomoyuki https://review.openstack.org/#/c/291987/ Merged
ch_arch_cloud_controller.xml ch_arch_cloud_controller.rst venkatamahesh https://review.openstack.org/#/c/292061 Merged
ch_arch_compute_nodes.xml ch_arch_compute_nodes.rst venkatamahesh https://review.openstack.org/#/c/292059 Merged
ch_arch_examples.xml ch_arch_examples.rst venkatamahesh https://review.openstack.org/#/c/292052 Merged
section_arch_example-neutron.xml section_arch_example-neutron.rst venkatamahesh https://review.openstack.org/#/c/291965 Merged
section_arch_example-nova.xml section_arch_example-nova.rst venkatamahesh https://review.openstack.org/#/c/291783 Merged
ch_arch_network_design.xml ch_arch_network_design.rst venkatamahesh https://review.openstack.org/#/c/291974 Merged
ch_arch_provision.xml ch_arch_provision.rst venkatamahesh https://review.openstack.org/#/c/291976 Merged
ch_arch_scaling.xml ch_arch_scaling.rst venkatamahesh https://review.openstack.org/#/c/291978 Merged
ch_arch_storage.xml ch_arch_storage.rst venkatamahesh https://review.openstack.org/#/c/292007 Merged
ch_ops_advanced_configuration.xml ch_ops_advanced_configuration.rst venkatamahesh https://review.openstack.org/#/c/292008 Merged
ch_ops_backup_recovery.xml ch_ops_backup_recovery.rst venkatamahesh https://review.openstack.org/#/c/292011 Merged
ch_ops_customize.xml ch_ops_customize.rst venkatamahesh https://review.openstack.org/#/c/292013 Merged
ch_ops_lay_of_land.xml lay_of_the_land.rst KATO Tomoyuki https://review.openstack.org/#/c/291996/ Merged
ch_ops_log_monitor.xml ch_ops_log_monitor.rst venkatamahesh https://review.openstack.org/#/c/292015 Merged
ch_ops_maintenance.xml ch_ops_maintenance.rst venkatamahesh https://review.openstack.org/#/c/292022 Merged
ch_ops_network_troubleshooting.xml ch_ops_network_troubleshooting.rst venkatamahesh https://review.openstack.org/#/c/292027 Merged
ch_ops_projects_users.xml projects_users.rst KATO Tomoyuki https://review.openstack.org/#/c/292002/ Merged
ch_ops_resources.xml ch_ops_resources.rst venkatamahesh https://review.openstack.org/#/c/292033 Merged
ch_ops_upgrades.xml ch_ops_upgrades.rst venkatamahesh https://review.openstack.org/#/c/292035 Merged
ch_ops_upstream.xml ch_ops_upstream.rst venkatamahesh https://review.openstack.org/#/c/292036 Merged
ch_ops_user_facing.xml ch_ops_user_facing.rst venkatamahesh https://review.openstack.org/#/c/292050 Merged

Completing conversion to RST

Once we have reviewed the draft guide and think it's ready to publish, we need to do the following steps:

  1. Create a patch with the following steps (for example, see https://review.openstack.org/#/c/248577/ or https://review.openstack.org/211766)
    1. Delete the old guide, here security-guide
    2. Move the RST guide to the location of new guide (security-guide-rst -> security-guide).
    3. Update tools/build-all-rst.sh for the change
    4. Delete the entry from doc/pom.xml
    5. Update RELEASENOTES.rst
    6. If the repository has no further DocBook guides in it, update tox.ini
    7. Update doc-tools-check-languages.conf
    8. Rename localization files to new directory name
    9. If there is a ".tx/config" file, update it (remove RST guide and update paths)
  2. If the repository has no further DocBook guides in it:
  3. Update .gitignore. For example: https://review.openstack.org/212685
  4. If the repository is not the openstack-manuals repo, stop syncing of XML files: https://review.openstack.org/211842 and remove the copied files once that patch is merged: https://review.openstack.org/211904
  5. Fix links on docs.openstack.org and in other guides: https://review.openstack.org/212044
    • Create redirects from content directory to top-level index.html file
    • Update all links so that they go to new guide (security-guide, not security-guide/content)
    • Remove links to PDF of guide
  6. Sync translations from old guide with new guide (needs to be done in transifex by Andreas)
  7. Tell i18n team that conversion is finished and which resource is active.
  8. Remove old guide and draft RST guides from docs.openstack.org (needs docs.openstack.org admin access)
  9. Regenerate sitemap.xml after all changes are in: https://review.openstack.org/212689 and blacklist the change: https://review.openstack.org/212690