19 Commits

Author SHA1 Message Date
Jenkins
324fa6d22e Merge "Fail with more meaningful error while creating client" 2016-08-18 20:42:26 +00:00
Anton Arefiev
eb97ff32c4 Fail with more meaningful error while creating client
Parameter 'endpoint' in v1 client object is mandatory if
os_ironic_api_version isn't specified. It's used to fetch version
from cache[1] and as endpoint override in session client[2]. But
since it passed via *args, it could be missing, and creation fails
with IndexError.

[1] https://github.com/openstack/python-ironicclient/blob/master/ironicclient/v1/client.py#L42
[2] https://github.com/openstack/python-ironicclient/blob/master/ironicclient/common/http.py#L595

Change-Id: I0310f748a1254dd7e54d93f913cff53aadaff16b
2016-08-15 14:57:16 +03:00
Jenkins
2a6549a20a Merge "Fix Quick-start example syntax." 2016-07-21 11:13:50 +00:00
Chris Krelle
b415fb7aa5 Add release note link for client release notes
Add a link to client release notes to the index page.

Change-Id: I871aace4e255d400f0a75318688926e40f95b551
2016-07-14 22:44:37 -07:00
Vasyl Saienko
e8cc61bbaa Fix Quick-start example syntax.
This patch fixes syntax of example provided by documentation.

Change-Id: I2f6a5361a2dd4af1357a99e470eef2eed9a6b4cd
2016-07-13 09:01:38 +03:00
Sergey Turivnyi
f5c478b027 Add documentation on how to run tests
Added a testing page to the documentation.

This includes information on:
 * Running PEP8 checks
 * Running unit tests
 * Running functional tests

Closes-bug:#1511731
Change-Id: I4a5cf4be98f32455e36ea7d6a45b18afca043809
2015-11-18 11:10:01 +02:00
Ruby Loo
824025bb64 Use doc8 style checker
This uses the doc8 style checker to check that document
files conform to certain requirements, as documented at
    https://pypi.python.org/pypi/doc8.

Some files were modified because they had lines that
were longer than 79 characters.

Change-Id: I94e081e197898359676821cfcf8cb1133ed28bc5
2015-09-30 23:25:23 +00:00
John L. Villalovos
2df670cf30 Remove unneeded 'utf-8' coding lines
This is basically a revert of commit:
  af741ec2236619880fa902d68aef4a6ae6cef534

It was decided that only files that need to have the line:
  # -*- coding: utf-8 -*-
Should have the line[1] as a general principle

This patch removes the 'utf-8' coding line from files that consist
entirely of ASCII characters.

[1]
http://eavesdrop.openstack.org/meetings/ironic/2015/ironic.2015-04-20-17.00.html

Partial-bug: #1325193
Change-Id: I88c1c37f7b580aa805eae9d4a1e66d33302a325f
2015-04-21 16:44:47 +00:00
Diego de Lima Pereira
dda5d828d4 Fix Python Ironic Client Documentation
In the 'ironicclient Python API' page, the credential section has a little
mistake in the example. It's missing "," in the first line and a '}'
in the last. You can see it at
http://docs.openstack.org/developer/python-ironicclient/api_v1.html

Change-Id: I195f46ca7261390b0d6321bc6bdd7e8d0908af40
2015-02-13 08:25:58 -03:00
Jeremy Stanley
77129b82d7 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Dropped sections that duplicate each other after the change.

Co-Authored-By: David Shrewsbury <shrewsbury.dave@gmail.com>

Change-Id: I0642c49567a58797fd811864e95b2d9b4ed21efc
2014-12-17 09:24:45 -05:00
David Shrewsbury
e1629469f1 Fix sphinx warnings
Getting rid of a couple of warnings that are generated during the
documentation build.

Closes-Bug: #1392780

Change-Id: I2ebc8f1ec49ff80331077a653f0e73c988153898
2014-11-14 11:07:33 -05:00
Andreas Jaeger
aeabe6bb89 Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
2014-10-04 20:46:48 +02:00
Ruby Loo
b50a3d452c Updates to CLI doc
This updates the CLI documentation to:
- document the OS_REGION_NAME variable
- add a link to the locatin of the tools/ironic.bash-completion file because
  I don't know how/where the user can get it otherwise

Change-Id: I14fe729630cb9b7da298edcb941087a1fe73d41b
2014-09-16 14:33:46 +00:00
Ramakrishnan G
1155530941 Add bash completion support for ironic cli
This commit adds the 'bash-completion' option to
ironic cli which prints all sub-commands and
options, and bash_completion scripts for bash
auto completion.

Change-Id: Ide5b29e262b4217046f124d86902cd0abfdab1b6
Closes-Bug: 1332408
2014-07-09 22:50:12 +05:30
Ruby Loo
2dedb46cfb Adds documentation for ironicclient API
Adds some documentation on how to use the ironicclient API. Describes how
to get a client object and has examples of a few ironic operations.
The ironicclient modules are listed.

Change-Id: Ic7c739fb5722b40c308b90c27178d937cad41028
Partial-Bug: #1300990
2014-04-16 20:27:35 +00:00
Ruby Loo
5516fe0e8d Add documentation for ironic CLI
Adds a short description about how to get started with the
ironic CLI.

Change-Id: I86247c36d9c3ce482dde009bef7e59fcdc493c64
Partial-Bug: #1300990
2014-04-15 12:59:15 +00:00
Ruby Loo
dbc7d40218 Documentation for contributors
Adds documentation for contributors, which describes how to
get started. It mentions licence agreement, launchpad ID, and
includes links to project-related information.

Change-Id: I47423c9f2cdfd708c8cb45d4284c5af16d598153
Partial-Bug: #1300990
2014-04-10 20:49:02 +00:00
Ruby Loo
ef49398f27 Add main developer page
This adds the main ('index') page for developers (to be available
at http://docs.openstack.org/developer/python-ironicclient/).
It has minimal information, and is a place holder so that we can
start adding documentation.

This also fixes issues with 'python setup.py build_sphinx':
- was getting "error: 'source_dir' must be a directory name"
  because sphinx 1.2b3 was being installed instead of 1.1.2
  (see https://bugs.launchpad.net/openstack-ci/+bug/1259511)
- was getting "sphinx.errors.ExtensionError: Could not import
  extension oslo.sphinx (exception: No module named sphinx)"
- was complaining about missing '_theme' (oslosphinx has the theme)

Change-Id: I47ad7e10c20b80a99ae36755b2f7f67c080676fd
Partial-Bug: #1300990
2014-04-01 21:04:08 +00:00
Chris Krelle
8136ec1b72 Add initial files
Add initial files to the repo.

Change-Id: Ia6b0278fc9817f44e63507b54e7d7ad41bf4e219
2013-09-05 16:35:21 -07:00