Skip to content

Commit

Permalink
Actually updating docs...
Browse files Browse the repository at this point in the history
  • Loading branch information
ninezerozeronine committed May 19, 2019
1 parent e73563a commit a2b4e47
Show file tree
Hide file tree
Showing 13 changed files with 529 additions and 268 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is a project to make a basic but fully functional 8 bit computer
using 7400 series ICs.

The full docs can be found on the GitHub Pages pages for this
project: https://ninezerozeronine.github.io/eight-bit-computer/
project: https://ninezerozeronine.github.io/eight_bit_computer/

# License

Expand Down
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/.doctrees/language/index.doctree
Binary file not shown.
Binary file modified docs/.doctrees/language/machine_code.doctree
Binary file not shown.
512 changes: 256 additions & 256 deletions machine-code.csv → ...67c3f0809f4b3bd4d2124f/language_table.csv

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/_sources/language/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ The language of the computer is broadly defined with the following terms:
| Microcode Step | A single transfer of data via the bus or action of a module occurring on a rising clock edge. The smallest, most specific level of control. An instruction is completed by doing a number of microcode steps. |
+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

See the full :download:`language table <language_table.html>` for a complete
listing of all the machine code and operations and their arguments. The table is
See the `language table <../_static/language_table.html>`_ (or
:download:`download it <../_static/language_table.csv>`) for a complete listing
of all the machine code and operations with their arguments. The table is
sortable by clicking on the headers (but it's a little slow).

.. toctree::
Expand Down
5 changes: 3 additions & 2 deletions docs/_sources/language/machine_code.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ There are 256 possible instruction bytes, most of these are occupied by the
instruction set. They are organised using the grouping described below. This
is very much inspired by how :ref:`james_bates` organised his machine code.

See the full :download:`language table <language_table.html>` for a complete
listing of all the machine code and operations and their arguments. The table is
See the `language table <../_static/language_table.html>`_ (or
:download:`download it <../_static/language_table.csv>`) for a complete listing
of all the machine code and operations with their arguments. The table is
sortable by clicking on the headers (but it's a little slow).

Instruction Groups
Expand Down
257 changes: 257 additions & 0 deletions docs/_static/language_table.csv

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
</style>

<table id="machine_code">
<table id="language_table">
<tr>
<th onclick="sortTable(0)"><span>Decimal</span></th>
<th onclick="sortTable(1)"><span>Binary</span></th>
Expand Down
5 changes: 3 additions & 2 deletions docs/language/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,9 @@
</tr>
</tbody>
</table>
<p>See the full <a class="reference download internal" download="" href="../_downloads/aea6a17e4976646e6bd059045fdae5ec/language_table.html"><code class="xref download docutils literal notranslate"><span class="pre">language</span> <span class="pre">table</span></code></a> for a complete
listing of all the machine code and operations and their arguments. The table is
<p>See the <a class="reference external" href="../_static/language_table.html">language table</a> (or
<a class="reference download internal" download="" href="../_downloads/4cd40d388b67c3f0809f4b3bd4d2124f/language_table.csv"><code class="xref download docutils literal notranslate"><span class="pre">download</span> <span class="pre">it</span></code></a>) for a complete listing
of all the machine code and operations with their arguments. The table is
sortable by clicking on the headers (but it’s a little slow).</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Language Elements:</span></p>
Expand Down
5 changes: 3 additions & 2 deletions docs/language/machine_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ <h1>Machine Code<a class="headerlink" href="#machine-code" title="Permalink to t
<p>There are 256 possible instruction bytes, most of these are occupied by the
instruction set. They are organised using the grouping described below. This
is very much inspired by how <a class="reference internal" href="../credits.html#james-bates"><span class="std std-ref">James Bates</span></a> organised his machine code.</p>
<p>See the full <a class="reference download internal" download="" href="../_downloads/aea6a17e4976646e6bd059045fdae5ec/language_table.html"><code class="xref download docutils literal notranslate"><span class="pre">language</span> <span class="pre">table</span></code></a> for a complete
listing of all the machine code and operations and their arguments. The table is
<p>See the <a class="reference external" href="../_static/language_table.html">language table</a> (or
<a class="reference download internal" download="" href="../_downloads/4cd40d388b67c3f0809f4b3bd4d2124f/language_table.csv"><code class="xref download docutils literal notranslate"><span class="pre">download</span> <span class="pre">it</span></code></a>) for a complete listing
of all the machine code and operations with their arguments. The table is
sortable by clicking on the headers (but it’s a little slow).</p>
<div class="section" id="instruction-groups">
<h2>Instruction Groups<a class="headerlink" href="#instruction-groups" title="Permalink to this headline"></a></h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/python/csv_to_html_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

HEADER_TEMPLATE = " <th onclick=\"sortTable({header_index})\"><span>{header}</span></th>"

with open('../../machine-code.csv') as f:
with open('../../sphinx_docs/_static/language_table.csv') as f:
reader = csv.reader(f)
for row_index, row in enumerate(reader):
if row_index == 0:
Expand Down

0 comments on commit a2b4e47

Please sign in to comment.