26 Commits

Author SHA1 Message Date
junboli
ee66db5dc9 Fix html_last_updated_fmt in conf.py
1. remove duplicate html_last_updated_fmt in doc/source/conf.py
   the second one cause the new added one not take effect.
2. update html_last_updated_fmt in api-ref/source/conf.py
   use the recommended '%Y-%m-%d %H:%M' data time format.

Change-Id: Ib37b8a05c88667b34438186c55b6eb3f64b64960
2017-09-09 23:01:08 +08:00
Monty Taylor
c8fada0de0
Remove vestigate HUDSON_PUBLISH_DOCS reference
This isn't actually used and is a leftover from a thing we did
seven years ago that survives today through copy-pasta.

Change-Id: I80972fec4c20bfaff82ebee56d84aac6aa65ac29
2017-09-02 08:49:00 -05:00
Jenkins
c5c7845edb Merge "doc migration: configuration reference" 2017-08-25 17:05:07 +00:00
Tom Barron
fae499cb73 doc migration: configuration reference
In accord with the OpenStack documentation migration spec [1],
this patch pulls over material from the centralized Configuration
Reference so that it will not be lost.  As indicated in the spec,
dynamic generation of this material will be left for later work.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Closes-Bug: #1706181
Depends-On: Ib0fca0c16e14c05307bfc31ae50c65271b7402f1
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454

Change-Id: I7f3b584ac9907da1f07dedd26324cf4703bc7e6c
2017-08-25 13:21:08 +00:00
Javier Pena
b962dc9584 Fix man page build
"python setup.py build_sphinx -b man" was failing after the new
directory layout introduced by https://review.openstack.org/491092.

Change-Id: I7aa904c0a3b043ce4c3aa25aba25486cec07d22a
2017-08-25 09:54:56 +02:00
Tom Barron
8da4333c7f doc migration: openstackdocstheme completion
Finish the transition to the openstackdocs theme in accord
with the OpenStack manuals project migration spec [1].

Also remove the already broken autodoc build since
it generates warnings (which we treat as errors) with
the new theme setup.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Partial-Bug: #1706181
Needed-By: Ieea33262101a1d2459492c1c8aaac5fe042279f6
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454

Change-Id: Ifc80fc56648cef74c85464321d1850e8c68449a0
2017-08-24 09:15:18 -04:00
Thomas Bechtold
f0f78b84c7 Allow docs build without git
When build packages from sdist tarballs, git is not available. So
allow building the documentation without git.

Change-Id: I2e65c7eb6da2f87d97b8eae9fb7411de66416739
2017-07-11 13:55:19 +02:00
Davanum Srinivas
3cc7fa6485 Fix docs failures caused by latest eventlet
Change-Id: I3aed40314d3df86716991d9815ead910bd5dceee
Closes-bug: #1674687
2017-03-21 13:29:12 -04:00
Tom Barron
24a650d0be docs: fix build failure on html_last_updated_fmt
Set this option using the expected type.

Change-Id: Icfece0f2252ea724f7ed7c84e7c17ecbf00d61a6
Closes-Bug: #1673720
2017-03-17 05:53:37 -04:00
Tom Barron
58bd5b0179 Unblock gate failure on docs build
Our form of todo extension does not work with sphinx 1.5.2.

Remove it to unblock gate: we can add todos back in later with
more current methods.  Also clean up some dangling cross-references
in the doc.

Co-Authored-By: Valeriy Ponomaryov <vponomaryov@mirantis.com>
Change-Id: If74b9e32ad2b5d8d70da60895d85588ff993797e
2017-03-03 18:21:45 +02:00
melissaml
5ddbc047e7 Use https instead of http for git.openstack.org
Change-Id: I4ec2501d64103a430fdf4eaaf9044c4ff6b92682
2017-02-21 17:20:14 +08:00
ji-xuepeng
2eefafe5b4 Removes unnecessary utf-8 coding
TrivialFix

Change-Id: I672c1bae22dd066c80c6ef449e31cde664d0be1a
2017-01-22 21:20:55 +08:00
pangliye
0a1a92cb34 Fix license and E265 errors in doc/source/conf.py
This file is not tested with our tox tests. However,
we'll fix it because we're responsible devs.

