Commit Graph

109 Commits

Author SHA1 Message Date
Tony Breeds b3c050319c Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I8e0ab5c22165149689d0a09bcaa5f29a9b0a3655
2017-09-12 15:46:50 -06:00
David Stanek 3bcdfc6b77 Allow "Other Versions" section to be configurable
Adds a new option that allows the "Other Versions" section to be removed
if a project isn't interested in showing links to older versions. The
default value is False which means that it will be hidden.

Even though the setting is not backward compatible there are enough
broken documentation links in the OpenStack projects that this should be
opt-in behavior.

Change-Id: Ic4b47b19aa9db38557c37aed7722174b7dbdf4a1
Closes-Bug: #1599260
2016-07-12 16:18:39 +00:00
Jenkins dc8baacfbd Merge "fix other versions sidebar links" 2016-07-12 15:20:41 +00:00
OpenStack Proposal Bot e2ded8e307 Updated from global requirements
Change-Id: Icaf8086589d629798108ead9e1c57e3d1a19cae4
2016-06-21 18:04:46 +00:00
John Dickinson 3fc15a50f6 fix other versions sidebar links
Make the first one link to the current docs and the others
link with the appropriate prefix.

Filtered out previous versions that include "rc".

The number of versions is kept at 5 (current + 4 recent).

Closes-Bug: #1589731
Change-Id: I3a2e219913fc2c89634bcc2a757ccb4d3510883a
2016-06-20 23:07:17 +01:00
Joshua Harlow d901a7bd61 Subprocess returns bytes in py3
When later used the current code will break in
python3 due to:

TypeError: 'str' does not support the buffer
           interface

Change-Id: I11572dd510ce8255ed66de56d5d9000755f7fee2
2016-06-01 16:46:04 -07:00
OpenStack Proposal Bot c327f858e6 Updated from global requirements
Change-Id: Ie5922a24122950c6ab82637d818bdac284a469f2
2016-05-17 14:09:18 +00:00
John Dickinson 75cfb9f93b add recent versions links to sidebar
The last five tags (that start with a number) are used as version
numbers and linked to. This updates the sphinx extension so that
every user of the theme gets this info automatically with no need
to update the conf.py on a per-project basis.

Change-Id: I9bf17872bd23bed3cab9b5e2349d615c7001cb66
2016-05-09 14:35:20 -07:00
Eric Brown 8084f2a468 Add version and download badges to README
All the other oslo libraries contain such badges, so might as well
add to oslosphinx too.

Change-Id: I23fa8dc4619940896fb25af39325f076f4dd3e49
2016-02-03 14:49:50 -08:00
Brant Knudson 7de9722551 Correct project source guessing for OpenStack
The links to the project source in all the developer docs are
incorrect. The link for keystone is like

 http://git.openstack.org/cgit/p/openstack/keystone

when it should be

 http://git.openstack.org/cgit/openstack/keystone

See the link to "Project Source" on the left on
http://docs.openstack.org/developer/keystone/ for example.

Also, developers sometimes use a ".git" URL when they clone so
strip off the .git.

Change-Id: I8e7620119a169e3322d602ea633303cf9f941605
2016-02-02 08:56:12 -06:00
OpenStack Proposal Bot 6903e98bfb Updated from global requirements
Change-Id: I086cc0a93b00abc16c2bf9aa03a95d23c8455d44
2016-01-16 03:31:36 +00:00
OpenStack Proposal Bot b73bfc5cc9 Updated from global requirements
Change-Id: Ifb3265b0f0849e5e9aac97574ae457a4e4415130
2015-12-15 18:16:34 +00:00
Jenkins 422df5892c Merge "Deprecated tox -downloadcache option removed" 2015-12-14 05:03:36 +00:00
Ondřej Nový bd5fad6e3f Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: Ic8aa835bbc689246afa8fa8ebd9420c1bb1327a9
2015-12-11 21:23:20 +01:00
sonu.kumar ea01f15dfe Removes MANIFEST.in as it is not needed explicitely by PBR
This patch removes `MANIFEST.in` file as pbr generates a sensible
manifest from git files and some standard files and it removes
the need for an explicit `MANIFEST.in` file.

Change-Id: I38b985cc915cbccfa6ba83ae0cffbd72128f146e
2015-12-11 16:25:34 +05:30
briancurtin 2fbfcf568f Use proper decode function name.
os.fdecode is not a real thing, os.fsdecode is.

