Merge "Remove duplicate sample files"

This commit is contained in:
Jenkins 2017-08-04 19:58:01 +00:00 committed by Gerrit Code Review
commit 9cbd6bc0eb
6 changed files with 5 additions and 41 deletions

View File

@ -9,7 +9,7 @@ The Identity service is configured in the ``/etc/keystone/keystone.conf`` file.
The following tables provide a comprehensive list of the Identity
service options. For a sample configuration file, refer to
:doc:`/sample_files/sample_config`.
:doc:`samples/keystone-conf`.
.. show-options::
:config-file: config-generator/keystone.conf

View File

@ -5,8 +5,8 @@ Policy configuration
Configuration
~~~~~~~~~~~~~
The following is an overview of all available policies in Keystone. For a
sample configuration file, refer to :doc:`/sample_files/sample_policy`.
The following is an overview of all available policies in Keystone. For a sample
configuration file, refer to :doc:`samples/policy-yaml`.
.. show-policy::
:config-file: ../../config-generator/keystone-policy-generator.conf

View File

@ -78,15 +78,14 @@ This section contains the documentation needed for developing keystone.
Operator Documentation
~~~~~~~~~~~~~~~~~~~~~~
This section contains the documentation for operating, deploying and configuring
the keystone service.
This section contains the documentation for deploying and operating the
keystone service.
.. toctree::
:maxdepth: 2
configuration.rst
advanced-topics/index.rst
sample_files/index.rst
User Documentation
~~~~~~~~~~~~~~~~~~

View File

@ -1,8 +0,0 @@
Sample Files
============
.. toctree::
:maxdepth: 1
sample_config
sample_policy

View File

@ -1,12 +0,0 @@
==============================
Keystone Configuration Options
==============================
The following is a sample keystone configuration for adaptation and use. It is
auto-generated from keystone when this documentation is built, so if you are
having issues with an option, please compare your version of keystone with the
version of this documentation.
The sample configuration can also be viewed in `file form <../_static/keystone.conf.sample>`_.
.. literalinclude:: ../_static/keystone.conf.sample

View File

@ -1,15 +0,0 @@
======================
Keystone Sample Policy
======================
The following is a sample keystone policy file that has been auto-generated
from default policy values in code. If you're using the default policies, then
the maintenance of this file is not necessary, and it should not be copied into
a deployment. Doing so will result in duplicate policy definitions. It is here
to help explain which policy operations protect specific keystone APIs, but it
is not suggested to copy and paste into a deployment unless you're planning on
providing a different policy for an operation that is not the default.
The sample policy file can also be viewed in `file form <../_static/keystone.policy.yaml.sample>`_.
.. literalinclude:: ../_static/keystone.policy.yaml.sample