Skip to content

Commit

Permalink
added documentation markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
izzielau authored and izzielau committed Mar 22, 2020
1 parent 33a9086 commit a563ee2
Show file tree
Hide file tree
Showing 28 changed files with 47 additions and 153 deletions.
Binary file modified _build/doctrees/berkeleytime/berkeleytime.doctree
Binary file not shown.
Binary file not shown.
Binary file modified _build/doctrees/build/build.doctree
Binary file not shown.
Binary file modified _build/doctrees/environment.pickle
Binary file not shown.
Binary file modified _build/doctrees/frontend/frontend.doctree
Binary file not shown.
Binary file modified _build/doctrees/index.doctree
Binary file not shown.
8 changes: 0 additions & 8 deletions _build/html/_sources/berkeleytime/berkeleytime.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,3 @@ BerkeleyTime
marketplace/marketplace
mondaine/mondaine
scheduler/scheduler


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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,3 @@ views.py
:members:
:undoc-members:
:show-inheritance:

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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
9 changes: 0 additions & 9 deletions _build/html/_sources/build/build.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,3 @@ Build

.. toctree::
:caption: Contents:



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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
9 changes: 0 additions & 9 deletions _build/html/_sources/frontend/frontend.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,3 @@ Frontend

.. toctree::
:caption: Contents:



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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
8 changes: 0 additions & 8 deletions _build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,3 @@ Welcome to berkeleytime's documentation!
berkeleytime/berkeleytime
build/build
frontend/frontend


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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
14 changes: 1 addition & 13 deletions _build/html/berkeleytime/berkeleytime.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ <h1>BerkeleyTime<a class="headerlink" href="#berkeleytime" title="Permalink to t
</li>
<li class="toctree-l2"><a class="reference internal" href="berkeleytime/berkeleytime.html#settings-py">settings.py</a></li>
<li class="toctree-l2"><a class="reference internal" href="berkeleytime/berkeleytime.html#urls-py">urls.py</a></li>
<li class="toctree-l2"><a class="reference internal" href="berkeleytime/berkeleytime.html#module-berkeleytime.views">views.py</a><ul>
<li class="toctree-l3"><a class="reference internal" href="berkeleytime/berkeleytime.html#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="berkeleytime/berkeleytime.html#module-berkeleytime.views">views.py</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="campus/campus.html">Campus</a><ul>
Expand Down Expand Up @@ -172,14 +169,6 @@ <h1>BerkeleyTime<a class="headerlink" href="#berkeleytime" title="Permalink to t
</li>
</ul>
</div>
<div class="section" id="indices-and-tables">
<h2>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><a class="reference internal" href="../genindex.html"><span class="std std-ref">Index</span></a></li>
<li><a class="reference internal" href="../py-modindex.html"><span class="std std-ref">Module Index</span></a></li>
<li><a class="reference internal" href="../search.html"><span class="std std-ref">Search Page</span></a></li>
</ul>
</div>
</div>


Expand Down Expand Up @@ -210,7 +199,6 @@ <h3>Navigation</h3>
<li class="toctree-l2"><a class="reference internal" href="marketplace/marketplace.html">Marketplace</a></li>
<li class="toctree-l2"><a class="reference internal" href="mondaine/mondaine.html">Mondaine</a></li>
<li class="toctree-l2"><a class="reference internal" href="scheduler/scheduler.html">Scheduler</a></li>
<li class="toctree-l2"><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../build/build.html">Build</a></li>
Expand Down
14 changes: 1 addition & 13 deletions _build/html/berkeleytime/berkeleytime/berkeleytime.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@ <h2>urls.py<a class="headerlink" href="#urls-py" title="Permalink to this headli
<code class="descclassname">berkeleytime.views.</code><code class="descname">test</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#berkeleytime.views.test" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<div class="section" id="indices-and-tables">
<h3>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li><a class="reference internal" href="../../genindex.html"><span class="std std-ref">Index</span></a></li>
<li><a class="reference internal" href="../../py-modindex.html"><span class="std std-ref">Module Index</span></a></li>
<li><a class="reference internal" href="../../search.html"><span class="std std-ref">Search Page</span></a></li>
</ul>
</div>
</div>
</div>

