1. 18 May, 2022 3 commits
    • Takashi Kajinami's avatar
      Remove unicode literal · 771eb864
      Takashi Kajinami authored
      ... because u'...' is equivalent to '...' in Python 3. Also, removed
      the unicode prefix from example outputs because it is no longer shown
      in Python 3.
      
      Change-Id: I1f8fbec1d711659872cb07d2dcef9e33d5a9d21a
      771eb864
    • Takashi Kajinami's avatar
      Remove six · 69125bfd
      Takashi Kajinami authored
      Python 2 is no longer supported, so we no longer need the six library.
      This change removes usage of the library as well as reference to it
      (and Python 2) from the documentation.
      
      Change-Id: I6328b11dcad54f70f64ecff53eb60708e34351cf
      69125bfd
    • Zuul's avatar
      Merge "Fix unit test failue with cliff>=3.5.0" · c6ce0af0
      Zuul authored
      c6ce0af0
  2. 17 May, 2022 5 commits
  3. 16 May, 2022 9 commits
  4. 13 May, 2022 1 commit
  5. 28 Oct, 2020 1 commit
  6. 22 Sep, 2020 1 commit
    • wangzihao's avatar
      bump py37 to py38 in tox.ini · b46836ee
      wangzihao authored
      in 'victoria' cycle, we should test py38 by default.
      
      Change-Id: I91257def33d99a0fdebdf01e60e9e031104e81bd
      b46836ee
  7. 16 Sep, 2020 1 commit
  8. 08 Sep, 2020 1 commit
  9. 29 Jul, 2020 1 commit
  10. 28 Jul, 2020 1 commit
  11. 07 Jul, 2020 1 commit
  12. 16 Jun, 2020 2 commits
  13. 11 Jun, 2020 1 commit
  14. 09 Jun, 2020 4 commits
    • Zuul's avatar
      df7dbabb
    • Andreas Jaeger's avatar
      Update hacking for Python3 · a9913ea3
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.1.0 which
      supports Python 3.
      
      Fix problems found.
      
      Change-Id: I54f9f7c5f6ee87ee886658388541f45e23c7546d
      a9913ea3
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · ea2e6420
      Andreas Jaeger authored
      Switch to openstackdocstheme 2.2.0 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.
      
      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.
      
      Set openstackdocs_pdf_link to link to PDF file. Note that
      the link to the published document only works on docs.openstack.org
      where the PDF file is placed in the top-level html directory. The
      site-preview places the PDF in a pdf directory.
      
      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: Iec58d8dfa90b9b3d7b67d81798b32fb2670e21d4
      ea2e6420
    • Sean McGinnis's avatar
      Use unittest.mock instead of third party mock · 9577fe03
      Sean McGinnis authored
      
      
      Now that we no longer support py27, we can use the standard library
      unittest.mock module instead of the third party mock lib.
      
      Change-Id: I3b728aee2f07ad547ee75cabf78659cef1233bc5
      Signed-off-by: default avatarSean McGinnis <sean.mcginnis@gmail.com>
      9577fe03
  15. 08 Jun, 2020 2 commits
  16. 05 Nov, 2019 2 commits
  17. 02 Oct, 2019 1 commit
  18. 01 Oct, 2019 3 commits
    • Alexandra Settle's avatar
      PDF Documentation Build tox target · 00d70e6e
      Alexandra Settle authored
      This patch adds a `pdf-docs` tox target that will build
      PDF versions of our docs. As per the Train community goal:
      
        https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html
      
      Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt
      to convert our SVGs.
      
      Update docs requirement as well to follow PTI.
      
      Change-Id: I0b866b2e57557290533ee7e7e162e56c9c17cf54
      Story: 2006072
      00d70e6e
    • Stephen Finucane's avatar
      docs: Turn on warning-as-error · 0863f04a
      Stephen Finucane authored
      
      
      There were two main issues here. Firstly, a function was being
      documented as a class, resulting in:
      
        WARNING: error while formatting arguments for barbicanclient.client.Client:
        'function' object has no attribute '__mro__'
      
      Secondly, a docstring for a common function had an incorrect field list
      format, resulting in:
      
        docstring of barbicanclient.v1.acls.SecretACL.get:4: WARNING: Field list
        ends without a blank line; unexpected unindent
        docstring of barbicanclient.v1.acls.ContainerACL.get:4: WARNING: Field list
        ends without a blank line; unexpected unindent
      
      Resolve both.
      
      Change-Id: I69ef97cb48c6b5a1add4e89c4a53047420d314f4
      Signed-off-by: default avatarStephen Finucane <stephenfin@redhat.com>
      0863f04a
    • Douglas Mendizábal's avatar
      Fix lower-constraints tox target · 79f387fb
      Douglas Mendizábal authored
      We seem to be running into a coverage issue [1] in 4.0.  This patch
      raises the lower bound of coverage to 4.1 to get the lower-constraints
      target to pass again.
      
      [1] https://github.com/nedbat/coveragepy/issues/359
      
      Change-Id: Ieddef753b4ee3e9b6d246168ed17c5c99e084564
      79f387fb