Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lululxvi committed Jun 25, 2019
1 parent 9571239 commit 600bb9b
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 27 deletions.
19 changes: 19 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

sphinx:
configuration: docs/conf.py

build:
image: latest

formats:
- epub
- pdf

python:
version: 3.7
install:
- requirements: requirements.txt
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include README.md
include LICENSE
include MANIFEST.in
include MANIFEST.in
include requirements.txt
2 changes: 1 addition & 1 deletion deepxde/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class DataSet(Data):
"""Fitting Data set.
Args:
col_x: List of integers.
col_y: List of integers.
Expand Down
2 changes: 1 addition & 1 deletion deepxde/data/op_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class OpDataSet(Data):
"""Fitting operator data set.
Args:
col_x: List of integers.
col_y: List of integers.
Expand Down
2 changes: 1 addition & 1 deletion deepxde/maps/opnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def stacked_dense(self, inputs, units, stack_size, activation=None, use_bias=Tru
Returns:
tensor: outputs.
If outputs is the NN output, i.e., units = 1,
2D tensor with shape: `(batch_size, stack_size)`;
otherwise, 3D tensor with shape: `(batch_size, stack_size, units)`.
Expand Down
13 changes: 0 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@
"sphinx.ext.viewcode",
]

autodoc_mock_imports = [
"matplotlib",
"numpy",
"salib",
"scikit-learn",
"scipy",
"tensorflow",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down Expand Up @@ -122,16 +113,12 @@

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
}

Expand Down
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
matplotlib
numpy
salib
scikit-learn
scipy
tensorflow
15 changes: 5 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
from setuptools import find_packages


with io.open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with io.open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()

with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]

setup(
name="DeepXDE",
Expand All @@ -18,14 +20,7 @@
url="https://github.com/lululxvi/deepxde",
download_url="https://github.com/lululxvi/deepxde/tarball/v0.1.1",
license="Apache-2.0",
install_requires=[
"matplotlib",
"numpy",
"salib",
"scikit-learn",
"scipy",
"tensorflow",
],
install_requires=install_requires,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand Down

0 comments on commit 600bb9b

Please sign in to comment.