Commit Graph

14 Commits

Author SHA1 Message Date
Jeremy Stanley 5e99e4fd9c Drop unit tests autodoc from contributor docs
The Sphinx autodoc extension now wants testtools installed, so docs
builds are breaking. The value of autodoc'd unit tests is basically
nil, since contributors should be able to read the source code
anyway, so let's just get rid of this section.

Change-Id: Iec379fa0680c7552fa2a5ad77b4f23748f6afceb
2022-10-04 15:30:51 +00:00
Jeremy Stanley 5a1fb0fbfe Publish release notes
Since we have release notes for bindep, we should publish them
alongside our documentation. Also update to more modern patterns for
invoking Sphinx, splitting documentation build requirements to their
own file. Drop use of the openstackdocstheme and just rely on the
default Alibaster theme like other OpenDev tools do. Remove a few
other OpenStackisms in the Sphinx configuration too, and drop the
autogenerated date included in the copyright value (not only is it
unnecessary, it's bad practice from a rebuildability standpoint, and
inaccurate since the date docs were built is not necessarily the
date the content was written).

Change-Id: I84ab856dc92d0546653fe7ca7c4e9683835c9c4a
2021-02-02 19:53:17 +00:00
Sorin Sbarnea 6deb027936 Assure bindep can be called as a module
- assure we can all bindep as a module (python -m bindep)
- add test the assures output is the same regardless how is called
- include argparse fix which needs to know executable name when
  called as modules.
- enables use of bindep without needing to have it in PATH

Change-Id: Ib2aac359e2f23cb0ac7857835905e0a02e90888d
2021-01-27 17:18:05 +00:00
Andreas Jaeger c112ea2053 Update docs building
* Use openstackdocstheme instead of obsolete oslosphinx
* Update requirements to current versions
* Use sphinx-build instead of pbr specific commands
* Fix wrong indend to avoid sphinx warning

Change-Id: I5aff91ec45466f25b825b1729561976db69eb188
2018-09-24 20:16:02 +02:00
Jeremy Stanley 24451d1689 Use the autodoc Sphinx extension
Add Python API and test indices to rendered documentation. This is
rudimentary for now, but will get better as useful docstrings are
added to the Python source.

Change-Id: I723ee931e3c219ce08c3d24f79e862e8b304733e
2016-11-11 19:24:49 +00:00
Jeremy Stanley 99329d88ac Remove unused module index in documentation
We don't currently use sphinx.ext.autodoc as most of the source code
is missing docstrings anyway. Remove it so that we'll stop creating
a broken link to py-modules.html when rendering documentation. This
can be reverted later when we're ready to add source documentation
to the project.

Change-Id: I6a2c599f319859985812fe61ad5b3d7aea196e05
2016-11-11 19:11:21 +00:00
Jenkins 871ac85019 Merge "Use current year for copyright" 2016-06-30 20:04:17 +00:00
Jenkins 56febd08f9 Merge "Update copyright to 2016" 2016-06-29 18:24:24 +00:00
Andreas Jaeger 605bcd7571 Use current year for copyright
Always update copyright for docs with current year.

Change-Id: I71f59e442e705482de8f9aec82789587cf04a99f
2016-06-29 20:10:22 +02:00
Andreas Jaeger 0acc9d5629 Update copyright to 2016
Change-Id: Iadc236752cdbf729fb21bea2d3f16ca781021334
2016-06-29 20:05:25 +02:00
Jeremy Stanley af787fa7ee Add NEWS.rst listing important changes for 2.0.0
Add a NEWS.rst listing backward-incompatible behavior changes
between the latest 1.0.0 and upcoming 2.0.0 releases.

Change-Id: Ic9ab861bc676383965ea0b18c5922974dd8eacc7
2016-06-29 17:36:38 +00:00
Jeremy Stanley 4e47942a6e Update documentation from cookiecutter
This is initial boilerplate bringing in the existing basic project
documents so that Sphinx can index and build them.

Change-Id: I8caa72164ac897ea57a38c39f11d471b0bb3596c
2015-07-06 17:43:35 +00:00
Andreas Jaeger 7dbc483477 Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
2014-10-04 20:49:31 +02:00
Robert Collins cb397d5f3e Initial project docs and framework. 2013-06-09 21:24:01 +12:00