Skip to content

Commit

Permalink
adds sphinx doc files in docs directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjamesgarza committed Apr 29, 2024
1 parent 31e6b79 commit d6cf145
Show file tree
Hide file tree
Showing 7 changed files with 237 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/sphinx_files/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
6 changes: 6 additions & 0 deletions doc/sphinx_files/docs/source/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
docs
====

.. toctree::
:maxdepth: 4

35 changes: 35 additions & 0 deletions doc/sphinx_files/make.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)

if "%1" == "" goto help

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
117 changes: 117 additions & 0 deletions doc/sphinx_files/source/acom_music_box.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
acom\_music\_box package
========================

Submodules
----------

acom\_music\_box.music\_box module
----------------------------------

.. automodule:: acom_music_box.music_box
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_conditions module
----------------------------------------------

.. automodule:: acom_music_box.music_box_conditions
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_evolving\_conditions module
--------------------------------------------------------

.. automodule:: acom_music_box.music_box_evolving_conditions
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_model\_options module
--------------------------------------------------

.. automodule:: acom_music_box.music_box_model_options
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_product module
-------------------------------------------

.. automodule:: acom_music_box.music_box_product
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_reactant module
--------------------------------------------

.. automodule:: acom_music_box.music_box_reactant
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_reaction module
--------------------------------------------

.. automodule:: acom_music_box.music_box_reaction
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_reaction\_list module
--------------------------------------------------

.. automodule:: acom_music_box.music_box_reaction_list
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_reaction\_rate module
--------------------------------------------------

.. automodule:: acom_music_box.music_box_reaction_rate
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_species module
-------------------------------------------

.. automodule:: acom_music_box.music_box_species
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_species\_concentration module
----------------------------------------------------------

.. automodule:: acom_music_box.music_box_species_concentration
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.music\_box\_species\_list module
-------------------------------------------------

.. automodule:: acom_music_box.music_box_species_list
:members:
:undoc-members:
:show-inheritance:

acom\_music\_box.utils module
-----------------------------

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

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

.. automodule:: acom_music_box
:members:
:undoc-members:
:show-inheritance:
30 changes: 30 additions & 0 deletions doc/sphinx_files/source/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import sys
import os
sys.path.insert(0, os.path.abspath('..'))
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'acom_music_box'
copyright = '2024, NCAR'
author = 'NCAR'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = ['sphinx.ext.autodoc']

templates_path = ['_templates']
exclude_patterns = []



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']
22 changes: 22 additions & 0 deletions doc/sphinx_files/source/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. acom_music_box documentation master file, created by
sphinx-quickstart on Mon Apr 29 18:31:30 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to acom_music_box's documentation!
==========================================

.. toctree::
:maxdepth: 2
:caption: Contents:

modules



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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
7 changes: 7 additions & 0 deletions doc/sphinx_files/source/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
acom_music_box
==============

.. toctree::
:maxdepth: 4

acom_music_box

0 comments on commit d6cf145

Please sign in to comment.