Commit Graph

332 Commits

Author SHA1 Message Date
Tony Breeds 1aa256dcfb 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: I189a443db03e28aecde3700397808d9daf71dd55
2017-09-12 16:03:45 -06:00
Jenkins d602fa119b Merge "Fix Added / Changed / Deprecated notices" 2017-07-24 16:53:56 +00:00
Jenkins 57bbec1f14 Merge "Update 2 documentation URLs according to doc migration" 2017-07-24 16:53:51 +00:00
Rob Cresswell 1f16904a3e Remove rules linked to a "Status" ID
This patch removes the CSS rules affecting a global #status ID. This was
far too generic, and caused issues any time anyone used Status as a
header.

Research and discussion can be found at
http://eavesdrop.openstack.org/irclogs/%23openstack-doc/%23openstack-doc.2017-07-24.log.html#t2017-07-24T15:16:45

Change-Id: Ib59d4e7bc218af8c7aafd241e702d98d8eb9f8d9
2017-07-24 17:04:17 +01:00
Hangdong Zhang 8ae163ace8 Update 2 documentation URLs according to doc migration
Change-Id: I195b901e570b977413ca10cf40da054c9f45bb99
2017-07-24 17:13:26 +08:00
Rob Cresswell 9a6306ab4a Move from 3rd party fonts to native font stack
Change-Id: I1f341f8c208112fec7eb6d8f66f7653672a4deef
2017-07-21 11:15:09 +01:00
Rob Cresswell a0592b58fd Fix Added / Changed / Deprecated notices
Change-Id: Ida45dc821098446fae9b03ff68d28a675c1ca9c7
2017-07-21 06:44:52 +00:00
Jenkins 17f41da915 Merge "Standardise header styling" 2017-07-20 16:16:22 +00:00
Jenkins b1c9e987ac Merge "Add spaces in demo for deprecation notices" 2017-07-19 15:25:32 +00:00
Jenkins 64f13e328c Merge "remove smooth scrolling" 2017-07-19 15:24:19 +00:00
Jenkins cd9e5e831a Merge "CSS: Add margin-left to <dd>" 2017-07-19 15:24:13 +00:00
Rob Cresswell 7427032320 Standardise header styling
This patch removes several of the varieties of headers set across the
docs. Generally it aims to make sure h1 - h6 have uniform color, weight
and size, as part of a larger cleanup.

Change-Id: I7103010868461e13c63af8d670aded610796282e
2017-07-18 11:16:18 +01:00
Andreas Jaeger 560d98ace9 Add spaces in demo for deprecation notices
There should be a space before an "(".

Change-Id: I6a69ff84aab51711af7656b7186fadd023e652d2
2017-07-16 09:45:08 +02:00
Doug Hellmann a722846319 remove smooth scrolling
The javascript in place to make smooth scrolling work when a link points
to an anchor on the same page makes it difficult to send those in-page
references to someone, which is useful for sharing details about the
schedule. Remove it so sharing links is easier.

Change-Id: I4d52125299679ff9d2175eeefb05dc4663619081
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 19:34:49 -04:00
Doug Hellmann 4d2797d14b add a comment to all output HTML pages showing the input file
When a page is rendered from RST input, show the full git URL pointing
to the source. When a page is rendered from a template (like genindex),
just show the template name.

Change-Id: I09e4214e370e6d3692c4c47bd9f7daa3b7396ebb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-13 14:07:45 -04:00
Akihiro Motoki 30ebe119dc CSS: Add margin-left to <dd>
In the bootstrap CSS, the left-margin of <dd> tag is 0.
However, left-margin 0 sometimes (often?) makes it difficult to
distinguish <dt> and <dd> tags. I often feel this when working on
the doc migration reviews.
It looks better to have some left-margin for <dd>.

Change-Id: I0bf2ae73ae1453b5d102559fcf5f9535e5b8cf57
2017-07-13 09:16:40 +00:00
Rob Cresswell 2969174191 Add support for versionadded and deprecated
This patch adds support for the versionadded, versionchanged and
deprecated tags. It also reduces the rather aggressive margins and
padding around the admonitions, so that they stack a little better,
and adds a missing icon to the 'seealso' admonition.

Adds example admonitions to the Demo documentation.

