Skip to content

Commit 7d0a172

Browse files
committed
Add navbar theme
1 parent 3f4c46a commit 7d0a172

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

_quarto.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
project:
22
type: book # Use book layout for left sidebar navigation
33
output-dir: docs # Render site output to docs/ for GitHub Pages
4+
5+
navbar:
6+
foreground: "black"
7+
background: "lightblue"
8+
title: "How to Learn to Code"
9+
collapse: true
10+
search: true
11+
pinned: true
12+
right:
13+
- icon: github
14+
href: https://github.com/How-to-Learn-to-Code
15+
aria-label: GitHub
16+
17+
418
book:
519
title: "How to Learn to Code – Python for Data Science"
620
sidebar:

index.qmd

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: "How to Learn to Code – Python Class"
3+
---
4+
5+
# Welcome 👋
6+
7+
This site hosts the **UNC How to Learn to Code** Python curriculum.
8+
Read lessons here, run small code snippets live in your browser, *or* launch the full notebook in Google Colab with one click.
9+
10+
---
11+
12+
## Lessons
13+
14+
| # | Topic | Website page | Open in Colab |
15+
|---|-------|--------------|---------------|
16+
| 0 | Introduction to Programming & Python | [Lesson 0](Lesson_0_Introduction/Lesson_0_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_0_Introduction/Lesson_0_Student_Version.ipynb> |
17+
| 1 | Operators and Data Types | [Lesson 1](Lesson_1_Basics/Lesson_1_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_1_Basics/Lesson_1_Student_Version.ipynb> |
18+
| 2 | Iterables, Modules & Libraries | [Lesson 2](Lesson_2_Control_Structs/Lesson_2_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_2_Control_Structs/Lesson_2_Student_Version.ipynb> |
19+
| 3 | Abstraction & Functions | [Lesson 3](Lesson_3_Abstraction_Functions/Lesson_3_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_3_Abstraction_Functions/Lesson_3_Student_Version.ipynb> |
20+
| 4 | File I/O & Pandas I | [Lesson 4](Lesson_4_FileIO/Lesson_4_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_4_FileIO/Lesson_4_Student_Version.ipynb> |
21+
| 5 | Pandas II | [Lesson 5](Lesson_5_Pandas_DataFrame/Lesson_5_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_5_Pandas_DataFrame/Lesson_5_Student_Version.ipynb> |
22+
| 6 | NumPy | [Lesson 6](Lesson_6_NumPy/Lesson_6_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_6_NumPy/Lesson_6_Student_Version.ipynb> |
23+
| 7 | Plotting | [Lesson 7](Lesson_7_Plotting/Lesson_7_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_7_Plotting/Lesson_7_Student_Version.ipynb> |
24+
| 8-a | Intro to scikit-learn | [Lesson 8a](Lesson_8a_Scikit_Learn/Lesson_8a_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_8a_Scikit_Learn/Lesson_8a_Student_Version.ipynb> |
25+
| 8-b | The Python Ecosystem | [Lesson 8b](Lesson_8b_Python_Ecosystem/Lesson_8b_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_8b_Python_Ecosystem/Lesson_8b_Student_Version.ipynb> |
26+
| 8-c | Scanpy for single-cell | [Lesson 8c](Lesson_8c_scanpy/Lesson_8c_Student_Version.ipynb) | <https://colab.research.google.com/github/How-to-Learn-to-Code/python-class/blob/main/Lesson_8c_scanpy/Lesson_8c_Student_Version.ipynb> |
27+
28+
*(Rows link to the rendered lesson pages; the right-hand URL opens the same notebook in Colab.)*
29+
30+
---
31+
32+
## 5 Make a cell interactive (example)
33+
34+
Inside any notebook, select the cell ➜ *Property Inspector ▸ Cell Metadata* and add:
35+
36+
```json
37+
{
38+
"quarto": { "engine": "pyodide", "autorun": false }
39+
}

0 commit comments

Comments
 (0)