40 Commits

Author SHA1 Message Date
Takashi Kajinami
c76a008a3f Remove unnecessary 'x' bit from a document file
Change-Id: I4f343cd59a134c45e9f4d32658653a3389a901d3
2024-10-29 23:45:53 +09:00
wanghao
8f0b9f5b07 Adding the doc of message in CLI
The doc of message is missing in zaqarclient.
So this patch will add it and also remove the unused docs for
other resources.

Change-Id: I55c745a81226487292220edfb629ca4f7dfd95d7
Closes-Bug: #1893145
Signed-off-by: wanghao <sxmatch1986@gmail.com>
2020-08-27 08:51:23 +08:00
Andreas Jaeger
db7f5cd9fb Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Iafd5fb0f99a2b68c6f4a3118bf7d7c3a8881465f
2020-05-22 17:22:46 +00:00
Andreas Jaeger
d399c7dbe1 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine

Change-Id: I623b1e0bfc2ec8cd9ce017556101cdeb06a1bb4c
2020-04-28 07:50:10 +02:00
Nguyen Hai
a38a7ecb63 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Remove [build_sphinx] section as described in:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: Ief4342133f5b2f094feb9816f154c6d17a2d028e
2018-03-30 00:04:19 +09:00
ShangXiao
8ee272abe7 Fix the old or invalid links in docs
Fix the old or invalid http url links in docs.

Change-Id: Iea99aba898a76b5c59db45719640fad8f4a5f684
2018-03-26 04:46:54 +00:00
Jenkins
bcd85fee79 Merge "Switch from oslosphinx to openstackdocstheme" 2017-07-26 23:58:40 +00:00
lingyongxu
478b63046b Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I8aad9f2c5f610f8f5241fdddc21ea2a0536d1fd3
2017-07-25 14:44:00 +08:00
gecong1973
19796a6f7c Add new command guide doc
All the zaqarclient command have been added according to 'openstack
messaging XXX' format,see [1] , this patch update doc accordingly.

[1] https://review.openstack.org/#/c/470201/

Change-Id: I552b0b95c960b17d25272c53863e16e191428da2
2017-07-21 00:19:40 +00:00
gecong1973
84af8ee243 Add ZaqarClient "set metadata" help message
ZaqarClient does a full replacement when "set metadata", add help
message to avoid misleading.

Change-Id: I7ea8195a8786e0e530f5ffa9207be752a1eb0577
2017-07-03 03:05:08 +00:00
wangxiyuan
ab7e5ca9eb Update purge doc
purge command guide is missing.

Change-Id: I92dcd1ca025aa1c5982fe22fee000d237c110022
2017-05-18 03:37:56 +00:00
wanghao
bd190e8585 CLI: support detailed in queue list
Support detailed in queue list in openstackclient.

Change-Id: I0b7c5d40b6e72351d8f114be4e124b76396d7ae9
Closes-Bug: #1679994
2017-04-06 17:09:12 +08:00
Jenkins
60ce284184 Merge "remove "--detailed" in subscription list doc" 2017-04-01 09:25:26 +00:00
jonnary
b4dc25c85d remove "--detailed" in subscription list doc
"--detailed" has been removed from subscription list, this patch
remove it in doc as well.

Change-Id: Id9916b94c50b40c7006100b741f6584d3ea80f1c
2017-04-01 15:36:56 +08:00
jonnary
92173defa2 Add 'pool' description to pool flavor commands
Now we only have 'pool' description in pool flavor create.
This patch adds this description to other pool flavor commands.
This will help users understanding this is a pool flover.

Change-Id: I9423e42f8b8222fa25d6a73db9e0bdafb20248f8
2017-04-01 15:25:12 +08:00
Jenkins
01b9978e6d Merge "Remove unnecessary utf8 coding format in the head of files" 2017-01-17 10:01:16 +00:00
Jenkins
62aba71f8b Merge "Add the releasenote detail" 2017-01-05 07:17:04 +00:00
miaohb
c8674dbaa6 Remove unnecessary utf8 coding format in the head of files
The line of "coding: utf-8" is added by some editors automatically.
It is useless, can be removed.

Change-Id: I50ded5ec5140cfbcfdaa1a09ac816e6c88969000
2017-01-05 09:20:30 +08:00
wanghao
d9a463233e Add doc for subscription cli
Add doc for subscription cli in python-zaqarclient.

Change-Id: I96edb8dd4a23dc01dad1f6fa641806bdc12cca22
2016-12-22 20:48:36 +08:00
wangxiyuan
794b66d0be Add the releasenote detail
This patch add the releasenote detail.

