Skip to content

Commit

Permalink
docs: Adding a reference page to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mgm8 committed Jan 19, 2023
1 parent 43d1044 commit 3af31f2
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# conf.py
#
# Copyright (C) 2022, Gabriel Mariano Marcelino - PU5GMA <[email protected]>
# Copyright (C) 2023, Gabriel Mariano Marcelino - PU5GMA <[email protected]>
#
# This file is part of PyNGHam library.
#
Expand Down Expand Up @@ -32,14 +32,16 @@

import sphinx_rtd_theme

sys.path.insert(0, os.path.abspath('../')) # Source code dir relative to this file

# -- Project information -----------------------------------------------------

project = 'pyngham'
copyright = '2022, Gabriel Mariano Marcelino - PU5GMA'
copyright = '2023, Gabriel Mariano Marcelino - PU5GMA'
author = 'Gabriel Mariano Marcelino'

# The full version, including alpha/beta/rc tags
release = "1.0"
release = "1.1"


# -- General configuration ---------------------------------------------------
Expand All @@ -49,6 +51,7 @@
# ones.
extensions = [
'sphinx_rtd_theme',
'sphinx.ext.autodoc', # Core library for html generation from docstrings
]

# Add any paths that contain templates here, relative to this directory.
Expand All @@ -73,8 +76,3 @@
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ Contents
extension
install
usage
reference
development
23 changes: 23 additions & 0 deletions docs/reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
*********
Reference
*********

On this page, there is a reference to the functions, classes and methods of the PyNGHam library, including a description of each one, and the inputs and outputs.

Main Module
===========

.. automodule:: pyngham.pyngham
:members:

SPP Module
==========

.. automodule:: pyngham.spp
:members:

Extension Module
================

.. automodule:: pyngham.extension
:members:

0 comments on commit 3af31f2

Please sign in to comment.