Change-Id: I20b3b6d15b7d5775e1f6f97190d9acc62ca3a4ca
2015-12-08 15:27:52 -06:00
Doug Hellmann f8d71ac5ad trap errors from git not being present
subprocess raises OSError if the command it is asked to run isn't found,
so trap that as well as the subprocess-specific error we were already
catching.

Change-Id: Ieb9c7f3ccc307250847104a7f97cfa28603fcf5d
Closes-Bug: #1521541
2015-12-01 16:34:54 +00:00
OpenStack Proposal Bot 23539cbb14 Updated from global requirements
Change-Id: I97cb7c94fb4d2b23a289fd05ed5e1060a064118a
2015-11-27 22:41:34 +00:00
Cyril Roelandt 10d5529934 Fix a string vs bytes issue in _guess_cgit_link
subprocess.check_output returns bytes, so we end up using '+' on a text
string (CGIT_BASE) and bytes (the output of parsed.path) in
_guess_cgit_link. Make sure we decode 'git_remote' in Python 3.

Change-Id: I9e846e2192ead41ca2328b8aa20994742096c51e
Closes-Bug: #1517525
2015-11-23 15:06:06 +01:00
ChangBo Guo(gcb) da4cfa3f97 Remove Python 2.6 classifier
We have decided to remove Python 2.6 support, this commit
removes Python 2.6 classifier before dropping any Python
2.6 support in code.

Change-Id: I31d54e5fb1f18e49df42fef2863e70af6b2fdea1
2015-11-17 15:47:24 +08:00
Jenkins 2378e5a9d7 Merge "cleanup tox.ini" 2015-11-17 01:50:18 +00:00
Doug Hellmann 0b555a001f fix html context event handler
The event handler should return a replacement template *name* or None.
Since we don't want to change the template, return None.

Change-Id: I3012ad22505230c488aa4babbd4141d903b7ab0d
Closes-Bug: 1516834
2015-11-17 01:06:00 +00:00
Davanum Srinivas a3f3bf8b1d cleanup tox.ini
* Remove usedevelop : only needed when skipsdist 
  is set to True
* Remove install_command : We can just use the 
  default, we don't need to override
* Remove setenv : We can just use the default as
  we don't need any extra environment variables
* sitepackages : default is already false


Change-Id: Id13307a8f7c21496e1d5aad20cd9e2146b8f2fbd
2015-11-16 00:25:18 +00:00
Doug Hellmann c383e0026a add config option to point to the cgit browser
Add a configuration option to let projects set the URL to the cgit
browser for their source. Still try to guess at the location based on
our git URL.

Change-Id: I11455f8a137a029c28a864eb555f69f6c282840b
2015-10-16 20:40:02 +00:00
Doug Hellmann cd2674bb95 fix html-page-context event handler
The event handler should return a string if it wants to replace the
template, but should otherwise return None and update the context in
place.

Change-Id: Ic4b19c7d19eda866ba139913cf817c99a65c8c08
Closes-Bug: #1505311
2015-10-12 19:50:40 +00:00
OpenStack Proposal Bot 53c4ae72e9 Updated from global requirements
Change-Id: Ib8e15a9f3da8800687d4244540b7a8aa902e5d14
2015-10-09 05:04:02 +00:00
Davanum Srinivas 014df1a174 No need for Oslo Incubator Sync
We can remove openstack-common.conf as we don't
sync any code from oslo-incubator any more.

Change-Id: I600132f6c59bc8adf06c1edbe488fba0d5ee795b
2015-10-04 19:40:10 -04:00
Javier Pena 2525bb98d1 Make urlparse import Python3-compatible
urlparse moved to urllib.parse, so the current code fails in
Python3. Using six to ensure compatibility.

Related-Bug: #1426898

Change-Id: I9297c886dcc361238e942cb8162f589072001094
2015-09-28 11:34:24 +02:00
Jenkins b0f3ed9cca Merge "Titles in table of contents continue into the page" 2015-09-25 21:00:11 +00:00
Javier Pena 36dd92b1e1 Fix subprocess exception name
https://review.openstack.org/227299 added code using
subprocess.CheckedProcessException, which does not exist. From
the Python documentation, it should be
subprocess.CalledProcessError [1]