Change-Id: I6a897e204d128758067ea8e3d557700fd1f0f724
2016-12-22 20:32:04 +08:00
ZhaoBo
3bf033ad05 Add command guide for openstack ping&health CLI
Change-Id: I36fc122324a7a8b53e546e00a94ab4d22e7c7550
Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com>
2016-12-22 07:47:29 +00:00
ZhaoBo
1fa91a01ad Add command guide for openstack flavor CLI
Change-Id: Iccd55c6a4aeb858f628ab68223ee0cd464a33d9f
Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com>
2016-12-22 07:47:21 +00:00
ZhaoBo
41fcd3c040 Add command guide for openstack pool CLI
Change-Id: I5493e53cbc95ea17d9032c85c5bf6b16639f7a70
Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com>
2016-12-22 07:47:10 +00:00
Jenkins
43a7ca8b5b Merge "Add command guide for openstack claim CLI" 2016-12-22 07:45:23 +00:00
Jenkins
cd2b2937d9 Merge "Add command guide for queue" 2016-12-22 07:45:14 +00:00
Jenkins
f07ec90a6c Merge "update doc to Api v2.0" 2016-12-22 02:13:06 +00:00
wangxiyuan
c9db6cc642 Add releasenotes for client
Change-Id: Icf5c7e7048ba9a13f88245d4eee60b8d24ecdc83
2016-12-21 14:12:00 +08:00
ZhaoBo
8eee9c3b76 Add command guide for openstack claim CLI
Change-Id: Ib7bebb90daa7c047d0d78d2856b77277552e44a7
Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com>
2016-12-20 09:55:01 +00:00
wangxiyuan
83802d7c66 Add command guide for queue
Change-Id: I759fd519cb47833aab5edcc893214023a8c051b3
Co-Authored-By: ZhaoBo<zhaobo6@huawei.com>
2016-12-20 14:26:54 +08:00
wangxiyuan
002a3cf980 update doc to Api v2.0
Make the api v2.0 as the reference now.

Change-Id: I1d7dd4aa75de5d080b45c6fa7c77d56aad59bb21
2016-12-20 14:22:40 +08:00
Thomas Bechtold
bb08d6ad37 Fix doc build if git is absent
When building packages if git is absent, then we should not set
html_last_updated_fmt. It can still be set via the -D switch
when building with sphinx-build.

Change-Id: I1e1865dfcd76eb7f06dd28a5b3b401c5625fcdde
Closes-Bug: #1552251
2016-04-27 09:12:35 -05:00
Andreas Jaeger
aa372327a1 Remove unused pngmath Sphinx extension
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.

Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
2016-02-29 19:58:40 +01:00
MD NADEEM
e97a78387b Fixing the deprecated library function
os.popen() is deprecated since version 2.6. Resolved with use
of subprocess module.

Change-Id: I71241cc8d47d1be4dcb20924937cb1c25afbc240
Partial-Bug: #1529836
2016-01-18 03:09:32 +00:00
Flavio Percoco
c1a0ea98b6 Release notes for 0.2.0
Change-Id: I474cd5af7f726c0af8173bfe403c13861685d0b3
2015-09-21 15:49:26 +02:00
Flavio Percoco
f0de7d6039 Relese notes for zaqarclient 0.1.1
6707d41 Drop incubating theme from docs
24aeae5 Deleted unuseful line
f81c36d Drop use of 'oslo' namespace package
0047c54 Fix handling of 1.1 API
2bd784e Gets 'flavor' data if the resource exists
f5f35d4 Gets 'pool' data if the resource exists
ff13b7a Handling exception on 504 Error
e4af424 Updated from global requirements
99f0b35 Added i18n support
2cb7e90 Makes health return True or False
19ec61d Remove unused openstack/common modules
369ac1e Adds encapsulation control to the client
f96c739 Updated from global requirements
4d957e6 Extend some docstrings with useful information
632c893 Add reference docs for latest recommended client
be666ff Add docs for `Client` instances
d8a5061 Setup developer docs for zaqarclient
a411bf0 Fix the client name typo
4e60be5 Updated from global requirements
ad673c5 fix KeystoneAuth doc string
0c6c0d7 Updated from global requirements
d721b75 Updates API name
ebb8d56 Add a read-only property for Queues

Change-Id: I38d88788a3753da888211055de91e3aa1a9d7bbb
2015-05-28 09:46:04 +02:00
Joe Gordon
6707d41116 Drop incubating theme from docs
OpenStack has dropped the incubation notion, so labeling this as an
incubated project in the docs is confusing.

Change-Id: I1893fa76affb5e712abef6765e373077b2fc6832
2015-05-27 12:21:55 -07:00
Flavio Percoco
4d957e6ed6 Extend some docstrings with useful information
This patch extends some of the docstrings in the `Client` class with
more useful information. The patch also adds `intersphinx` to allow for
linking to other docs within zaqarclient. For example:

    :rtype: :class:`zaqarclient.transport.base.Transport`

will link to the documentation for Transport if it has been generated.

Change-Id: I928d63d74739e9e18709979e79c95b5606d97032
2014-10-23 22:27:19 +02:00
Flavio Percoco
632c89336e Add reference docs for latest recommended client
Add the reference documentation for the latest supported client version.
Older versions will also be linked there as they come.

Change-Id: I4d9da31ed0aa39ba6cdafb7ad61af1197d4610e4
2014-10-23 22:27:19 +02:00
Flavio Percoco
be666ff985 Add docs for Client instances
This patch documents the basic usage of `Client` instances. It does not
provide a detailed documentation about the methods exposed but a high
level documentation of what the recommended way to access these
resources is.

The current version refers to sections like 'core API', 'config' and
others that haven't been documented yet. Once they will be, proper links
to those sections will be added here.

Change-Id: I705498b8e4c19c75c9697419d1fd90c9a9ae40b9
2014-10-23 22:27:19 +02:00
Flavio Percoco
d8a50610ed Setup developer docs for zaqarclient
Zaqar's client library is lacking of any kind of documentation. This
needs to be fixed, hence this patch. The patch adds the docs'
infrastructure to start writing the required documentation for the
library.

Change-Id: Ife171e352da4ec977202efcb3f1dcf573edcdc27
2014-10-23 22:27:12 +02:00