Skip to content

Commit

Permalink
initialize doc
Browse files Browse the repository at this point in the history
  • Loading branch information
enigne committed Apr 9, 2024
1 parent 21ab40b commit ad2f00e
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 71 deletions.
43 changes: 43 additions & 0 deletions docs/api/pinnicle.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
pinnicle
=======

pinnicle.domain module
------------------------

.. automodule:: pinnicle.domain
:members:
:undoc-members:
:show-inheritance:

pinnicle.modeldata module
---------------------

.. automodule:: pinnicle.modeldata
:members:
:undoc-members:
:show-inheritance:

pinnicle.nn module
---------------------

.. automodule:: pinnicle.nn
:members:
:undoc-members:
:show-inheritance:

pinnicle.physics module
----------------------

.. automodule:: pinnicle.physics
:members:
:undoc-members:
:show-inheritance:

pinnicle.utils module
--------------------

.. automodule:: pinnicle.utils
:members:
:undoc-members:
:show-inheritance:

19 changes: 11 additions & 8 deletions docs/source/conf.py → docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# Configuration file for the Sphinx documentation builder.
from importlib.metadata import version

# -- Project information

project = 'Lumache'
copyright = '2021, Graziella'
author = 'Graziella'
project = 'PINNICLE'
copyright = '2024, Cheng Gong'
author = 'Cheng Gong'

release = '0.1'
version = '0.1.0'
# The short X.Y version
version = version("PINNICLE")
# The full version, including alpha/beta/rc tags
release = version

# -- General configuration

Expand All @@ -27,9 +30,9 @@

templates_path = ['_templates']

# -- Options for HTML output
# The master toctree
master_doc = "index"

# -- Options for HTML output
html_theme = 'sphinx_rtd_theme'

# -- Options for EPUB output
epub_show_urls = 'footnote'
36 changes: 36 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
PINNICLE
===================================

`PINNICLE<https://github.com/enigne/PINNICLE>` is a Python library for solving ice sheet modeling problems using a unified framework with Physics Informed Neural Networks


Check out the :doc:`usage` section for further information, including
how to :ref:`installation` the project.

.. note::

This project is under active development.

User guide
--------

.. toctree::
:maxdepth: 2


API reference
--------

.. toctree::
:maxdepth: 2
:caption: API

api/pinnicle


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
7 changes: 0 additions & 7 deletions docs/source/api.rst

This file was deleted.

22 changes: 0 additions & 22 deletions docs/source/index.rst

This file was deleted.

34 changes: 0 additions & 34 deletions docs/source/usage.rst

This file was deleted.

0 comments on commit ad2f00e

Please sign in to comment.