4 Commits

Author SHA1 Message Date
Sean Mooney
39ccb17db4 [docs] replace() argument 1 must be str, not _StrPath
This change ports Ic8936c2e657a2a0212b1bc96915ba6e2035569b3 from
nova's specs repo to fix the redirect generation

The type of app.builder.srcdir is now a _StrPath which
breaks the invocation of replace when generating
redirects.

This change just fixes that by wrapping it in str()

Change-Id: I123aec140d9871ad27e522c107edad40efaf2a19
2024-10-25 12:34:53 +01:00
chenke
e43594e185 Solve the error: 'Sphinx' object has no attribute 'info'
This problem has been discussed in this web:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004462.html

This solution like nova:
https://review.openstack.org/#/c/648670/

Change-Id: I15e8d731417c041499338ada29c1b7fe5f0715f4
2019-04-04 17:44:18 +08:00
Nguyen Hung Phuong
527547a3ee Clean imports in code
In some part in the code we import objects. In the Openstack style guidelines
they recommend to import only modules. [1]: "Do not import objects, only modules".

[1] https://docs.openstack.org/hacking/0.10.3/

Change-Id: Ib28240efb761a9426c57ac2551e0f19f07cdc2fb
2018-02-21 17:57:30 +07:00
Joe Cropper
20823fe379 Setup watcher-specs repository
Initial delivery of watcher-specs repository.

Change-Id: Ib61e25d246c258612aa22fa9cf37f331e83bb59c
2015-11-10 06:28:39 -06:00