Commit Graph

7 Commits

Author SHA1 Message Date
wangzihao 3b8a78c2e2 Bump hacking min version to 3.0.1
hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new
version with new checks.

bumping the min version for hacking so that any older hacking versions
which auto adopt the new checks are not used.

Change-Id: Ida74041552060714de9a085ae99a6ef55a052778
2020-10-14 17:24:06 +08:00
zhangbailin 14d45468ce Change the doc8 check mode
In Ib226cbf9fc1fb7d3146083d65c44d8e0b80e2a7b we were introduced the doc8
check, but the configuration in cyborg/tox.ini is incorrect. This patch
will combine the doc8 check in [testenv:docs] to fix 'tox -e doc8' error.

Story: 2008084
Task: 40785

Change-Id: I9eb30de1407022a31086caab265e5e51e3d06bf9
2020-09-16 09:52:18 +00:00
Andreas Jaeger 546b9c3856 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.

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

The repo is setup in project-config to use storyboard, so update the
config.

Change-Id: I1ba7f47312fea8de36c4c0c0ca6bf9c2220cbf42
2020-06-09 07:35:30 +02:00
Andreas Jaeger 30c3f89f9a Cleanup py27 support and docs
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove python 2.7 support from requirements
- Update to current hacking version
- Update to newer openstackdocstheme
- Remove py2.7 support from setup.py

Change-Id: I8f12690a451d01c6769d2a8756ffc07b8ee0e743
2020-04-09 21:47:26 +02:00
zhangbailin 9cc2d9d016 Remove releasenotes directory
In cyborg-specs we are not necessary to maintain the release notes,
most of the time, release notes are added when features are
added/removed or major changes (e.g. bug fix) are made to help
developers know the development process.

Change-Id: I220741519966b6cf048d136602f8028707c73103
2020-02-27 06:18:04 +00:00
zhangbailin aad2353b0d Switch to sphinx-build and cleanup
1.Sync sphinx dependency with global requirements. It caps python 2
  since sphinx 2.0 no longer supports Python 2.7.

2. Switch to using modern sphinx-build.
3. Remove oslotest, testtools packages from test-requirements.txt,
   their not used.

Change-Id: Ia25e4a06ca2ec4e0018d5763e0946ded704b521b
2020-02-27 04:21:56 +00:00
Yumeng Bao c87d8215e6 Initialize cyborg-specs repository
This patch initializes cyborg-specs repository using cookiecutter template[1]
[1]: https://docs.openstack.org/infra/manual/creators.html#preparing-a-new-git-repository-using-cookiecutter

Change-Id: I0c1ea27b1956e9af7d5d3b8d46ee894f22acb9ff
2018-03-22 16:07:07 +08:00