TrivialFix

Change-Id: I9aa8f422ad3e6360afdcff8ad83773f50ac5a727
2017-01-16 21:59:25 +00:00
Goutham Pacha Ravi
8de817d16e Developer Reference: Adopt the openstackdocstheme
To allow for our developer reference to be consistent with
the rest of the openstack documentation, we need to import
and render this theme on our developer reference.

This gives users a consistent experience as they may
be acquainted with the rest of the OpenStack documentation
(Admin Guide, User Guide, API Guide etc.)
before perusing the Manila developer reference.

It also provides our devref the "log-a-bug" feature so
readers may bring any mis-information to our attention.

This patch is part of a series of commits to improve
in-tree documentation.

Change-Id: I0e4686a273c5bf45c1d57764cd4c312870b06d6e
Partially-implements: bp improve-manila-developer-docs
2016-05-05 17:15:41 +00:00
Thomas Bechtold
fd9b5c0435 Fix doc build if git is absent
When building packages if git is absent, then we should not set
html_last_updated_fmt. It can still be set via the -D switch
when building with sphinx-build.

Change-Id: I02a6bcb43c8283848fb3866bb52cc4c0f50f4c92
Closes-Bug: #1552251
2016-04-13 09:36:41 +02:00
Andreas Jaeger
eeec359896 Remove unused pngmath Sphinx extension
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.

Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
2016-02-28 20:44:39 +01:00
Harshada Mangesh Kakad
7fb5d6b406 Replace deprecated library function os.popen() with subprocess
os.popen() is deprecated since python 2.6. Resolved with use of
subprocess module.

Change-Id: I09f69b57b6dad10a5a6034b39d70f7ab3141bc2a
Closes-Bug: #1529836
2015-12-31 06:58:39 -08:00
Joe Gordon
8949d64085 Drop incubating theme from docs
OpenStack has dropped the incubation notion, so labeling this as an
incubated project in the docs is confusing.

Change-Id: I32714af4407a77dc532dcbd18d8fce89f3863c26
2015-05-27 15:17:22 -07:00
Jenkins
250ca24a7d Merge "Improve documentation build" 2014-09-23 04:25:19 +00:00
Andreas Jaeger
ba713b70f7 Improve documentation build
Fix some problems found during documentation build:
* Remove reference to obsolete files
* Fix warning about too short title underlining
* Include api reference in index page
* Include man page in index page
* We have no _static files, so don't set the config option for it
* Fix reference for tests.share

Change-Id: I798d1ab65184689d75c559de9bffdf5969b9f013
2014-09-22 21:29:37 +02:00
Andreas Jaeger
0c2b82cf77 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
Closes-Bug: #1368910
2014-09-13 13:11:45 +00:00
Pete Zaitcev
c2f1d714f4 Use oslosphinx and remove local copy of doc theme
A packaging review in Fedora found that we had a copy of jQuery code.
Apparently, other OpenStack projects applied a patch to remove this
code, but Manila forked Cinder code from before. The across-the-board
change in OpenStack missed Manila, because we weren't incubated yet.

This patch is almost an exact copy of Cinder patch, but not cherry-
picked because of additional changes, such as the move from oslo.sphinx
to oslosphinx.

Patch is verified to produce readable documentation.

Change-Id: Id0b57f89ae6b63b26b7f0c3fa9af5a529e92ac69
2014-09-08 09:46:23 -06:00
vponomaryov
bc2d20d3bb Removed swiftclient from dependencies
Swiftclient was in dependencies as artifact after port from cinder.
Removed as unnecessary requirement itself and related stuff.

Change-Id: I92fa249031e98a38aba721c0f3d1d7489abd562a
2014-03-03 16:30:22 +02:00
Yulia Portnova
4e2f27c11a Replaced cinder with manila 2013-09-04 15:45:32 +03:00
Yulia Portnova
dc4ce932ed Renamed cinder to manila.
Fixed setup.py, fixed bin scripts.
2013-09-02 09:59:07 +03:00
Ben Swartzlander
f99ef92c90 Initialize from cinder 2013-08-08 10:34:06 -04:00