Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
75e7ce98
Commit
75e7ce98
authored
5 years ago
by
Zuul
Committed by
Gerrit Code Review
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Move to openstackdocstheme for docs & release notes"
parents
5a473202
c44f27b4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/requirements.txt
+1
-0
1 addition, 0 deletions
doc/requirements.txt
doc/source/conf.py
+28
-5
28 additions, 5 deletions
doc/source/conf.py
releasenotes/source/conf.py
+15
-34
15 additions, 34 deletions
releasenotes/source/conf.py
with
44 additions
and
39 deletions
doc/requirements.txt
+
1
−
0
View file @
75e7ce98
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# process, which may cause wedges in the gate later.
openstackdocstheme>=1.19.0 # Apache-2.0
reno!=2.3.1,>=1.8.0 # Apache-2.0
reno!=2.3.1,>=1.8.0 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
This diff is collapsed.
Click to expand it.
doc/source/conf.py
+
28
−
5
View file @
75e7ce98
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
from
kayobe.version
import
version_info
as
kayobe_version
import
os
import
os
import
sys
import
sys
...
@@ -35,6 +36,7 @@ sys.path.insert(0, os.path.abspath('../..'))
...
@@ -35,6 +36,7 @@ sys.path.insert(0, os.path.abspath('../..'))
# Add any Sphinx extension module names here, as strings. They can be
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions
=
[
extensions
=
[
'
openstackdocstheme
'
,
'
sphinx.ext.autodoc
'
,
'
sphinx.ext.autodoc
'
,
#'sphinx.ext.intersphinx',
#'sphinx.ext.intersphinx',
# Uncomment this to enable the OpenStack documentation style, adding
# Uncomment this to enable the OpenStack documentation style, adding
...
@@ -54,7 +56,17 @@ master_doc = 'index'
...
@@ -54,7 +56,17 @@ master_doc = 'index'
# General information about the project.
# General information about the project.
project
=
u
'
kayobe
'
project
=
u
'
kayobe
'
copyright
=
u
'
2017, StackHPC Ltd.
'
copyright
=
u
'
2013, OpenStack Foundation
'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
# The full version, including alpha/beta/rc tags.
release
=
kayobe_version
.
version_string_with_vcs
()
# The short X.Y version.
version
=
kayobe_version
.
canonical_version_string
()
# If true, '()' will be appended to :func: etc. cross-reference text.
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses
=
True
add_function_parentheses
=
True
...
@@ -70,13 +82,16 @@ pygments_style = 'sphinx'
...
@@ -70,13 +82,16 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. Major themes that come with
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = [
"."
]
# html_theme_path = []
#
html_theme = '
_theme
'
html_theme
=
'
openstackdocs
'
# html_static_path = ['static']
# html_static_path = ['static']
# Output file base name for HTML help builder.
# Output file base name for HTML help builder.
htmlhelp_basename
=
'
%sdoc
'
%
project
htmlhelp_basename
=
'
%sdoc
'
%
project
# Must set this variable to include year, month, day, hours, and minutes.
html_last_updated_fmt
=
'
%Y-%m-%d %H:%M
'
# Grouping the document tree into LaTeX files. List of tuples
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# (source start file, target name, title, author, documentclass
# [howto/manual]).
# [howto/manual]).
...
@@ -87,5 +102,13 @@ latex_documents = [
...
@@ -87,5 +102,13 @@ latex_documents = [
u
'
OpenStack Foundation
'
,
'
manual
'
),
u
'
OpenStack Foundation
'
,
'
manual
'
),
]
]
# Example configuration for intersphinx: refer to the Python standard library.
# openstackdocstheme options
#intersphinx_mapping = {'http://docs.python.org/': None}
# TODO(mgoddard): Change to openstack/kayobe.
repository_name
=
'
x/kayobe
'
bug_project
=
'
kayobe
'
bug_tag
=
''
openstack_projects
=
[
'
ironic
'
,
'
kolla
'
,
'
kolla-ansible
'
,
]
This diff is collapsed.
Click to expand it.
releasenotes/source/conf.py
+
15
−
34
View file @
75e7ce98
...
@@ -12,21 +12,12 @@
...
@@ -12,21 +12,12 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
# Kayobe Release Notes documentation build configuration file.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
# If extensions (or modules to document with autodoc) are in another directory,
import
os
# add these directories to sys.path here. If the directory is relative to the
import
sys
# documentation root, use os.path.abspath to make it absolute, like shown here.
# sys.path.insert(0, os.path.abspath('.'))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
../..
'
))
# -- General configuration ------------------------------------------------
# -- General configuration ------------------------------------------------
...
@@ -37,6 +28,7 @@
...
@@ -37,6 +28,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
# ones.
extensions
=
[
extensions
=
[
'
openstackdocstheme
'
,
'
reno.sphinxext
'
,
'
reno.sphinxext
'
,
]
]
...
@@ -56,10 +48,8 @@ master_doc = 'index'
...
@@ -56,10 +48,8 @@ master_doc = 'index'
project
=
u
'
Kayobe Release Notes
'
project
=
u
'
Kayobe Release Notes
'
copyright
=
u
'
2018, The Kayobe team
'
copyright
=
u
'
2018, The Kayobe team
'
# The version info for the project you're documenting, acts as replacement for
# Release notes do not need a version number in the title, they
# |version| and |release|, also used in various other places throughout the
# cover multiple releases.
# built documents.
#
# The short X.Y version.
# The short X.Y version.
version
=
''
version
=
''
# The full version, including alpha/beta/rc tags.
# The full version, including alpha/beta/rc tags.
...
@@ -106,10 +96,9 @@ pygments_style = 'sphinx'
...
@@ -106,10 +96,9 @@ pygments_style = 'sphinx'
# -- Options for HTML output ----------------------------------------------
# -- Options for HTML output ----------------------------------------------
# openstackdocstheme options
# The theme to use for HTML and HTML Help pages. See the documentation for
# repository_name = 'openstack/kayobe'
# a list of builtin themes.
# bug_project = 'kayobe'
html_theme
=
'
openstackdocs
'
# bug_tag = ''
# Theme options are theme-specific and customize the look and feel of a theme
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# further. For a list of options available for each theme, see the
...
@@ -147,7 +136,7 @@ html_static_path = ['_static']
...
@@ -147,7 +136,7 @@ html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
# using the given strftime format.
#
html_last_updated_fmt = '%
b
%d
,
%
Y
'
html_last_updated_fmt
=
'
%
Y-%m-
%d %
H:%M
'
# If true, SmartyPants will be used to convert quotes and dashes to
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
# typographically correct entities.
...
@@ -192,17 +181,6 @@ htmlhelp_basename = 'KayobeReleaseNotesdoc'
...
@@ -192,17 +181,6 @@ htmlhelp_basename = 'KayobeReleaseNotesdoc'
# -- Options for LaTeX output ---------------------------------------------
# -- Options for LaTeX output ---------------------------------------------
latex_elements
=
{
# The paper size ('letterpaper' or 'a4paper').
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
# 'preamble': '',
}
# Grouping the document tree into LaTeX files. List of tuples
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
# author, documentclass [howto, manual, or own class]).
...
@@ -272,3 +250,6 @@ texinfo_documents = [
...
@@ -272,3 +250,6 @@ texinfo_documents = [
# If true, do not generate a @detailmenu in the "Top" node's menu.
# If true, do not generate a @detailmenu in the "Top" node's menu.
# texinfo_no_detailmenu = False
# texinfo_no_detailmenu = False
# -- Options for Internationalization output ------------------------------
locale_dirs
=
[
'
locale/
'
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment