Skip to content

Commit

Permalink
Merge pull request #14 from sandialabs/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
mrbuche authored Jan 23, 2023
2 parents abebe0b + 02210c2 commit 07e0369
Show file tree
Hide file tree
Showing 20 changed files with 36 additions and 132 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/pages.yml

This file was deleted.

18 changes: 6 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
statMechCrack
#############

|build| |docs| |codefactor|
|stable| |latest| |codefactor|

Statistical mechanical models for crack growth.

Expand All @@ -24,13 +24,7 @@ or using ``conda`` via the ``mrbuche`` channel on `Anaconda <https://anaconda.or

conda install --channel mrbuche statmechcrack
Alternatively, a branch can be directly installed using

::

pip install git+https://github.com/sandialabs/statmechcrack.git@<branch-name>

or after cloning a branch and executing ``python setup.py install``. Any installation is tested by executing ``python -m statmechcrack.tests``.
Any installation is tested by executing ``python -m statmechcrack.tests``.

********
Citation
Expand All @@ -51,11 +45,11 @@ Copyright 2022 National Technology & Engineering Solutions of Sandia, LLC (NTESS
..
Badges ========================================================================
.. |build| image:: https://img.shields.io/github/actions/workflow/status/sandialabs/statmechcrack/main.yml?branch=main&label=GitHub&logo=github
:target: https://github.com/sandialabs/statmechcrack
.. |stable| image:: https://img.shields.io/badge/Docs-stable-8CA1AF?logo=readthedocs
:target: https://statmechcrack.readthedocs.io/en/stable

.. |docs| image:: https://img.shields.io/readthedocs/statmechcrack?logo=readthedocs&label=Read%20the%20Docs
:target: https://statmechcrack.readthedocs.io/en/latest/
.. |latest| image:: https://img.shields.io/badge/Docs-latest-8CA1AF?logo=readthedocs
:target: https://statmechcrack.readthedocs.io/en/latest

.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/sandialabs/statmechcrack?label=Codefactor&logo=codefactor
:target: https://www.codefactor.io/repository/github/sandialabs/statmechcrack
Expand Down
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def get_version():

add_module_names = False
bibtex_bibfiles = ['main.bib']
bibtex_bibliography_header = ".. rubric:: References"
bibtex_default_style = 'plain'
bibtex_footbibliography_header = bibtex_bibliography_header
extensions = [
'matplotlib.sphinxext.plot_directive',
'nbsphinx',
Expand All @@ -53,4 +55,5 @@ def get_version():
plot_include_source = True
plot_rcparams = {'font.size': 10}
plot_formats = [('png', 300)]
suppress_warnings = ["bibtex.duplicate_label"]
templates_path = ['_templates']
6 changes: 2 additions & 4 deletions docs/source/statmechcrack.core.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.core module
=========================
statmechcrack.core
==================

.. automodule:: statmechcrack.core
:members:
Expand All @@ -12,7 +12,5 @@ statmechcrack.core module
<hr>
**References**

.. bibliography::
:filter: docname in docnames
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.isometric.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.isometric module
==============================
statmechcrack.isometric
=======================

.. automodule:: statmechcrack.isometric
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.isotensional.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.isotensional module
=================================
statmechcrack.isotensional
==========================

.. automodule:: statmechcrack.isotensional
:members:
Expand Down
6 changes: 2 additions & 4 deletions docs/source/statmechcrack.mechanical.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.mechanical module
===============================
statmechcrack.mechanical
========================

.. automodule:: statmechcrack.mechanical
:members:
Expand All @@ -12,7 +12,5 @@ statmechcrack.mechanical module
<hr>
**References**

.. bibliography::
:filter: docname in docnames
6 changes: 2 additions & 4 deletions docs/source/statmechcrack.monte_carlo.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.monte\_carlo module
=================================
statmechcrack.monte\_carlo
==========================

.. automodule:: statmechcrack.monte_carlo
:members:
Expand All @@ -12,7 +12,5 @@ statmechcrack.monte\_carlo module
<hr>
**References**

.. bibliography::
:filter: docname in docnames
33 changes: 0 additions & 33 deletions docs/source/statmechcrack.rst

This file was deleted.

8 changes: 0 additions & 8 deletions docs/source/statmechcrack.tests.__main__.rst

This file was deleted.

26 changes: 0 additions & 26 deletions docs/source/statmechcrack.tests.rst

This file was deleted.

4 changes: 2 additions & 2 deletions docs/source/statmechcrack.tests.test_boundary.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.tests.test\_boundary module
=========================================
statmechcrack.tests.test\_boundary
==================================

.. automodule:: statmechcrack.tests.test_boundary
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.tests.test_examples.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.tests.test\_examples module
=========================================
statmechcrack.tests.test\_examples
==================================

.. automodule:: statmechcrack.tests.test_examples
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.tests.test_interface.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.tests.test\_interface module
==========================================
statmechcrack.tests.test\_interface
===================================

.. automodule:: statmechcrack.tests.test_interface
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.tests.test_many.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.tests.test\_many module
=====================================
statmechcrack.tests.test\_many
==============================

.. automodule:: statmechcrack.tests.test_many
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.tests.test_one.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.tests.test\_one module
====================================
statmechcrack.tests.test\_one
=============================

.. automodule:: statmechcrack.tests.test_one
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.tests.test_style.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.tests.test\_style module
======================================
statmechcrack.tests.test\_style
===============================

.. automodule:: statmechcrack.tests.test_style
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.tests.test_zero.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.tests.test\_zero module
=====================================
statmechcrack.tests.test\_zero
==============================

.. automodule:: statmechcrack.tests.test_zero
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/statmechcrack.utility.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
statmechcrack.utility module
============================
statmechcrack.utility
=====================

.. automodule:: statmechcrack.utility
:members:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_version():
long_description=read("README.rst"),
author='Michael R. Buche, Scott J. Grutzik',
author_email='mrbuche@sandia.gov, sjgrutz@sandia.gov',
url='https://sandialabs.github.io/statMechCrack',
url='https://github.com/sandialabs/statMechCrack',
license='BSD-3-Clause',
keywords=['fracture mechanics',
'statistical mechanics',
Expand Down

0 comments on commit 07e0369

Please sign in to comment.