File python-os-api-ref.spec of Package python-os-api-ref

# spec file for package python-os-api-ref
# Copyright (c) 2020 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%global sname os-api-ref
Name:           python-os-api-ref
Version:        1.5.0
Release:        0
Summary:        Sphinx Extensions to support API reference sites in OpenStack
License:        Apache-2.0
Group:          Development/Languages/Python
URL:  {sname}
BuildRequires:  openstack-macros
BuildRequires:  python-PyYAML
BuildRequires:  python-Sphinx
BuildRequires:  python-beautifulsoup4
BuildRequires:  python-docutils
BuildRequires:  python-openstackdocstheme
BuildRequires:  python-oslosphinx
BuildRequires:  python-pbr
BuildRequires:  python-python-subunit
BuildRequires:  python-sphinx-testing
BuildRequires:  python-testrepository
BuildRequires:  python-testtools
Requires:       python-PyYAML
Requires:       python-Sphinx
Requires:       python-docutils
Requires:       python-openstackdocstheme
Requires:       python-pbr
BuildArch:      noarch

This project is a collection of sphinx stanzas that assist in building an API
Reference site for an OpenStack project in RST. RST is great for
unstructured English, but displaying semi structured (and repetitive) data
in tables is not it's strength. This provides tooling to insert semi-structured
data describing request and response parameters, and turn those into nice
The project also includes a set of styling (and javascript) that is expected
to layer on top of an openstackdocstheme theme base. This provides a nice set
of collapsing sections for REST methods and javascript controls to
expand / collapse all sections.

%autosetup -n %{sname}-%{version}



%{__python2} testr

%license LICENSE
%doc README.rst ChangeLog

openSUSE Build Service is sponsored by