Skip to content

Commit

Permalink
Updates from rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
rustydb committed Sep 13, 2023
1 parent 373b72b commit cdd2912
Show file tree
Hide file tree
Showing 51 changed files with 658 additions and 32 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ help:
@echo ' docs Generate Python sphinx documentation.'

clean:
rm -rf build dist .ruff_cache
rm -rf build dist .ruff_cache docs/_build

docs:
sphinx-build -b html ./docs ./docs/_build
Expand Down
27 changes: 24 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,42 @@

project = 'libCSM'
copyright = '2023, Cray / HPE'
master_doc = 'index'
author = 'Russell Bunch, Mitchell Tishmack, Jacob Salmela'

# -- General configuration ---------------------------------------------------
extensions = [
'sphinx.ext.autodoc',
'sphinx_copybutton',
'sphinx.ext.autosectionlabel',
'sphinx_autodoc_typehints',
'sphinx_copybutton',
'sphinx_rtd_theme',
]

autosectionlabel_prefix_document = True
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
html_title = f"{project} Documentation ({version})"
locale_dirs = ['locale/'] # path is example but recommended.
language = 'en'
gettext_compact = False # optional.
versioning_conditions = ['text']
add_function_parentheses = True
add_module_names = True

# -- Options for HTML output -------------------------------------------------
html_theme = 'alabaster'
html_show_sphinx = False
html_theme = "sphinx_rtd_theme"
html_theme_options = {
'logo_only': False,
'navigation_depth': 5,
}
html_static_path = ['_static']
html_favicon = '_static/favicon.ico'
html_logo = '_static/csm.jpeg'
html_context = {
'display_github': True,
'github_user': 'Cray-HPE',
'github_repo': 'libCSM',
'github_version': 'main',
}

8 changes: 8 additions & 0 deletions docs/libcsm.api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
libcsm.api module
=================

.. automodule:: libcsm.api
:members:
:undoc-members:
:show-inheritance:

11 changes: 11 additions & 0 deletions docs/libcsm.bss.api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.bss.api module
=====================

Module contents
---------------

.. automodule:: libcsm.bss.api
:members:
:undoc-members:
:show-inheritance:

20 changes: 20 additions & 0 deletions docs/libcsm.bss.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
libcsm.bss package
==================

Submodules
----------

.. toctree::
:maxdepth: 4

libcsm.bss.api
libcsm.bss.set_image

Module contents
---------------

.. automodule:: libcsm.bss
:members:
:undoc-members:
:show-inheritance:

11 changes: 11 additions & 0 deletions docs/libcsm.bss.set_image.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.bss.set_image module
===========================

Module contents
---------------

.. automodule:: libcsm.bss.set_image
:members:
:undoc-members:
:show-inheritance:

11 changes: 11 additions & 0 deletions docs/libcsm.hsm.components.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.hsm.components module
============================

Module contents
---------------

.. automodule:: libcsm.hsm.components
:members:
:undoc-members:
:show-inheritance:

20 changes: 20 additions & 0 deletions docs/libcsm.hsm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
libcsm.hsm package
==================

Submodules
----------

.. toctree::
:maxdepth: 4

libcsm.hsm.components
libcsm.hsm.xnames

Module contents
---------------

.. automodule:: libcsm.hsm
:members:
:undoc-members:
:show-inheritance:

11 changes: 11 additions & 0 deletions docs/libcsm.hsm.xnames.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.hsm.xnames module
========================

Module contents
---------------

.. automodule:: libcsm.hsm.xnames
:members:
:undoc-members:
:show-inheritance:

8 changes: 8 additions & 0 deletions docs/libcsm.logger.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
libcsm.logger module
====================

.. automodule:: libcsm.logger
:members:
:undoc-members:
:show-inheritance:

8 changes: 8 additions & 0 deletions docs/libcsm.os.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
libcsm.os module
================

.. automodule:: libcsm.os
:members:
:undoc-members:
:show-inheritance:

20 changes: 20 additions & 0 deletions docs/libcsm.requests.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
libcsm.requests package
=======================

Submodules
----------

.. toctree::
:maxdepth: 4

libcsm.requests.session

Module contents
---------------

.. automodule:: libcsm.requests
:members:
:undoc-members:
:show-inheritance:


11 changes: 11 additions & 0 deletions docs/libcsm.requests.session.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.requests.session module
==============================

Module contents
---------------

.. automodule:: libcsm.requests.session
:members:
:undoc-members:
:show-inheritance:

39 changes: 31 additions & 8 deletions docs/libcsm.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,34 @@
API Reference
=============
libcsm package
==============

.. automodule:: libcsm
:members:
Subpackages
-----------

.. toctree::
:maxdepth: 4

libcsm.bss
libcsm.hsm
libcsm.requests
libcsm.s3
libcsm.sls
libcsm.tests

Submodules
-----------

``api``
-------
.. toctree::
:maxdepth: 4

libcsm.api
libcsm.os
libcsm.logger

Module contents
---------------

.. automodule:: libcsm
:members:
:undoc-members:
:show-inheritance:

.. automodule:: libcsm.api
:members:
11 changes: 11 additions & 0 deletions docs/libcsm.s3.images.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.s3.images module
=======================

Module contents
---------------

.. automodule:: libcsm.s3.images
:members:
:undoc-members:
:show-inheritance:

20 changes: 20 additions & 0 deletions docs/libcsm.s3.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
libcsm.s3 package
=================

Submodules
----------

.. toctree::
:maxdepth: 4

libcsm.s3.images
libcsm.s3.s3object

Module contents
---------------

.. automodule:: libcsm.s3
:members:
:undoc-members:
:show-inheritance:

11 changes: 11 additions & 0 deletions docs/libcsm.s3.s3object.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.s3.s3object module
=========================

Module contents
---------------

.. automodule:: libcsm.s3.s3object
:members:
:undoc-members:
:show-inheritance:

11 changes: 11 additions & 0 deletions docs/libcsm.sls.api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.sls.api module
=====================

Module contents
---------------

.. automodule:: libcsm.sls.api
:members:
:undoc-members:
:show-inheritance:

11 changes: 11 additions & 0 deletions docs/libcsm.sls.get_hostname.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.sls.get_hostname module
==============================

Module contents
---------------

.. automodule:: libcsm.sls.get_hostname
:members:
:undoc-members:
:show-inheritance:

11 changes: 11 additions & 0 deletions docs/libcsm.sls.get_xname.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
libcsm.sls.get_xname module
===========================

Module contents
---------------

.. automodule:: libcsm.sls.get_xname
:members:
:undoc-members:
:show-inheritance:

21 changes: 21 additions & 0 deletions docs/libcsm.sls.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
libcsm.sls package
==================

Submodules
----------

.. toctree::
:maxdepth: 4

libcsm.sls.api
libcsm.sls.get_hostname
libcsm.sls.get_xname

Module contents
---------------

.. automodule:: libcsm.sls
:members:
:undoc-members:
:show-inheritance:

20 changes: 20 additions & 0 deletions docs/libcsm.tests.bss.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
libcsm.tests.bss package
========================

Submodules
----------

.. toctree::
:maxdepth: 4

libcsm.tests.bss.test_api
libcsm.tests.bss.test_set_image

Module contents
---------------

.. automodule:: libcsm.tests.bss
:members:
:undoc-members:
:show-inheritance:

12 changes: 12 additions & 0 deletions docs/libcsm.tests.bss.test_api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
libcsm.tests.bss.test_api module
================================


Module contents
---------------

.. automodule:: libcsm.tests.bss.test_api
:members:
:undoc-members:
:show-inheritance:

12 changes: 12 additions & 0 deletions docs/libcsm.tests.bss.test_set_image.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
libcsm.tests.bss.test_set_image module
======================================


Module contents
---------------

.. automodule:: libcsm.tests.bss.test_set_image
:members:
:undoc-members:
:show-inheritance:

Loading

0 comments on commit cdd2912

Please sign in to comment.