Commit Graph

19 Commits

Author SHA1 Message Date
Stephen Finucane ab7cdb4c25 Blacken code
Another library down.

Change-Id: Id29f29331ba994a1f09376763702fcca82ec6f1c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-11-15 10:05:52 +00:00
Stephen Finucane 147c01e734 Fix pre-commit issues
Change-Id: Ie973475b714e01b0619acd5554a88f7da9014edc
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-30 19:29:30 +01:00
niuke ae0aad4b37 remove unicode prefix from code
All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I9ecbedd5c31ed098c4a6d913a1cafebd7af49573
2022-08-30 05:37:18 +00:00
Andreas Jaeger eac4ac1267 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.

Disable openstackdocs_auto_name to use 'project' variable as name.

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.

Remove docs requirements from lower-constraints and test-requirements, 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.

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

Change-Id: I67fd82bf3755ee6942f8c97a05cd939225ddf5ad
2020-05-31 20:42:26 +02:00
Dean Troyer 5a9501be4f Updates for OpenDev transition
Change-Id: I3e79081881b4d298a1abcc6ef1bdc327ce197487
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-04-20 13:22:25 -05:00
YAMAMOTO Takashi fb13d5f73a Replaced a few references to LP bugs with storyboard
Change-Id: I742e703d4d4e8640b70fce5a751701469078950d
2018-07-27 15:56:29 +09:00
Dean Troyer b8e166bb37 Replace autodoc with sphinxcontrib-apidoc
Fix local docs builds back to the new docs PTI.

http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Also clean up after the removal of osc_lib.session

Change-Id: Iaef7b91d4b72b654a10a9f3d9de40157799932ad
2018-07-11 00:19:48 -05:00
Tovin Seven f5166dcff7 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: If62d803da40dbd08da9162e9a30a5fcca124ced2
2018-04-20 17:05:16 +07:00
Doug Hellmann 4a6883c5e6 use openstackdocstheme html context
Set some of the new config values and enable openstackdocstheme as an
extension so it will inject values into the page context as it writes
each documentation page. This ensures the pages link to the right bug
tracker, etc.

Change-Id: Ifee9dcb2982313210fd66479b32e3c1203ce14de
Depends-On: Icf3a40ed104cfd828f532f6f2b112ed02f996ff5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-23 14:51:31 -04:00
Doug Hellmann 8e164af6bb switch from oslosphinx to openstackdocstheme
Change-Id: Ifa30f6c05cc2e6fd5467c4d3b20fd76218c3c90a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-22 14:47:09 -04:00
Doug Hellmann bdfa70956f rearrange existing documentation to fit the new standard layout
Change-Id: I91657e96ef29f8b36b2089a11c9c4966418cfcdb
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-22 14:36:41 -04:00
Hironori Shiina c14bba3c64 Fix a tiny typo in documentation
This patch removes a duplicate 'the' in documentation.

Change-Id: I3e41c2e66be445f39611427df3461dd1422dd1a1
2016-09-29 20:40:34 +09:00
Steve Martinelli b60f22b1fb update the transition docs
include auth bits and alphabetize.

Change-Id: I9f1cab8757c550e159e474a80ebcf98055d9947a
2016-06-23 16:39:40 +00:00
Dean Troyer 26ff8c98d7 Clean up API
* Merge api.KeystoneSession into api.BaseAPI
* Beef up testing coverage

Change-Id: I304871c95c1dc82cd8ce2afbbda2320643ff4d27
2016-05-23 13:25:04 -05:00
Dean Troyer de84ddacca Move api.api and api.utils to osc_lib
Imports changes only

Change-Id: I3d521023075bab3666c7a982bb8d86180b0cefb6
2016-05-20 15:56:09 -05:00
Dean Troyer 59edb5108d Move shell to osc_lib and begin rework
This required a bit of surgery beyond a straight move to make tests pass.
* break up initialize_app() so subclasses can easily insert into the flow
* remove all handling for verify/insecure

Change-Id: I01b1ca2c146ee048603dc2ffa2c1efca83826743
2016-05-17 19:17:58 -05:00
Dean Troyer 0901727da8 Add transition doc
Change-Id: Ie97f95a97caa0d06a115852bd4f4559c7b225994
2016-05-17 19:16:40 -05:00
Steve Martinelli dda54dc768 fix the docs build
currently the docs build will fail since it's missing conf.py. I
also went ahead and added a link to the change log and module
index.

Change-Id: Id8ae7466fd3e4b232090fdef3b6725018230577e
2016-05-15 15:00:59 -07:00
Dean Troyer f78173f0e1 Rename to osc-lib
* add fresh README and doc tree
* remove references to OSC and commands
2016-05-12 16:06:15 -05:00