Skip to content

Commit

Permalink
fixing docs doctype error and moving docs to one folder
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinFasusi committed Feb 13, 2016
1 parent 56f8ad9 commit 88096db
Show file tree
Hide file tree
Showing 33 changed files with 496 additions and 282 deletions.
2 changes: 1 addition & 1 deletion docs/Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Installation

The easiest way to install supplychainpy is via pip:
::
pip install supplychainpy
pip install supplychainpy

The option also exists to install from source. Clone the package from `Github <https://github.com/supplybi/supplychainpy.git>`_

Expand Down
Binary file modified docs/_build/doctrees/Installation.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/ipythontest.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/modules.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/supplychainpy.demand.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/supplychainpy.distribution.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/supplychainpy.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/supplychainpy.production.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/supplychainpy.warehouse.doctree
Binary file not shown.
12 changes: 8 additions & 4 deletions docs/_build/html/Installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@


<link rel="top" title="supplychainpy 1.0.0 documentation" href="index.html"/>
<link rel="next" title="Ipython" href="ipythontest.html"/>
<link rel="prev" title="Welcome to supplychainpy’s documentation!" href="index.html"/>


Expand Down Expand Up @@ -85,6 +86,8 @@
<li class="toctree-l2"><a class="reference internal" href="#test">Test</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ipythontest.html">Ipython</a></li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">supplychainpy</a></li>
</ul>


Expand Down Expand Up @@ -131,10 +134,9 @@

<div class="section" id="installation">
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h1>
<p>The easiest way to install supplychainpy is via pip:</p>
<div class="highlight-python"><div class="highlight"><pre>pip install supplychainpy
</pre></div>
</div>
<p>The easiest way to install supplychainpy is via pip:
::
pip install supplychainpy</p>
<p>The option also exists to install from source. Clone the package from <a class="reference external" href="https://github.com/supplybi/supplychainpy.git">Github</a></p>
<div class="section" id="test">
<h2>Test<a class="headerlink" href="#test" title="Permalink to this headline"></a></h2>
Expand All @@ -149,6 +151,8 @@ <h2>Test<a class="headerlink" href="#test" title="Permalink to this headline">¶

<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">

<a href="ipythontest.html" class="btn btn-neutral float-right" title="Ipython" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>


<a href="index.html" class="btn btn-neutral" title="Welcome to supplychainpy’s documentation!" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>

Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/_sources/Installation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Installation

The easiest way to install supplychainpy is via pip:
::
pip install supplychainpy
pip install supplychainpy

The option also exists to install from source. Clone the package from `Github <https://github.com/supplybi/supplychainpy.git>`_

Expand Down
3 changes: 2 additions & 1 deletion docs/_build/html/_sources/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Contents:
:maxdepth: 2

Installation

ipythontest
modules



Expand Down
28 changes: 8 additions & 20 deletions docs/_build/html/_sources/ipythontest.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Ipython
====
====================

.. code:: python

print('Hello')
Expand Down Expand Up @@ -240,22 +241,7 @@ Ipython
{'ABC_XYZ_Classification': 'CY', 'reorder_quantity': '81', 'revenue': '210000.00', 'average_order': '53', 'reorder_level': '120', 'economic_order_quantity': '75', 'sku': 'QR326-53', 'demand_variability': '0.470', 'economic_order_variable_cost': '9291.19', 'standard_deviation': '25', 'safety_stock': '45'}
{'ABC_XYZ_Classification': 'CZ', 'reorder_quantity': '160', 'revenue': '840000.00', 'average_order': '220', 'reorder_level': '620', 'economic_order_quantity': '156', 'sku': 'QR327-53', 'demand_variability': '0.770', 'economic_order_variable_cost': '18902.21', 'standard_deviation': '170', 'safety_stock': '310'}
{'ABC_XYZ_Classification': 'CY', 'reorder_quantity': '81', 'revenue': '210000.00', 'average_order': '53', 'reorder_level': '120', 'economic_order_quantity': '75', 'sku': 'QR328-53', 'demand_variability': '0.470', 'economic_order_variable_cost': '9291.19', 'standard_deviation': '25', 'safety_stock': '45'}
{'ABC_XYZ_Classification': 'AZ', 'reorder_quantity': '270', 'revenue': '2200000.00', 'average_order': '580', 'reorder_level': '1900', 'economic_order_quantity': '253', 'sku': 'QR329-53', 'demand_variability': '1.100', 'economic_order_variable_cost': '30709.88', 'standard_deviation': '640', 'safety_stock': '1100'}



.. code:: python

from matplotlib import pyplot as plt

x = [0,1,2]
y = [0,1,4]

fig = plt.figure()
axes = fig.add_subplot(111)

axes.plot(x,y)
plt.show()
{'ABC_XYZ_Classification': 'AZ', 'reorder_quantity': '270', 'revenue': '2200000.00', 'average_order': '580', 'reorder_level': '1900', 'economic_order_quantity': '253', 'sku': 'QR329-53', 'demand_variability': '1.100', 'economic_order_variable_cost': '30709.88', 'standard_deviation': '640', 'safety_stock': '110}

.. code:: python

Expand All @@ -265,11 +251,15 @@ Ipython


.. code:: python
from xlwings import Workbook, Range

from xlwings import Workbook, Range

wb = Workbook(r'~/Desktop/test.xlsx'), Range
from supplybipy.model_inventory import analyse_orders_abcxyz_from_file

abc = analyse_orders_abcxyz_from_file(file_path="data.csv", z_value= 1.28, reorder_cost=5000, file_type="csv")
x = 1

for sku in abc.orders:
Range('A'+ str(x)).value = sku.sku_id
Range('B' + str(x)).value = float(sku.economic_order_qty)
Expand All @@ -284,8 +274,6 @@ Ipython
abc = analyse_orders_abcxyz_from_file('test_row.txt', 1.28, 5000)
AX = [ sku.sku_id for sku in abc.orders if sku.abcxyz_classification =='AX']
print(AX)
print(sku.)


.. parsed-literal::

Expand Down
4 changes: 1 addition & 3 deletions docs/_build/html/_sources/supplychainpy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ Subpackages

supplychainpy.demand
supplychainpy.distribution
supplychainpy.inventory
supplychainpy.production
supplychainpy.simulations
supplychainpy.warehouse

Submodules
----------

Expand Down
2 changes: 2 additions & 0 deletions docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@

<ul>
<li class="toctree-l1"><a class="reference internal" href="Installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="ipythontest.html">Ipython</a></li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">supplychainpy</a></li>
</ul>


Expand Down
7 changes: 7 additions & 0 deletions docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@

<ul>
<li class="toctree-l1"><a class="reference internal" href="Installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="ipythontest.html">Ipython</a></li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">supplychainpy</a></li>
</ul>


Expand Down Expand Up @@ -135,6 +137,11 @@ <h1>Welcome to supplychainpy&#8217;s documentation!<a class="headerlink" href="#
<li class="toctree-l2"><a class="reference internal" href="Installation.html#test">Test</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ipythontest.html">Ipython</a></li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">supplychainpy</a><ul>
<li class="toctree-l2"><a class="reference internal" href="supplychainpy.html">supplychainpy package</a></li>
</ul>
</li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 88096db

Please sign in to comment.