Skip to content

Commit 5582001

Browse files
authored
Merge pull request #2 from guidograzioli/docs
Add generated doc
2 parents 5d64db0 + b0b858c commit 5582001

File tree

14 files changed

+375
-3
lines changed

14 files changed

+375
-3
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=======================================
1+
==========================================
22
middleware_automation.common Release Notes
3-
=======================================
3+
==========================================
44

55
.. contents:: Topics
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ The amq collection is a Beta release and for [Technical Preview](https://access.
5151

5252
## License
5353

54-
[GNU General Public License v2.0](https://github.com/ansible-middleware/common/blob/main/LICENSE)
54+
[Apache License 2.0](https://github.com/ansible-middleware/common/blob/main/LICENSE)

docs/CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../CHANGELOG.rst

docs/LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../README.md

docs/_gh_include/footer.inc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
</ul>
2+
</div>
3+
</section>
4+
</div>
5+
</div>
6+
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
7+
</div>
8+
<hr/>
9+
<div role="contentinfo">
10+
<p>&#169; Copyright 2023, Red Hat, Inc.</p>
11+
</div>
12+
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
13+
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
14+
provided by <a href="https://readthedocs.org">Read the Docs</a>.
15+
</footer>
16+
</div>
17+
</div>
18+
</section>
19+
</div>
20+
</body>
21+
</html>

docs/_gh_include/header.inc

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>Common Ansible Collection documentation index</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<link rel="stylesheet" href="https://ansible-middleware.github.io/amq/main/_static/pygments.css" type="text/css" />
8+
<link rel="stylesheet" href="https://ansible-middleware.github.io/amq/main/_static/css/theme.css" type="text/css" />
9+
<link rel="stylesheet" href="https://ansible-middleware.github.io/amq/main/_static/ansible-basic-sphinx-ext.css" type="text/css" />
10+
<script data-url_root="./" id="documentation_options" src="https://ansible-middleware.github.io/amq/main/_static/documentation_options.js"></script>
11+
<script src="https://ansible-middleware.github.io/amq/main/_static/jquery.js"></script>
12+
<script src="https://ansible-middleware.github.io/amq/main/_static/underscore.js"></script>
13+
<script src="https://ansible-middleware.github.io/amq/main/_static/doctools.js"></script>
14+
<script src="https://ansible-middleware.github.io/amq/main/_static/js/theme.js"></script>
15+
</head>
16+
17+
<body class="wy-body-for-nav">
18+
<div class="wy-grid-for-nav">
19+
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
20+
<div class="wy-side-scroll">
21+
<div class="wy-side-nav-search" >
22+
<a href="#" class="icon icon-home"> Common Ansible Collection</a>
23+
</div>
24+
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
25+
<p class="caption" role="heading"><span class="caption-text">Middleware Automation</span></p>
26+
<ul>
27+
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/infinispan/">Infinispan / Red Hat Data Grid</a></li>
28+
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/keycloak/">Keycloak / Red Hat Single Sign-On</a></li>
29+
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/wildfly/">Wildfly / Red Hat JBoss EAP</a></li>
30+
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/jws/">Tomcat / Red Hat JWS</a></li>
31+
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/amq/">ActiveMQ / Red Hat AMQ Broker</a></li>
32+
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/amq_streams/">Kafka / Red Hat AMQ Streams</a></li>
33+
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/common/">Middleware Automation common utils</a></li>
34+
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/ansible_collections_jcliff/">JCliff</a></li>
35+
</ul>
36+
</div>
37+
</div>
38+
</nav>
39+
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
40+
<div class="wy-nav-content">
41+
<div class="rst-content">
42+
<div role="navigation" aria-label="Page navigation">
43+
<ul class="wy-breadcrumbs">
44+
<li><a href="#" class="icon icon-home"></a> &raquo;</li>
45+
<li>Welcome to Common Collection documentation</li>
46+
<li class="wy-breadcrumbs-aside"></li>
47+
</ul>
48+
<hr/>
49+
</div>
50+
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
51+
<div itemprop="articleBody">
52+
<section id="welcome-to-amq-collection-documentation">
53+
<h1>Welcome to Common Collection documentation<a class="headerlink" href="#welcome-to-amq-collection-documentation" title="Permalink to this headline"></a></h1>
54+
<div class="toctree-wrapper compound">
55+
<p class="caption" role="heading"><span class="caption-text">Pick collection version:</span></p>
56+
<ul>

docs/conf.py

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Configuration file for the Sphinx documentation builder.
4+
#
5+
# This file does only contain a selection of the most common options. For a
6+
# full list see the documentation:
7+
# http://www.sphinx-doc.org/en/master/config
8+
9+
# -- Path setup --------------------------------------------------------------
10+
11+
# If extensions (or modules to document with autodoc) are in another directory,
12+
# add these directories to sys.path here. If the directory is relative to the
13+
# documentation root, use os.path.abspath to make it absolute, like shown here.
14+
#
15+
import datetime
16+
import os
17+
import sys
18+
sys.path.insert(0, os.path.abspath('../plugins/module_utils/'))
19+
# sys.path.insert(0, os.path.abspath('.'))
20+
21+
# -- Project information -----------------------------------------------------
22+
23+
project = 'Common Ansible Collection'
24+
copyright = '{y}, Red Hat, Inc.'.format(y=datetime.date.today().year)
25+
author = 'Red Hat, Inc.'
26+
27+
# The short X.Y version
28+
version = ''
29+
# The full version, including alpha/beta/rc tags
30+
release = ''
31+
32+
33+
# -- General configuration ---------------------------------------------------
34+
35+
# If your documentation needs a minimal Sphinx version, state it here.
36+
#
37+
# needs_sphinx = '1.0'
38+
39+
# Add any Sphinx extension module names here, as strings. They can be
40+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
41+
# ones.
42+
extensions = [
43+
'myst_parser',
44+
'sphinx.ext.autodoc',
45+
'sphinx.ext.intersphinx',
46+
'ansible_basic_sphinx_ext',
47+
]
48+
49+
# Add any paths that contain templates here, relative to this directory.
50+
templates_path = ['_templates']
51+
52+
# The suffix(es) of source filenames.
53+
# You can specify multiple suffix as a list of string:
54+
#
55+
# source_suffix = ['.rst', '.md']
56+
source_suffix = ['.rst', '.md']
57+
58+
# The master toctree document.
59+
master_doc = 'index'
60+
61+
# The language for content autogenerated by Sphinx. Refer to documentation
62+
# for a list of supported languages.
63+
#
64+
# This is also used if you do content translation via gettext catalogs.
65+
# Usually you set "language" from the command line for these cases.
66+
language = None
67+
68+
# List of patterns, relative to source directory, that match files and
69+
# directories to ignore when looking for source files.
70+
# This pattern also affects html_static_path and html_extra_path .
71+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.tmp']
72+
73+
# The name of the Pygments (syntax highlighting) style to use.
74+
pygments_style = 'sphinx'
75+
76+
highlight_language = 'YAML+Jinja'
77+
78+
# -- Options for HTML output -------------------------------------------------
79+
html_theme_path = ['_themes']
80+
# The theme to use for HTML and HTML Help pages. See the documentation for
81+
# a list of builtin themes.
82+
#
83+
# html_theme = 'alabaster'
84+
html_theme = 'sphinx_rtd_theme'
85+
86+
# Theme options are theme-specific and customize the look and feel of a theme
87+
# further. For a list of options available for each theme, see the
88+
# documentation.
89+
#
90+
# html_theme_options = {}
91+
92+
# Add any paths that contain custom static files (such as style sheets) here,
93+
# relative to this directory. They are copied after the builtin static files,
94+
# so a file named "default.css" will overwrite the builtin "default.css".
95+
html_static_path = []
96+
97+
# Custom sidebar templates, must be a dictionary that maps document names
98+
# to template names.
99+
#
100+
# The default sidebars (for documents that don't match any pattern) are
101+
# defined by theme itself. Builtin themes are using these templates by
102+
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
103+
# 'searchbox.html']``.
104+
#
105+
# html_sidebars = {}
106+
107+
108+
# -- Options for HTMLHelp output ---------------------------------------------
109+
110+
# Output file base name for HTML help builder.
111+
htmlhelp_basename = 'CommonCollectionDoc'
112+
113+
114+
# -- Options for LaTeX output ------------------------------------------------
115+
116+
latex_elements = {
117+
# The paper size ('letterpaper' or 'a4paper').
118+
#
119+
# 'papersize': 'letterpaper',
120+
121+
# The font size ('10pt', '11pt' or '12pt').
122+
#
123+
# 'pointsize': '10pt',
124+
125+
# Additional stuff for the LaTeX preamble.
126+
#
127+
# 'preamble': '',
128+
129+
# Latex figure (float) alignment
130+
#
131+
# 'figure_align': 'htbp',
132+
}
133+
134+
# Grouping the document tree into LaTeX files. List of tuples
135+
# (source start file, target name, title,
136+
# author, documentclass [howto, manual, or own class]).
137+
latex_documents = [
138+
(master_doc, 'CommonCollection.tex', 'Red Hat Common Ansible Collection Documentation',
139+
'Red Hat, Inc.', 'manual'),
140+
]
141+
142+
143+
# -- Options for manual page output ------------------------------------------
144+
145+
# One entry per manual page. List of tuples
146+
# (source start file, name, description, authors, manual section).
147+
man_pages = [
148+
(master_doc, 'commoncollection', 'Red Hat Common Ansible Collection Documentation',
149+
[author], 1)
150+
]
151+
152+
153+
# -- Options for Texinfo output ----------------------------------------------
154+
155+
# Grouping the document tree into Texinfo files. List of tuples
156+
# (source start file, target name, title, author,
157+
# dir menu entry, description, category)
158+
texinfo_documents = [
159+
(master_doc, 'CommonCollection', 'Red Hat Common Ansible Collection Documentation',
160+
author, 'CommonCollection', 'One line description of project.',
161+
'Miscellaneous'),
162+
]
163+
164+
165+
# -- Extension configuration -------------------------------------------------
166+
167+
# -- Options for intersphinx extension ---------------------------------------
168+
169+
# Example configuration for intersphinx: refer to the Python standard library.
170+
intersphinx_mapping = {'python': ('https://docs.python.org/2', None), 'ansible': ('https://docs.ansible.com/ansible/latest/', None)}

docs/developing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../CONTRIBUTING.md

docs/index.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. Red Hat middleware_automation Common Ansible Collection documentation main file
2+
3+
Welcome to Common Collection documentation
4+
=======================================
5+
6+
.. toctree::
7+
:maxdepth: 2
8+
:caption: User documentation
9+
10+
README
11+
plugins/index
12+
roles/index
13+
14+
.. toctree::
15+
:maxdepth: 2
16+
:caption: Developer documentation
17+
18+
testing
19+
developing
20+
releasing
21+
22+
.. toctree::
23+
:maxdepth: 2
24+
:caption: General
25+
26+
Changelog <CHANGELOG>
27+
License <LICENSE>
28+
29+
.. toctree::
30+
:maxdepth: 2
31+
:caption: Middleware collections
32+
33+
Infinispan / Red Hat Data Grid <https://ansible-middleware.github.io/infinispan/>
34+
Keycloak / Red Hat Single Sign-On <https://ansible-middleware.github.io/keycloak/>
35+
Wildfly / Red Hat JBoss EAP <https://ansible-middleware.github.io/wildfly/>
36+
Tomcat / Red Hat JWS <https://ansible-middleware.github.io/jws/>
37+
ActiveMQ / Red Hat AMQ <https://ansible-middleware.github.io/amq/>
38+
Kafka / Red Hat AMQ Streams <https://ansible-middleware.github.io/amq_streams/>
39+
Common utilities <https://ansible-middleware.github.io/common/>
40+
JCliff <https://ansible-middleware.github.io/ansible_collections_jcliff/>

0 commit comments

Comments
 (0)