Update Sphinx documentation for composer.cli
This commit is contained in:
parent
114f7f348e
commit
73011c6bb0
@ -7,8 +7,8 @@ SPHINXBUILD = sphinx-build
|
||||
SPHINXAPIDOC = sphinx-apidoc
|
||||
PAPER =
|
||||
BUILDDIR = .
|
||||
SOURCEDIR = ../src/pylorax
|
||||
MODULE_NAMES = pylorax.rst pylorax.api.rst modules.rst
|
||||
SOURCEDIR = ../src
|
||||
MODULE_NAMES = pylorax.rst pylorax.api.rst modules.rst composer.rst composer.cli.rst
|
||||
|
||||
# User-friendly check for sphinx-build
|
||||
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
|
||||
|
@ -50,7 +50,7 @@ master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = u'Lorax'
|
||||
copyright = u'2017, Red Hat, Inc.' # pylint: disable=redefined-builtin
|
||||
copyright = u'2018, Red Hat, Inc.' # pylint: disable=redefined-builtin
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
@ -280,7 +280,7 @@ texinfo_documents = [
|
||||
epub_title = u'Lorax'
|
||||
epub_author = u'Anaconda Team'
|
||||
epub_publisher = u'Anaconda Team'
|
||||
epub_copyright = u'2017, Red Hat, Inc.'
|
||||
epub_copyright = u'2018, Red Hat, Inc.'
|
||||
|
||||
# The basename for the epub file. It defaults to the project name.
|
||||
#epub_basename = u'src'
|
||||
|
@ -219,9 +219,9 @@ def start_build(cfg, yumlock, gitlock, branch, recipe_name, compose_type, test_m
|
||||
|
||||
# Supported output types
|
||||
def compose_types(share_dir):
|
||||
""" Returns a list of the supported output types
|
||||
r""" Returns a list of the supported output types
|
||||
|
||||
The output types come from the kickstart names in /usr/share/lorax/composer/*ks
|
||||
The output types come from the kickstart names in /usr/share/lorax/composer/\*ks
|
||||
"""
|
||||
return [os.path.basename(ks)[:-3] for ks in glob(joinpaths(share_dir, "composer/*.ks"))]
|
||||
|
||||
|
@ -551,13 +551,13 @@ def commit_recipe_file(repo, branch, filename):
|
||||
return commit_recipe(repo, branch, recipe)
|
||||
|
||||
def commit_recipe_directory(repo, branch, directory):
|
||||
"""Commit all *.toml files from a directory, if they aren't already in git.
|
||||
r"""Commit all \*.toml files from a directory, if they aren't already in git.
|
||||
|
||||
:param repo: Open repository
|
||||
:type repo: Git.Repository
|
||||
:param branch: Branch name
|
||||
:type branch: str
|
||||
:param directory: The directory of *.toml recipes to commit
|
||||
:param directory: The directory of \*.toml recipes to commit
|
||||
:type directory: str
|
||||
:returns: None
|
||||
:raises: Can raise errors from Ggit or RecipeFileError
|
||||
|
@ -863,7 +863,7 @@ DELETE `/api/v0/compose/delete/<uuids>`
|
||||
UUID-logs.tar
|
||||
|
||||
`/api/v0/compose/image/<uuid>`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Returns the output image from the build. The filename is set to the filename
|
||||
from the build with the UUID as a prefix. eg. UUID-root.tar.xz or UUID-boot.iso.
|
||||
|
Loading…
Reference in New Issue
Block a user