Skip to content

Commit 3ff59cd

Browse files
authored
Merge pull request #901 from jputrino/issue900
Fixes #900 - prep docs for next release
2 parents d9b4cca + 4c5c0da commit 3ff59cd

3 files changed

Lines changed: 26 additions & 26 deletions

File tree

docs/README.rst

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The |agent-long| uses iControl REST API calls to apply the desired configuration
3737
Guides
3838
------
3939

40-
See the `F5 Driver for OpenStack LBaaSv2 user documentation`_.
40+
See the |driver-long| `user documentation`_.
4141

4242
.. index::
4343
triple: lbaasv2-driver; downloads; debian
@@ -148,7 +148,7 @@ Take the steps below to tell Neutron to use the F5 service provider driver and t
148148

149149
#. Add 'F5Networks' to the ``service_providers`` section of the Neutron LBaaS config file: :file:`/etc/neutron/neutron_lbaas.conf` as shown below.
150150

151-
.. code-block:: text
151+
.. code-block:: console
152152
:emphasize-lines: 4
153153
154154
$ vim /etc/neutron/neutron_lbaas.conf
@@ -159,7 +159,7 @@ Take the steps below to tell Neutron to use the F5 service provider driver and t
159159
160160
#. Add the LBaaSv2 service plugin to the ``[DEFAULT]`` section of the Neutron config file: :file:`/etc/neutron/neutron.conf`.
161161

162-
.. code-block:: text
162+
.. code-block:: console
163163
164164
$ vi /etc/neutron/neutron.conf
165165
...
@@ -175,7 +175,7 @@ Take the steps below to tell Neutron to use the F5 service provider driver and t
175175

176176
#. Restart Neutron
177177

178-
.. code-block:: text
178+
.. code-block:: console
179179
180180
$ sudo service neutron-server restart \\ Ubuntu
181181
$ sudo systemctl restart neutron-server \\ CentOS
@@ -184,25 +184,9 @@ Take the steps below to tell Neutron to use the F5 service provider driver and t
184184
What's Next
185185
-----------
186186

187-
`Configure and start`_ the |agent-long|.
188-
189-
.. seealso::
190-
191-
`F5 Driver for OpenStack LBaaSv2 user documentation`_
192-
187+
`Configure and start the F5 Agent`_.
193188

194189
.. |Build Status| image:: https://travis-ci.org/F5Networks/f5-openstack-lbaasv2-driver.svg?branch=stable/newton
195190
:target: https://travis-ci.org/F5Networks/f5-openstack-lbaasv2-driver
196191
:alt: Build Status
197192

198-
199-
.. _OpenStack Neutron: https://docs.openstack.org/neutron/latest/
200-
.. _F5 Agent for OpenStack Neutron: /products/openstack/latest/agent/
201-
.. _F5 Driver for OpenStack LBaaSv2 user documentation: /cloud/openstack/latest/lbaas
202-
.. _Neutron LBaaS API: https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0
203-
.. _available F5 agent: /products/openstack/latest/agent/
204-
.. _F5 Service Provider Package: /cloud/openstack/latest/lbaas-prep
205-
.. _Download the latest debian package: |f5_lbaasv2_driver_deb_url|
206-
.. _Download the latest rpm package: |f5_lbaasv2_driver_rpm_url|
207-
.. _Partners: /cloud/openstack/latest/support/partners.html
208-
.. _Configure and start: /products/openstack/latest/agent/index.html#configure-the-agent-long

docs/conf.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,18 +369,36 @@
369369
<a class="btn btn-info" href="https://github.com/F5Networks/f5-openstack-lbaasv2-driver/releases/download/v%(version)s/f5-openstack-lbaasv2-driver-%(version)s-1.el7.noarch.rpm">RPM package</a>
370370
.. |release-notes| raw:: html
371371
372-
<a class="btn btn-success" href="https://github.com/F5Networks/f5-openstack-lbaasv2-driver/releases/tag/v%(version)s/">Release Notes</a>
372+
<a class="btn btn-success" href="%(base_url)s/products/openstack/lbaasv2-driver/v%(version)s/">Release Notes</a>
373373
.. |agent-long| replace:: F5 Agent for OpenStack Neutron
374374
.. |agent| replace:: :code:`f5-openstack-agent`
375375
.. |driver| replace:: :code:`f5-openstack-lbaasv2-driver`
376376
.. |driver-long| replace:: F5 Driver for OpenStack LBaaSv2
377377
.. |agent-url| raw:: html
378378
379-
<a target="_blank" href="http://clouddocs.f5.com/products/openstack/agent/%(openstack_release)s">F5 Agent for OpenStack Neutron</a>
379+
<a target="_blank" href="%(base_url)s/products/openstack/agent/%(openstack_release)s">F5 Agent for OpenStack Neutron</a>
380380
.. |driver-short| replace:: F5 driver
381+
.. _OpenStack Neutron: https://docs.openstack.org/neutron/%(openstack_release_l)s/
382+
.. _F5 Agent for OpenStack Neutron: %(base_url)s/products/openstack/%(version)s/agent/
383+
.. _user documentation: %(base_url)s/cloud/openstack/latest/lbaas
384+
.. _Neutron LBaaS API: https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0
385+
.. _available F5 agent: %(base_url)s/products/openstack/%(version)s/agent/
386+
.. _F5 Service Provider Package: %(base_url)s/cloud/openstack/latest/lbaas-prep
387+
.. _Download the latest debian package: |f5_lbaasv2_driver_deb_url|
388+
.. _Download the latest rpm package: |f5_lbaasv2_driver_rpm_url|
389+
.. _Partners: %(base_url)s/cloud/openstack/latest/support/partners.html
390+
.. _Configure and start the F5 Agent: %(base_url)s/products/openstack/%(version)s/agent/index.html#configure-the-agent-long
391+
.. _Capacity-based Scale out: %(base_url)s/cloud/openstack/v1/lbaas/lbaas-differentiated-service-environments.html
392+
.. _Differentiated Service Environments: %(base_url)s/cloud/openstack/v1/lbaas/lbaas-capacity-based-scaleout.html
381393
''' % {
382394
'openstack_release': openstack_release,
383395
'openstack_release_l': openstack_release.lower(),
384396
'f5_lbaasv2_driver_shim_url': f5_lbaasv2_driver_shim_url,
385-
'version': version
397+
'version': version,
398+
'base_url': 'http://clouddocs.f5.com'
386399
}
400+
401+
# Links to external sites (i.e., outside of clouddocs)
402+
# Use: :issues:`287` would transform to "issue 287" and link to issue #287 in GitHub
403+
extlinks = {'issues': ('https://github.com/F5Networks/f5-openstack-lbaasv2-driver/issues/%s',
404+
'issue ')}

docs/environment-generator.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,3 @@ See the `Differentiated Service Environments`_ documentation for more informatio
3030

3131
See `Capacity-Based Scale Out`_ to learn about agent redundancy and scale out for differentiated service environments.
3232

33-
.. _Capacity-based Scale out: /cloud/openstack/v1/lbaas/lbaas-differentiated-service-environments.html
34-
.. _Differentiated Service Environments: /cloud/openstack/v1/lbaas/lbaas-capacity-based-scaleout.html

0 commit comments

Comments
 (0)