forked from saltstack-formulas/template-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(index): use include for
README.rst
in docs
and test RTD
- Loading branch information
Showing
3 changed files
with
124 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,2 @@ | ||
================ | ||
template-formula | ||
================ | ||
|
||
|img_travis| |img_sr| | ||
|
||
.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/template-formula.svg?branch=master | ||
:target: https://travis-ci.com/saltstack-formulas/template-formula | ||
.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg | ||
:target: https://github.com/semantic-release/semantic-release | ||
|
||
A SaltStack formula that is empty. It has dummy content to help with a quick | ||
start on a new formula and it serves as a style guide. | ||
|
||
.. contents:: **Table of Contents** | ||
|
||
General notes | ||
============= | ||
|
||
See the full `SaltStack Formulas installation and usage instructions | ||
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_. | ||
|
||
If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section | ||
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas>`_. | ||
|
||
If you want to use this formula, please pay attention to the ``FORMULA`` file and/or ``git tag``, | ||
which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/>`_. | ||
|
||
See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning>`_ for more details. | ||
|
||
|
||
Contributing to this repo | ||
========================= | ||
|
||
**Commit message formatting is significant!!** | ||
|
||
Please see `CONTRIBUTING <CONTRIBUTING.md>`_ for more details. | ||
|
||
|
||
Available states | ||
================ | ||
|
||
.. contents:: | ||
:local: | ||
|
||
``template`` | ||
------------ | ||
|
||
Meta-state (This is a state that includes other states) | ||
|
||
This installs the template package, | ||
manages the template configuration file and then | ||
starts the associated template service. | ||
|
||
``template.package`` | ||
-------------------- | ||
|
||
This state will install the template package only. | ||
|
||
``template.config`` | ||
------------------- | ||
|
||
This state will configure the template service and has a dependency on ``template.install`` | ||
via include list. | ||
|
||
``template.service`` | ||
-------------------- | ||
|
||
This state will start the template service and has a dependency on ``template.config`` | ||
via include list. | ||
|
||
``template.clean`` | ||
------------------ | ||
|
||
Meta-state (This is a state that includes other states) | ||
|
||
this state will undo everything performed in the ``template`` meta-state in reverse order, i.e. | ||
stops the service, | ||
removes the configuration file and | ||
then uninstalls the package. | ||
|
||
``template.service.clean`` | ||
-------------------------- | ||
|
||
This state will stop the template service and disable it at boot time. | ||
|
||
``template.config.clean`` | ||
------------------------- | ||
|
||
This state will remove the configuration of the template service and has a dependency on ``template.service.clean`` | ||
via include list. | ||
|
||
``template.package.clean`` | ||
-------------------------- | ||
|
||
This state will remove the template package and has a depency on ``template.config.clean`` | ||
via include list. | ||
.. include:: docs/README.rst | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
================ | ||
template-formula | ||
================ | ||
|
||
|img_travis| |img_sr| | ||
|
||
.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/template-formula.svg?branch=master | ||
:target: https://travis-ci.com/saltstack-formulas/template-formula | ||
.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg | ||
:target: https://github.com/semantic-release/semantic-release | ||
|
||
A SaltStack formula that is empty. It has dummy content to help with a quick | ||
start on a new formula and it serves as a style guide. | ||
|
||
.. contents:: **Table of Contents** | ||
|
||
General notes | ||
============= | ||
|
||
See the full `SaltStack Formulas installation and usage instructions | ||
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_. | ||
|
||
If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section | ||
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas>`_. | ||
|
||
If you want to use this formula, please pay attention to the ``FORMULA`` file and/or ``git tag``, | ||
which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/>`_. | ||
|
||
See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning>`_ for more details. | ||
|
||
|
||
Contributing to this repo | ||
========================= | ||
|
||
**Commit message formatting is significant!!** | ||
|
||
Please see `CONTRIBUTING <CONTRIBUTING.md>`_ for more details. | ||
|
||
|
||
Available states | ||
================ | ||
|
||
.. contents:: | ||
:local: | ||
|
||
``template`` | ||
------------ | ||
|
||
Meta-state (This is a state that includes other states) | ||
|
||
This installs the template package, | ||
manages the template configuration file and then | ||
starts the associated template service. | ||
|
||
``template.package`` | ||
-------------------- | ||
|
||
This state will install the template package only. | ||
|
||
``template.config`` | ||
------------------- | ||
|
||
This state will configure the template service and has a dependency on ``template.install`` | ||
via include list. | ||
|
||
``template.service`` | ||
-------------------- | ||
|
||
This state will start the template service and has a dependency on ``template.config`` | ||
via include list. | ||
|
||
``template.clean`` | ||
------------------ | ||
|
||
Meta-state (This is a state that includes other states) | ||
|
||
this state will undo everything performed in the ``template`` meta-state in reverse order, i.e. | ||
stops the service, | ||
removes the configuration file and | ||
then uninstalls the package. | ||
|
||
``template.service.clean`` | ||
-------------------------- | ||
|
||
This state will stop the template service and disable it at boot time. | ||
|
||
``template.config.clean`` | ||
------------------------- | ||
|
||
This state will remove the configuration of the template service and has a dependency on ``template.service.clean`` | ||
via include list. | ||
|
||
``template.package.clean`` | ||
-------------------------- | ||
|
||
This state will remove the template package and has a depency on ``template.config.clean`` | ||
via include list. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.. ``template-formula`` documentation master file. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
Welcome to ``template-formula``'s documentation! | ||
================================================ | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents | ||
|
||
README <README> | ||
|
||
|
||
|
||
.. :numbered: | ||
.. :glob: | ||
.. :titlesonly: | ||
.. :hidden: | ||
.. Indices and tables | ||
.. ================== | ||
.. | ||
.. * :ref:`genindex` | ||
.. .. * :ref:`modindex` | ||
.. * :ref:`search` |