Skip to content

Commit

Permalink
Merge pull request #7 from wagoner47/elw
Browse files Browse the repository at this point in the history
Need the module config file for readthedocs
  • Loading branch information
wagoner47 committed Mar 21, 2018
2 parents cabfbef + 61b2ef6 commit 4fa621d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ ENV/
.mypy_cache/

# config file
*/mond_config.ini
#*/mond_config.ini

# test data
*sublink_mpb_1030.hdf5
11 changes: 8 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,17 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
import mond_project
import os
# The short X.Y version.
version = re.sub(r"(\d+\.\d_)\.\d+(.*)",r"\1\2", mond_project.__version__)
version_file = os.path.join(os.path.dirname(__file__), "..", "mond_project",
"_version.py")
verstrline = open(version_file, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
version = re.sub(r"(\d+\.\d_)\.\d+(.*)",r"\1\2", mo.group(1))
version = re.sub(r"(\.dev\d+).*?$", r"\1", version)
# The full version, including alpha/beta/rc tags.
release = mond_project.__version__
release = mo.group(1)

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
11 changes: 10 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. image:: https://travis-ci.org/wagoner47/mond_project.svg?branch=master
:target: https://travis-ci.org/wagoner47/mond_project

.. image:: https://coveralls.io/repos/github/wagoner47/mond_project/badge.svg?branch=elw
:target: https://coveralls.io/github/wagoner47/mond_project?branch=elw

.. image:: https://readthedocs.org/projects/mond-project/badge/?version=latest
:target: http://mond-project.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Welcome to mond_project's documentation!
========================================

Expand All @@ -15,7 +25,6 @@ Welcome to mond_project's documentation!
:maxdepth: 2
:caption: Contents:

readme_include
install


Expand Down
1 change: 1 addition & 0 deletions mond_project/mond_config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ILL_KEY = 493fedf9cf3d72ed3a745d158a3faf7b

0 comments on commit 4fa621d

Please sign in to comment.