Skip to content

Commit adbac43

Browse files
n-rodriguezmyii
authored andcommitted
docs(readme): update README, add badges
1 parent 181a5de commit adbac43

File tree

1 file changed

+45
-17
lines changed

1 file changed

+45
-17
lines changed

Diff for: docs/README.rst

+45-17
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,43 @@
1-
=====
2-
nginx
3-
=====
1+
.. _readme:
42

5-
Install nginx either by source or by package.
3+
nginx-formula
4+
=============
65

7-
.. note::
6+
|img_travis| |img_sr|
87

8+
.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/nginx-formula.svg?branch=master
9+
:alt: Travis CI Build Status
10+
:scale: 100%
11+
:target: https://travis-ci.com/saltstack-formulas/nginx-formula
12+
.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
13+
:alt: Semantic Release
14+
:scale: 100%
15+
:target: https://github.com/semantic-release/semantic-release
916

10-
See the full `Salt Formulas installation and usage instructions
11-
<http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
17+
Formula to set up and configure nginx
18+
19+
.. contents:: **Table of Contents**
20+
21+
General notes
22+
-------------
23+
24+
See the full `SaltStack Formulas installation and usage instructions
25+
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
26+
27+
If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section
28+
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas>`_.
29+
30+
If you want to use this formula, please pay attention to the ``FORMULA`` file and/or ``git tag``,
31+
which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/>`_.
32+
33+
See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning>`_ for more details.
34+
35+
Contributing to this repo
36+
-------------------------
37+
38+
**Commit message formatting is significant!!**
39+
40+
Please see :ref:`How to contribute <CONTRIBUTING>` for more details.
1241

1342
Available states
1443
================
@@ -17,54 +46,53 @@ Available states
1746
:local:
1847

1948
``nginx``
20-
------------
49+
---------
2150

2251
Meta-state for inclusion of all states.
2352

2453
**Note:** nginx requires the merge parameter of salt.modules.pillar.get(),
2554
first available in the Helium release.
2655

2756
``nginx.pkg``
28-
--------------------
57+
-------------
2958

3059
Installs nginx from package, from the distribution repositories, the official nginx repo or the ppa from Launchpad.
3160

3261
``nginx.src``
33-
--------------------
62+
-------------
3463

3564
Builds and installs nginx from source.
3665

3766
``nginx.certificates``
38-
-------------------
67+
----------------------
3968

4069
Manages the deployment of nginx certificates.
4170

4271
``nginx.config``
43-
-------------------
72+
----------------
4473

4574
Manages the nginx main server configuration file.
4675

4776
``nginx.service``
48-
--------------------
77+
-----------------
4978

5079
Manages the startup and running state of the nginx service.
5180

5281
``nginx.servers_config``
53-
--------------------------
82+
------------------------
5483

5584
Manages virtual host files. This state only manages the content of the files
5685
and does not bind them to service calls.
5786

5887
``nginx.servers``
59-
-------------------
88+
-----------------
6089

6190
Manages nginx virtual hosts files and binds them to service calls.
6291

6392
``nginx.passenger``
64-
----------------------
93+
-------------------
6594

6695
Installs and configures Phusion Passenger module for nginx. You need to enable
6796
the upstream phusion passenger repository with `install_from_phusionpassenger: true`.
6897
Nginx will also be installed from that repository, as it needs to be modified to
6998
allow the passenger module to work.
70-

0 commit comments

Comments
 (0)