Skip to content

Commit 20b43ed

Browse files
adding a UW logo and purple to pages, cleaning up the main page, and somework on teh intro to testing page.
1 parent 38be6a3 commit 20b43ed

File tree

7 files changed

+447
-186
lines changed

7 files changed

+447
-186
lines changed

source/class_schedule/lesson04.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Readings
1313

1414
../modules/DictsAndSets
1515
../modules/DictionaryAsSwitch
16+
../modules/Exceptions
1617
../modules/Testing
1718
../modules/TestDrivenDevelopment
1819

@@ -33,6 +34,8 @@ Exercises:
3334
.. toctree::
3435
:maxdepth: 1
3536

37+
../exercises/exceptions_lab.rst
38+
../exercises/except_exercise.rst
3639
../exercises/unit_testing.rst
3740
../exercises/dict_lab.rst
3841
../exercises/mailroom-part2.rst

source/conf.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
project = 'Python 210'
2121

22+
# the one with the text too
23+
html_logo = "_static/UWPCE_logo_full.png"
24+
2225
source_suffix = '.rst'
2326
# The master toctree document.
2427
master_doc = 'index'
@@ -76,6 +79,23 @@
7679
# html_theme = 'alabaster'
7780
html_theme = "sphinx_rtd_theme"
7881

82+
html_theme_options = {
83+
# 'canonical_url': '',
84+
# 'analytics_id': 'UA-XXXXXXX-1', # Provided by Google in your dashboard
85+
'logo_only': True,
86+
'display_version': False,
87+
# 'prev_next_buttons_location': 'bottom',
88+
'style_external_links': True,
89+
# 'vcs_pageview_mode': '',
90+
'style_nav_header_background': '#4b2e83',
91+
# # Toc options
92+
# 'collapse_navigation': True,
93+
# 'sticky_navigation': True,
94+
# 'navigation_depth': 4,
95+
# 'includehidden': True,
96+
# 'titles_only': False
97+
}
98+
7999
# Add any paths that contain custom static files (such as style sheets) here,
80100
# relative to this directory. They are copied after the builtin static files,
81101
# so a file named "default.css" will overwrite the builtin "default.css".

0 commit comments

Comments
 (0)