[1] - https://docs.python.org/2/library/subprocess.html#subprocess.CalledProcessError

Change-Id: I0e03f048a33b1b919e38d22038650a633b8ac5fd
2015-09-25 16:25:14 +02:00
THOMAS J. COCOZZELLO ff59f302c4 Titles in table of contents continue into the page
In the table of contents the titles are covering words
in the page, this won't be a problem but the directories
that are in the table of contents are considered 1 word
so it does not word wrap automatically

Change-Id: I763aa1ba4418be1ea70d1ff48a321971630ec6e4
Closes-Bug: 1498654
2015-09-25 09:09:28 -05:00
Jenkins 6ffe7dd4f3 Merge "add link to project source in navigation sidebar" 2015-09-25 09:55:19 +00:00
Doug Hellmann 6ebaef6ba4 clean up documentation titles and intros
Change-Id: I9f1bf4e912e53500f603cecb23f86b48d5dbc159
2015-09-24 19:42:39 +00:00
Doug Hellmann fa83ee0dc5 add pbr-generated release history to the doc build
Change-Id: I5d24d269a3861c56df0a08fb7e1dcc86e1336e36
2015-09-24 19:41:29 +00:00
Doug Hellmann efec9c68fe add link to project source in navigation sidebar
Change-Id: I841f0e63259d6b79c55b223c8e7266c8520a668d
Closes-Bug: #1426898
2015-09-24 13:21:42 +00:00
OpenStack Proposal Bot e9e52bd118 Updated from global requirements
Change-Id: Id34a666b95d54872619a505dcf30fde391fddd5b
2015-09-17 12:16:20 +00:00
OpenStack Proposal Bot 3f9bccefc9 Updated from global requirements
Change-Id: Idaa1f7f8c45759bbb2af4abda7a635c5f92aec6f
2015-08-26 14:08:08 +00:00
OpenStack Proposal Bot 66f688aedc Updated from global requirements
Change-Id: Id53b19b67a2dd99d568141d6d36b0cdb720dcf27
2015-08-10 01:09:50 +00:00
OpenStack Proposal Bot 4436e1161b Updated from global requirements
Change-Id: I45aab8ced05719e3189bb129afea54f8070f0b85
2015-07-15 00:29:02 +00:00
OpenStack Proposal Bot 01d3a5a662 Updated from global requirements
Change-Id: I7889ee5c3e1d9c686451149beaca09ba136026ec
2015-06-22 08:27:25 +00:00
OpenStack Proposal Bot 774a129dca Updated from global requirements
Change-Id: Ie2cca4e8cb2eade195cee152b54c6f567a11dc6f
2015-06-16 17:26:12 +00:00
Jenkins af39c45cca Merge "Drop incubating theme option" 2015-05-27 21:05:05 +00:00
Joe Gordon 46832a8942 Drop incubating theme option
OpenStack has dropped the incubation concept, so drop this label as a
docs option.

Change-Id: Ib95bb403d51ed3c7b682dd695713f43432cf8a4e
2015-05-27 12:19:34 -07:00
Jeremy Stanley f14ad415ad Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: Ia914d1802b57f7101dd86b2098857dd714763dd1
2015-05-14 21:38:20 +00:00
Jenkins 6a1260bcc8 Merge "Remove the unneeded horizontal scrollbar" 2015-05-12 20:12:34 +00:00
Jenkins c9d9c557aa Merge "Advertise support for Python3.4 / Remove support for Python 3.3" 2015-05-12 18:42:24 +00:00
Jenkins 34f8618ed1 Merge "Remove run_cross_tests.sh" 2015-05-11 20:18:37 +00:00
Davanum Srinivas 495aec3b43 Advertise support for Python3.4 / Remove support for Python 3.3
Change-Id: I2e5d3e5409cf08c69703f8cdf0ace0c2ac65f900
2015-05-10 19:23:49 -04:00
OpenStack Proposal Bot d79b8cc3ff Updated from global requirements
Change-Id: I53fe1ede93a10518c4d97db8027034e380a06566
2015-05-07 23:36:54 +00:00
Doug Hellmann 90a1e5d5f5 Remove run_cross_tests.sh
This script is part of the oslotest package now.

Change-Id: I14681b35dbcc9290adc59b77f73e1580a1f46acf
2015-05-05 19:39:51 +00:00