Skip to content

Commit 780434c

Browse files
a bit more cleaning up
1 parent 8afaaba commit 780434c

4 files changed

Lines changed: 13 additions & 61 deletions

File tree

‎source/conf.py‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# -- Project information -----------------------------------------------------
1919

20-
project = 'Python 210'
20+
project = 'Programming in Python'
2121

2222
# the one with the text too
2323
html_logo = "_static/UWPCE_logo_full.png"
@@ -49,7 +49,7 @@
4949
).format(author)
5050

5151
# The full version, including alpha/beta/rc tags
52-
release = '6.0'
52+
release = '7.0'
5353

5454

5555
# -- General configuration ---------------------------------------------------
@@ -82,20 +82,23 @@
8282
html_theme_options = {
8383
# 'canonical_url': '',
8484
# 'analytics_id': 'UA-XXXXXXX-1', # Provided by Google in your dashboard
85+
# 'github_url': 'https://github.com/UWPCE-PythonCert/ProgrammingInPython',
8586
'logo_only': True,
8687
'display_version': False,
87-
# 'prev_next_buttons_location': 'bottom',
88+
'prev_next_buttons_location': 'both',
8889
'style_external_links': True,
8990
# 'vcs_pageview_mode': '',
9091
'style_nav_header_background': '#4b2e83',
9192
# # Toc options
9293
# 'collapse_navigation': True,
9394
# 'sticky_navigation': True,
94-
# 'navigation_depth': 4,
95+
'navigation_depth': 2,
9596
# 'includehidden': True,
96-
# 'titles_only': False
97+
'titles_only': True
9798
}
9899

100+
github_url = 'https://github.com/UWPCE-PythonCert/ProgrammingInPython'
101+
99102
# Add any paths that contain custom static files (such as style sheets) here,
100103
# relative to this directory. They are copied after the builtin static files,
101104
# so a file named "default.css" will overwrite the builtin "default.css".

‎source/index.rst‎

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,9 @@ Many of these topics can be useful on their own, but each assumes that you know
2121
:caption: Topics in the Program
2222
:titlesonly:
2323
:maxdepth: 1
24+
:glob:
2425

25-
topics/01-setting_up/index
26-
topics/02-basic_python/index
27-
topics/03-recursion_booleans/index
28-
topics/04-sequences_iteration/index
29-
topics/05-text_handling/index
30-
topics/06-exceptions/index
31-
topics/07-unit_testing/index
32-
topics/08-dicts_sets/index
33-
topics/09-files/index
34-
topics/10-modules_packages/index
35-
topics/11-argument_passing/index
36-
topics/12-comprehensions/index
37-
topics/13-intro_oo/index
38-
topics/14-magic_methods/index
39-
topics/15-subclassing/index
40-
topics/16-multiple_inheritance/index
41-
topics/17-functional_programming/index
42-
topics/18-advanced_testing/index
43-
topics/99-extras/index
44-
26+
topics/??-*/index
4527

4628

4729
About this Site

‎source/topics/00-Template_Topic/index.rst‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎source/topics/02-basic_python/index.rst‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,24 @@ Basic Python
44
Learning a programming language is a bit of a "bootstrap" problem:
55
the best way to learn is by doing, but you need the basics in order to do anything at all. So this topic jumps right in -- if you're confused at first, just keep going and it should start to make sense.
66

7-
To Read
8-
-------
97

108
.. toctree::
9+
:caption: To Read
1110
:maxdepth: 1
1211

1312
../../modules/HowToRunAPythonFile
1413
../../modules/Learning
1514
../../modules/BasicPython
1615
../../modules/Functions
1716

18-
Activities
19-
----------
20-
2117
.. toctree::
18+
:caption: Activities
2219
:maxdepth: 1
2320

2421
../../exercises/python_pushups.rst
2522

26-
Exercises
27-
---------
28-
2923
.. toctree::
24+
:caption: Exercises
3025
:maxdepth: 1
3126

3227
../../exercises/grid_printer.rst

0 commit comments

Comments
 (0)