Expand Down Expand Up @@ -110,10 +102,7 @@ <h3>Navigation</h3>
<li class="toctree-l3"><a class="reference internal" href="utils/utils.html">Utils</a></li>
<li class="toctree-l3"><a class="reference internal" href="#settings-py">settings.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="#urls-py">urls.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="#module-berkeleytime.views">views.py</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#module-berkeleytime.views">views.py</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../campus/campus.html">Campus</a></li>
Expand All @@ -122,7 +111,6 @@ <h3>Navigation</h3>
<li class="toctree-l2"><a class="reference internal" href="../marketplace/marketplace.html">Marketplace</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mondaine/mondaine.html">Mondaine</a></li>
<li class="toctree-l2"><a class="reference internal" href="../scheduler/scheduler.html">Scheduler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../berkeleytime.html#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../build/build.html">Build</a></li>
Expand Down
1 change: 0 additions & 1 deletion _build/html/berkeleytime/catalog/catalog.html
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,6 @@ <h3>Navigation</h3>
<li class="toctree-l2"><a class="reference internal" href="../marketplace/marketplace.html">Marketplace</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mondaine/mondaine.html">Mondaine</a></li>
<li class="toctree-l2"><a class="reference internal" href="../scheduler/scheduler.html">Scheduler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../berkeleytime.html#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../build/build.html">Build</a></li>
Expand Down
7 changes: 3 additions & 4 deletions _build/html/berkeleytime/catalog/service/service.html
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,15 @@ <h3>Navigation</h3>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../catalog.html#admin-py">admin.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="../catalog.html#models-py">models.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="../catalog.html#utils-py">utils.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="../catalog.html#views-py">views.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="../catalog.html#module-catalog.models">models.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="../catalog.html#module-catalog.utils">utils.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="../catalog.html#module-catalog.views">views.py</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../data/data.html">Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../marketplace/marketplace.html">Marketplace</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../mondaine/mondaine.html">Mondaine</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../scheduler/scheduler.html">Scheduler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../berkeleytime.html#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../build/build.html">Build</a></li>
Expand Down
1 change: 0 additions & 1 deletion _build/html/berkeleytime/marketplace/job/job.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ <h3>Navigation</h3>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../mondaine/mondaine.html">Mondaine</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../scheduler/scheduler.html">Scheduler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../berkeleytime.html#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../build/build.html">Build</a></li>
Expand Down
1 change: 0 additions & 1 deletion _build/html/berkeleytime/marketplace/marketplace.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ <h3>Navigation</h3>
</li>
<li class="toctree-l2"><a class="reference internal" href="../mondaine/mondaine.html">Mondaine</a></li>
<li class="toctree-l2"><a class="reference internal" href="../scheduler/scheduler.html">Scheduler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../berkeleytime.html#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../build/build.html">Build</a></li>
Expand Down
11 changes: 1 addition & 10 deletions _build/html/build/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@
<h1>Build<a class="headerlink" href="#build" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
</div>
<div class="section" id="indices-and-tables">
<h2>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><a class="reference internal" href="../genindex.html"><span class="std std-ref">Index</span></a></li>
<li><a class="reference internal" href="../py-modindex.html"><span class="std std-ref">Module Index</span></a></li>
<li><a class="reference internal" href="../search.html"><span class="std std-ref">Search Page</span></a></li>
</ul>
</div>
</div>


Expand All @@ -68,8 +60,7 @@ <h3>Navigation</h3>
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../berkeleytime/berkeleytime.html">BerkeleyTime</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Build</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Build</a><ul class="simple">
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../frontend/frontend.html">Frontend</a></li>
Expand Down
11 changes: 1 addition & 10 deletions _build/html/frontend/frontend.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@
<h1>Frontend<a class="headerlink" href="#frontend" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
</div>
<div class="section" id="indices-and-tables">
<h2>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><a class="reference internal" href="../genindex.html"><span class="std std-ref">Index</span></a></li>
<li><a class="reference internal" href="../py-modindex.html"><span class="std std-ref">Module Index</span></a></li>
<li><a class="reference internal" href="../search.html"><span class="std std-ref">Search Page</span></a></li>
</ul>
</div>
</div>


