Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
__pycache__
.pyc
_build
data

4 changes: 4 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,7 @@ pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."

slides:
$(SPHINXBUILD) -b slides $(ALLSPHINXOPTS) $(BUILDDIR)/slides
@echo "Build finished. The HTML slides are in $(BUILDDIR)/slides."
Binary file added docs/_static/cf_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/color_git_prompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/flake8_output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/pc_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/plugin_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/python.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/simple_prompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/tab_completion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/transmogrifier.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/two_line_prompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/virtualenv_prompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/concepts.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Concepts and Learning Objectives
================================

* How to run the Python interpreter from the command-line

* REPL (Read-Evaluation-Print-Loop), what they are, how they work
* Values
* Types
* Names
* Name registries (bindings, symbol tables)
* Assignment
* LHS
* RHS
* Learning a language (grammar,vocabulary, idioms)
* Literals
* Literals versus Names
* Debugging
* Remove bindings
* Conditional statements
53 changes: 52 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx.ext.intersphinx',
'IPython.sphinxext.ipython_console_highlighting',
'IPython.sphinxext.ipython_directive',
]
Expand Down Expand Up @@ -132,7 +133,7 @@

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
html_logo = "_static/cf_logo.png"

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down Expand Up @@ -272,6 +273,53 @@
# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False

# -- Hieroglyph Slide Configuration ------------

extensions += [
'hieroglyph',
]

slide_title = "Foundations 2: Python"
slide_theme = 'slides2'
slide_levels = 3

# Place custom static assets in the _static directory and uncomment
# the following lines to include them

slide_theme_options = {
'subtitle': 'Fundamentals of Python Programming',
'custom_css': 'custom.css',
# 'custom_js': 'custom.js',
'presenters': [
# {
# 'name': u'Christopher Barker',
# 'email': u'PythonCHB@gmail.com',
# 'github': u'https://github.com/PythonCHB',
# 'company': u''
# },
# {
# 'name': u'Dan Hable',
# 'email': u'dhable@gmail.com',
# 'github': u'http://github.com/dhable',
# 'company': u''
# },
#{
# 'name': 'Cris Ewing',
# 'twitter': '@crisewing',
# 'www': 'http://crisewing.com',
# 'github': 'http://github.com/cewing',
# 'company': 'Cris Ewing, Developer LLC'
#},
{
'name': 'Paul Pham',
'twitter': '@cryptogoth',
'github': 'http://github.com/ppham',
},
]
}

# ----------------------------------------------


# -- Options for Epub output ----------------------------------------------

Expand Down Expand Up @@ -341,3 +389,6 @@

# If false, no index is generated.
#epub_use_index = True

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
Loading