Change-Id: Ieb064b26980f885549660a80e2a2578b71a5e7b7
2017-07-11 10:24:52 +00:00
Doug Hellmann 037330b05c show the current project name and version in navigation link
Replace the static text "Project home page" with the project name and
version string.

Change-Id: I74a218285d8875c66b77611866a36ee08a01052f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-10 13:53:59 -04:00
Jenkins dec179542e Merge "Declare parallel reading safe" 2017-07-06 13:57:03 +00:00
Jenkins cf39f798f1 Merge "Cleanup conf.py" 2017-07-06 13:43:15 +00:00
Akihiro Motoki 71fb39bb60 Declare parallel reading safe
Sphinx 1.3 or later allows extensions to declare parallel reading
or writing is safe or not [1]. parallel reading is disabled by default.
I believe we can enable this safely.

[1] http://www.sphinx-doc.org/en/stable/extdev/#extension-metadata

Change-Id: Icd4b2c9951bb7bda3217cc814985dcd26ec5b5ce
2017-07-05 17:40:54 +09:00
Jenkins 0daee5c3c8 Merge "Allow using openstackdocstheme without git installed" 2017-07-04 16:33:11 +00:00
Jenkins 7d734acb0f Merge "Fix sorting of git versions" 2017-07-04 16:32:22 +00:00
Jenkins 26f32fd0c1 Merge "Do not display title string of page local TOC" 2017-07-04 16:32:16 +00:00
Stephen Finucane d727e522b9 Strip tags from navigation prev, next titles
Per the Sphinx documentations:

  next - The next document for the navigation. This variable is either
  false or has two attributes link and title. The title contains HTML
  markup.

  prev - Like next, but for the previous page.

If using the title value inside an element attribute, we need to ensure
the HTML tags mentioned above are stripped. Failure to do so results in
corrupted output.

Change-Id: I5fde1e6fc4d7966fcd3e767c79535202f3b41a71
Closes-Bug: #1702328
2017-07-04 17:03:20 +01:00
Andreas Jaeger ab2b99c978 Cleanup conf.py
Adapt for current theme options, remove obsolete code.

Change-Id: I900fa3914463147acaf40e81f54f2f80abcac048
2017-07-04 13:47:08 +02:00
Thomas Bechtold af22063ebf Allow using openstackdocstheme without git installed
When building rpm packages, git might not be available in the
build env because it is not needed when building from a sdist tarball.
So make git optional.

Change-Id: I159768799fcf15ed0aea6b8350dd395f632e812d
2017-07-04 13:17:09 +02:00
Andreas Jaeger 89a75ce9e4 Fix sorting of git versions
If you run "git tag", the versions are listed in alphabetical order and
thus 1.9 is the last one - and not 1.12. Sort properly.

Change-Id: I64b6835b951d7d3547415743505d7a2e31dac632
Closes-Bug: #1702143
2017-07-03 20:27:51 +02:00
Andreas Jaeger cb33fecb2d Add note for show_other_versions
Point out the versions need to be found when this option is used.

With all the path changes, this is currently not the case for *any*
project.

Change-Id: Ie439db0bd5a1d5fbdb63eb3489a6c50bdf07ed6f
2017-07-03 19:29:42 +02:00
Akihiro Motoki d9bc11a979 Do not display title string of page local TOC
Some pages have no sub titles (the second level of titles or more).
In this case, the title string "Contents" of page local TOC is
completely meaningless and confusing to readers.

It is nice if this title string is shown only when needed.
This can be done by checking 'display_toc' variable in the template.

[1] https://docs.openstack.org/ocata/networking-guide/intro.html

Change-Id: I4803dd7712438eb2cd5fb6084e904bd8c0c98740
2017-07-01 21:29:12 +09:00
Jenkins 725ec60d9c Merge "Enable some off-by-default checks" 2017-06-30 18:59:11 +00:00
Jenkins 47e20ca671 Merge "Update docs" 2017-06-30 17:59:03 +00:00
Jenkins b5e31dc5f0 Merge "Increase admonition.important contrast" 2017-06-30 17:58:12 +00:00
James E. Blair 1d54ae62b4 Increase admonition.important contrast
Lighten the background and darken the text colors in the
admonition.important box to make it easier to read the (important!)
text within.

