13 Commits

Author SHA1 Message Date
stephane
1d82c93652 Fix warnings on doc builds
In the sphinx config, mock out the nova imports we do for the
compute manager so the docs will build with fewer errors.

Exclude the alembic migration environment from autodoc.

Fix the remaining markup errors, which are now easier to spot
given the other fixes.

Note that this leaves one remaining warning, which is that the
generated API documentation isn't currently included in a
toctree. This is easy to fix but it would be good to discuss
whether/where to include it in the documentation hierarchy.

Closes-Bug: 1277282
Change-Id: Iee5fc3eeb95a09198d5234d0ea05e150ab26f16b
2015-08-07 11:36:17 -07:00
Shuichiro MAKIGAKI
428f0367b7 Add sequence diagrams for pxe_ipmi driver
Add sequence diagrams generated by sphinxcontrib-seqdiag
along with the raw text that generated then, so that it can be
updated easily later.

The diagrams were created originally by Devananda van der Veen,
and used in OpenStack Summit YVR.

Ref)
* https://www.openstack.org/summit/vancouver-2015/summit-videos
/presentation/isn-and-039t-it-ironic-the-bare-metal-cloud
* http://devananda.github.io/talks/isnt-it-ironic.html

Change-Id: I47ff02c6cb4764c1740d0924668714ed205b3d9b
2015-07-01 18:25:31 +09:00
David Shrewsbury
fb1431e626 Remove 'incubated' documentation theme
Ironic is no longer incubated, so let's not use the incubated HTML
documentation theme anymore.

Change-Id: I202a549125144e10a93a62b5bbdd03370f7847be
2014-09-16 16:51:42 -04:00
Andreas Jaeger
477cfa115c 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-09-13 09:25:11 +02:00
Ruby Loo
3ca54acf91 Remove XML from api doc samples
v1 API doc samples include XML:
  http://docs.openstack.org/developer/ironic/webapi/v1.html
However, the Ironic API does not support XML.

This removes the XML documentation from the generated docs.

Change-Id: I0588709190eafa52a252d19a163dc42c36f2e061
Closes-Bug: #1311268
2014-09-08 18:40:56 +00:00
Devananda van der Veen
0489f23f69 Switch to "incubating" doc theme
Change the sphinx config to use the "incubating" theme from oslosphinx.

Change-Id: I51fcc9689e331dc2d233750f4489fb1a3375b39a
2014-09-06 12:45:34 -07:00
Sergey Lukjanov
1ef1c90f32 Start using oslosphinx theme for docs
Use the new oslosphinx version of the OpenStack doc theme instead of
maintaining a copy of it in the Ironic repository.

Change-Id: I1d949d1e2734b10e38dea0067db9f3cfd7109c11
2014-03-27 11:40:14 +04:00
Devananda van der Veen
8e854d7eb8 Correct version.py and update current version string
Correct the version string in setup.cfg for Icehouse.

Make ironic/version.py use PBR instead of the stale code that was there.

Make ironic/common/config.py properly set the version string so that
all CLI commands output it when "--version" is passed.

Remove openstack.common.version module which is no longer present in
oslo-incubator.

Closes-bug: #1294389

Change-Id: I9a7bfe5fc1b79934cf2467d6f8a6c16f41205dbf
2014-03-21 13:50:05 -07:00
Devananda van der Veen
30206795b7 Add hooks to auto-generate REST API docs
Add the necessary bits for sphinxcontrib-pecanwsme
so that we can start auto-generating REST API docs.

Change-Id: I6ad61a5185462916865884dd1619465ef90aba0a
Closes-bug: 1251011
2013-11-20 09:25:06 -08:00
ZhiQiang Fan
2cb920614a Replace OpenStack LLC with OpenStack Foundation
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.

Change-Id: I6ab820e61514c6004247d9b931976e03baf84ae0
Fixes-Bug: #1214176
2013-09-20 03:45:06 +08:00
Devananda van der Veen
676a157f42 More doc updates.
Create doc/source/dev/ directory, and add several files that got
accidentaly ignored because they were under doc/source/api/.

Also move some files from doc/source into doc/source/dev to clean up the
base doc dir.

Change-Id: Ief9777216db82ec3be32b7a73e2d268a3a973ef8
2013-05-29 16:20:58 -07:00
Devananda van der Veen
72ba74423e Minor fixes to sphinx docs.
Add pygments.css to match other OpenStack projects.
Fix a few things in conf.py

Change-Id: Ieb62caa7d4540ed642265612eb9a04e5a61a7b99
2013-05-29 11:03:58 -07:00
Monty Taylor
23f30cb6fe Add support for Sphinx Docs.
Also turn on doc API autoindexing.

This depends on https://review.openstack.org/30520 landing in pbr and a
new point release being cut, as it uncovered a bug.

Change-Id: I8f4ffc4f7c54c7b207d6d52e74ccab020596e602
2013-05-25 08:03:45 +02:00