Skip to content

Commit

Permalink
docs: add tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
mamullen13316 committed Nov 8, 2024
1 parent f637af1 commit 8600647
Show file tree
Hide file tree
Showing 36 changed files with 364 additions and 23,188 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ tests/output/
tests/integration/inventory
changelogs/.plugin-cache.yaml
*.tar.gz
group_vars/all/credentials.yml
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
# Created with antsibull-docs 2.14.0

/build
/rst
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# documentation:
# http://www.sphinx-doc.org/en/master/config

project = 'Sophos Firewall'
project = 'Sophos.Sophos_Firewall'
copyright = 'Sophos, Ltd.'

title = 'Sophos Firewall Ansible Collection'
Expand All @@ -21,6 +21,7 @@
highlight_language = 'YAML+Jinja'

html_theme = 'sphinx_ansible_theme'

html_show_sphinx = False

display_version = False
Expand All @@ -32,6 +33,7 @@

html_static_path = ['static']


# See https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping for the syntax
intersphinx_mapping = {
'python': ('https://docs.python.org/2/', (None, '../python2.inv')),
Expand Down
5 changes: 3 additions & 2 deletions docs/docsite/extra-docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
sections:
- title: Installation and Setup
- title: Getting Started
toctree:
- installation
- setup
- setup
- tutorial
5 changes: 3 additions & 2 deletions docs/docsite/rst/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ The following must be installed prior to installing the module:
* Ansible 2.16+
* sophosfirewall-python 0.1.56+

The sophosfirewall-python module can be installed with ``pip``:
With Python installed on the system, Ansible and the sophosfirewall-python module can be installed with ``pip``:

.. code-block:: bash
$ pip install ansible
$ pip install sophosfirewall-python
Install
-------
The Sophos Firewall Ansible Collection can be installed using the ``ansible-galaxy`` command-line utility:
The Sophos Firewall Ansible Collection can be installed using the ``ansible-galaxy`` utility which is included with Ansible:

.. code-block:: bash
Expand Down
4 changes: 2 additions & 2 deletions docs/docsite/rst/setup.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _ansible_collections.sophos.sophos_firewall.docsite.setup:

Setup
=====
Required Firewall Setup
=======================
Prior to using the Ansible modules, the firewall must be set up to allow access to the API
from the IP address of the system running Ansible.

Expand Down
311 changes: 311 additions & 0 deletions docs/docsite/rst/tutorial.rst

Large diffs are not rendered by default.

63 changes: 0 additions & 63 deletions docs/rst/changelog.rst

This file was deleted.

29 changes: 0 additions & 29 deletions docs/rst/docsite/installation.rst

This file was deleted.

11 changes: 0 additions & 11 deletions docs/rst/docsite/setup.rst

This file was deleted.

14 changes: 0 additions & 14 deletions docs/rst/environment_variables.rst

This file was deleted.

118 changes: 0 additions & 118 deletions docs/rst/index.rst

This file was deleted.

Loading

0 comments on commit 8600647

Please sign in to comment.