Change-Id: Idb449c02a0a0832b5f379e53c373cc4dd1fe0e81
2017-06-30 17:07:26 +00:00
Anne Gentle 1b63fd10c5 Adds docs for release versions dropdown menu
Change-Id: I8b080fa4bd8d6bd44b24ff2d050286a7ffe27c97
2017-06-30 16:05:05 +00:00
Anne Gentle 1aa39974f5 Adds list of versions in the "Updated" bar
Includes Jimmy's magic CSS.

Co-Authored-By: Jimmy McArthur <jimmy@tipit.net>
Change-Id: Ifdfcf932367314499f945f58a8c2188d709759b7
2017-06-30 15:06:52 +00:00
Andreas Jaeger a7c7029aee Update docs
Enhance bug_project description, use sentence style capitalization,
remove unneeded comment.

Change-Id: I90f0f9eeec1ca237ee6c726c9b69d4a93dd652a0
2017-06-30 07:10:32 +02:00
Jenkins 7f0688d891 Merge "Require bug_project setting" 2017-06-30 02:11:16 +00:00
Anne Gentle d6e6f20277 Change name of checkbuild testenv to buildpdf for clarity
Change-Id: I7c4b7b814a1e409d5333d4bd2a288f02dc28bb72
2017-06-29 20:22:22 +00:00
Andreas Jaeger a713646d06 Require bug_project setting
If bug_project is not set, do not show the "Report a bug" link.

Change-Id: Ifd715d1d46d1b1796d79679c9e954d21e9d09455
2017-06-29 22:13:40 +02:00
Jenkins 0dbb289956 Merge "Adding octavia api-ref" 2017-06-29 09:47:20 +00:00
johnsom c7b579e412 Adding octavia api-ref
Change-Id: I499f18af6f73209fd0299e9ebcb79bc969ca76d8
2017-06-28 17:17:31 -07:00
Andreas Jaeger 9a6159a529 Minimal support for storyboard
Allows setting of bug_project to a storyboard project number
to redirect to project page on storyboard.openstack.org for
report a bug feature.

Also, add some minor cleanups to doc/source/conf.py.

Change-Id: Ia14d30bf0dda89c48dec0a7cc3b8dccc26dc8d86
2017-06-28 20:44:11 +02:00
Jenkins 36cc0ab48b Merge "move documentation from readme to sphinx tree" 2017-06-27 20:16:42 +00:00
Doug Hellmann fd53ed49ce move documentation from readme to sphinx tree
Move the existing test docs into a subdirectory and move the setup
details from the README to docs/source/index.rst.

Change-Id: Ic66247a1d5527cf1ba34f3b1561de6a027e12050
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-27 13:36:51 -05:00
OpenStack Proposal Bot 9e7e5747d7 Updated from global requirements
Change-Id: I04bd860df8fc89257db80453b11d4f4a7c6e1e7e
2017-06-27 12:19:23 +00:00
Jenkins 6d6729a732 Merge "Working on integrating options from oslosphinx theme" 2017-06-27 09:20:28 +00:00
Anne Gentle 32f6542266 Updates "Contents" to "Project home page" to better match existing
Since project landing pages will be more prominent moving forward.

Change-Id: Ie1994960d26e68e5bef76e2fb3ea6853edbb66ef
2017-06-26 14:04:57 -05:00
Anne Gentle 6c906c06d1 Working on integrating options from oslosphinx theme
- First patch only modifies tox.ini to add an html-only
  build option to iterate quickly.
- Modify .gitignore for working on Mac OSX locally.

Next patches in series will take care of:
- Adds a Project-only search form in bottom of left-hand navigation bar
  Trying to differentiate between project-scoped search and broad
  site search.
- The "Project Home page" link renamed from "Contents" in nav.
- Build number now available in lines "Updated" also is
  displayed. Shows a bulleted list with "Current" if that is the
  only available version. Seems to have a lot of space, okay?
- Add a link to project source in sidebar.

Change-Id: Ic71c1f7c17048c521fce4b08989b0c57c175e043
2017-06-26 13:47:17 -05:00
Doug Hellmann f7a7a739ba switch release notes build to use openstackdocs instead of oslosphinx
Change-Id: I33274779c2ad8e11b9eae89f7918eea0ab937b3b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-26 13:45:07 +00:00