Expand All @@ -68,8 +60,7 @@ <h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../berkeleytime/berkeleytime.html">BerkeleyTime</a></li>
<li class="toctree-l1"><a class="reference internal" href="../build/build.html">Build</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Frontend</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Frontend</a><ul class="simple">
</ul>
</li>
</ul>
Expand Down
20 changes: 3 additions & 17 deletions _build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ <h1>Welcome to berkeleytime’s documentation!<a class="headerlink" href="#welco
</li>
<li class="toctree-l3"><a class="reference internal" href="berkeleytime/berkeleytime/berkeleytime.html#settings-py">settings.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="berkeleytime/berkeleytime/berkeleytime.html#urls-py">urls.py</a></li>
<li class="toctree-l3"><a class="reference internal" href="berkeleytime/berkeleytime/berkeleytime.html#module-berkeleytime.views">views.py</a><ul>
<li class="toctree-l4"><a class="reference internal" href="berkeleytime/berkeleytime/berkeleytime.html#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="berkeleytime/berkeleytime/berkeleytime.html#module-berkeleytime.views">views.py</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="berkeleytime/campus/campus.html">Campus</a><ul>
Expand Down Expand Up @@ -170,27 +167,16 @@ <h1>Welcome to berkeleytime’s documentation!<a class="headerlink" href="#welco
<li class="toctree-l3"><a class="reference internal" href="berkeleytime/scheduler/scheduler.html#views-py">views.py</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="berkeleytime/berkeleytime.html#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="build/build.html">Build</a><ul>
<li class="toctree-l2"><a class="reference internal" href="build/build.html#indices-and-tables">Indices and tables</a></li>
<li class="toctree-l1"><a class="reference internal" href="build/build.html">Build</a><ul class="simple">
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="frontend/frontend.html">Frontend</a><ul>
<li class="toctree-l2"><a class="reference internal" href="frontend/frontend.html#indices-and-tables">Indices and tables</a></li>
<li class="toctree-l1"><a class="reference internal" href="frontend/frontend.html">Frontend</a><ul class="simple">
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="indices-and-tables">
<h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline"></a></h1>
<ul class="simple">
<li><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></li>
<li><a class="reference internal" href="py-modindex.html"><span class="std std-ref">Module Index</span></a></li>
<li><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></li>
</ul>
</div>


Expand Down
2 changes: 1 addition & 1 deletion _build/html/searchindex.js

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions berkeleytime/berkeleytime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,3 @@ BerkeleyTime
marketplace/marketplace
mondaine/mondaine
scheduler/scheduler


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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
7 changes: 0 additions & 7 deletions berkeleytime/berkeleytime/berkeleytime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,3 @@ views.py
:members:
:undoc-members:
:show-inheritance:

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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
9 changes: 0 additions & 9 deletions build/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,3 @@ Build

.. toctree::
:caption: Contents:



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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
10 changes: 10 additions & 0 deletions documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# BerkeleyTime
### API Documentation
This is a brief guide to building the HTML pages generated by Sphinx autodoc in the BerkeleyTime codebase.
Note: `make html` needs to be run in a Python2 environment.
- Enter `berkeleytime/`
- Run `make html`
- HTML pages will upload to `_build/html/`


*BerkeleyTime, 2020*
9 changes: 0 additions & 9 deletions frontend/frontend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,3 @@ Frontend

.. toctree::
:caption: Contents:



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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
26 changes: 26 additions & 0 deletions frontend/src/views/Login.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React, { Component } from 'react';

class Login extends Component {

constructor(props){
super(props)
}

onSignIn(googleUser) {
var profile = googleUser.getBasicProfile();
print('ID: ' + profile.getId()); // Do not send to your backend! Use an ID token instead.
print('Name: ' + profile.getName()); //
print('Image URL: ' + profile.getImageUrl());
print(('Email: ' + profile.getEmail()); // Null if the 'email' scope is not present.
}

render() {
return (
<script src="https://apis.google.com/js/platform.js" async defer></script>,
<meta name="google-signin-client_id" content="YOUR_CLIENT_ID.apps.googleusercontent.com">,
<div> Hello </div>,
<div> Sign in </div>,
<div class="g-signin2" data-onsuccess="onSignIn"></div>
)
}
}
8 changes: 0 additions & 8 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,3 @@ Welcome to berkeleytime's documentation!
berkeleytime/berkeleytime
build/build
frontend/frontend


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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

0 comments on commit a563ee2

Please sign in to comment.