Skip to content

Commit

Permalink
Rename examples to usage in docs (#237)
Browse files Browse the repository at this point in the history
* Fix headings markdown

* Rename examples to "usage"

* Also move usage.rst to root of docs
  • Loading branch information
jeffwecan committed Jul 31, 2018
1 parent eeae7b7 commit 09e907b
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ the latest `vault` binary is available in your `PATH`.

### Examples

Example code or general guides for methods in this module can be added under [docs/examples](docs/examples). Any newly added or update method in this module will ideally have a corresponding addition to these examples.
Example code or general guides for methods in this module can be added under [docs/usage](docs/usage). Any newly added or updated method in this module will ideally have a corresponding addition to these examples. New usage sections should also be added to the table of contents tracked in [docs/usage.rst](docs/usage.rst).

## Backwards Compatibility Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Source code repository hosted at `github.com/hvac/hvac`_.


Readme <readme>
Examples <examples/examples>
usage
advanced_usage
source/hvac
contributing
Expand Down
8 changes: 4 additions & 4 deletions docs/source/hvac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@ hvac.v1.Client
:show-inheritance:

hvac.utils
----------------------
----------

.. automodule:: hvac.utils
:members:
:undoc-members:
:show-inheritance:

hvac.aws\_utils
----------------------
---------------

.. automodule:: hvac.aws_utils
:members:
:undoc-members:
:show-inheritance:

hvac.adapters
----------------------
-------------

.. automodule:: hvac.adapters
:members:
:undoc-members:
:show-inheritance:

hvac.exceptions
----------------------
---------------

.. automodule:: hvac.exceptions
:members:
Expand Down
18 changes: 9 additions & 9 deletions docs/examples/examples.rst → docs/usage.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Examples
========
Usage
=====

.. toctree::
:maxdepth: 4

system_backend
token_auth_method
aws
gcp
kubernetes_auth_method
approle_auth_method
ldap_auth_method
usage/system_backend
usage/token_auth_method
usage/aws
usage/gcp
usage/kubernetes_auth_method
usage/approle_auth_method
usage/ldap_auth_method


Authenticate to different auth backends
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 09e907b

Please sign in to comment.