Skip to content

Commit 2ae5d7b

Browse files
authored
Merge pull request #16 from choldgraf/advanced_section
adding advanced section
2 parents ab82002 + 57aeb24 commit 2ae5d7b

File tree

3 files changed

+66
-53
lines changed

3 files changed

+66
-53
lines changed

_data/navigation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ sidebar-guide:
2222
url: guide/05_publish
2323
- title: Frequently Asked Questions
2424
url: guide/06_faq
25+
- title: Advanced topics and information
26+
url: guide/07_advanced

_guide/01_overview.md

Lines changed: 4 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -23,57 +23,8 @@ The build process in general goes something like this:
2323
* Tell GitHub you want to build a website from your fork of the repository.
2424
* That's it!
2525

26-
See the rest of this guide for more detailed instructions on this process.
26+
For a more complete description of the relevant files for this repository,
27+
see the [Advanced topics section](../07_advanced).
2728

28-
## Relevant files
29-
30-
First off, a short description of this repository. The following list contains some
31-
of the more important files/folders worth knowing about.
32-
33-
### Website materials
34-
35-
* `_posts` contains a collection of posts that are displayed chronologically
36-
with Jekyll's `posts` page.
37-
* `<XXX>.md` all files in the site's room ending in `.md` will be built into HTML
38-
and available as pages on the final website.
39-
40-
### Course materials
41-
42-
* `notebooks/` contains all course content in Jupyter notebook form
43-
* `data/` contains the CSV data files used in the course textbook
44-
* `images/` contains images referenced in the course
45-
* `SUMMARY.md` contains a markdown list of chapters / paths to your textbook files. For
46-
example, here is a sample from the Data 8 textbook:
47-
48-
```
49-
* [1. Data Science](notebooks/01/what-is-data-science.md)
50-
* [1.1 Introduction](notebooks/01/1/intro.ipynb)
51-
* [1.1.1 Computational Tools](notebooks/01/1/1/computational-tools.md)
52-
* [1.2 Why Data Science?](notebooks/01/2/why-data-science.md)
53-
* [2. Causality and Experiments](notebooks/02/causality-and-experiments.ipynb)
54-
* [2.1 John Snow and the Broad Street Pump](notebooks/02/1/observation-and-visualization-john-snow-and-the-broad-street-pump.md)
55-
* [2.2 Snow’s “Grand Experiment”](notebooks/02/2/snow-s-grand-experiment.ipynb)
56-
```
57-
58-
### Auto-generated folders and files
59-
* `images/chapters` contains images *generated* during the notebook conversion
60-
* `_chapters/` contain notebooks automatically converted to markdown in the build process
61-
* `_site/` contains the HTML for the built site. It is created by Jekyll, and should only exist if you build the site locally
62-
* `_data/textbook.yml` contains information generated in the textbook build process.
63-
64-
### Repository configuration and build files
65-
* `_config.yml` contains all site configuration.
66-
* `_data/navigation.yml` contains site navigation as well as auto-generated sidebar yaml
67-
* `assets/css` contains CSS for the textbook and website
68-
* `environment.yml` contains the environment needed to build the textbook
69-
* `_includes/textbook.html` contains Javascript and HTML needed to set up the textbook
70-
71-
### Helper scripts
72-
73-
* `scripts/` contains scripts to generate the textbook from the Jupyter notebooks
74-
* `scripts/generate_textbook.py` will generate the markdown and sidebar for your textbook. After you make any changes
75-
in `notebook/`, you should run this script via `make textbook` so your site stays up-to-date.
76-
* `scripts/clean.py` is used to clean out any auto-generated files
77-
* `scripts/execute_all_notebooks.py` will use nbconvert to execute all notebooks in `notebooks/` in-place.
78-
* `scripts/generate_summary_from_folders.py` is a helper script to automatically gneerate a `SUMMARY.md` file from
79-
the files/folders in `notebooks/`.
29+
See the rest of this guide in the links to the left for detailed
30+
instructions on this process. The next section covers [Setting up your environment](../02_setup).

_guide/07_advanced.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: Advanced topics
3+
---
4+
5+
This page contains more advanced and complete information about the
6+
`textbooks-with-jupyter` repository. See the sections below.
7+
8+
## Relevant files
9+
10+
There are a few moving parts associated with `textbooks-with-jupyter`, and this
11+
section tries to cover most of the relevant pieces. The following list contains some
12+
of the more important files/folders worth knowing about.
13+
14+
### Website materials
15+
16+
* `_posts` contains a collection of posts that are displayed chronologically
17+
with Jekyll's `posts` page.
18+
* `<XXX>.md` all files in the site's room ending in `.md` will be built into HTML
19+
and available as pages on the final website.
20+
21+
### Course materials
22+
23+
* `notebooks/` contains all course content in Jupyter notebook form
24+
* `data/` contains the CSV data files used in the course textbook
25+
* `images/` contains images referenced in the course
26+
* `SUMMARY.md` contains a markdown list of chapters / paths to your textbook files. For
27+
example, here is a sample from the Data 8 textbook:
28+
29+
```
30+
* [1. Data Science](notebooks/01/what-is-data-science.md)
31+
* [1.1 Introduction](notebooks/01/1/intro.ipynb)
32+
* [1.1.1 Computational Tools](notebooks/01/1/1/computational-tools.md)
33+
* [1.2 Why Data Science?](notebooks/01/2/why-data-science.md)
34+
* [2. Causality and Experiments](notebooks/02/causality-and-experiments.ipynb)
35+
* [2.1 John Snow and the Broad Street Pump](notebooks/02/1/observation-and-visualization-john-snow-and-the-broad-street-pump.md)
36+
* [2.2 Snow’s “Grand Experiment”](notebooks/02/2/snow-s-grand-experiment.ipynb)
37+
```
38+
39+
### Auto-generated folders and files
40+
* `images/chapters` contains images *generated* during the notebook conversion
41+
* `_chapters/` contain notebooks automatically converted to markdown in the build process
42+
* `_site/` contains the HTML for the built site. It is created by Jekyll, and should only exist if you build the site locally
43+
* `_data/textbook.yml` contains information generated in the textbook build process.
44+
45+
### Repository configuration and build files
46+
* `_config.yml` contains all site configuration.
47+
* `_data/navigation.yml` contains site navigation as well as auto-generated sidebar yaml
48+
* `assets/css` contains CSS for the textbook and website
49+
* `environment.yml` contains the environment needed to build the textbook
50+
* `_includes/textbook.html` contains Javascript and HTML needed to set up the textbook
51+
52+
### Helper scripts
53+
54+
* `scripts/` contains scripts to generate the textbook from the Jupyter notebooks
55+
* `scripts/generate_textbook.py` will generate the markdown and sidebar for your textbook. After you make any changes
56+
in `notebook/`, you should run this script via `make textbook` so your site stays up-to-date.
57+
* `scripts/clean.py` is used to clean out any auto-generated files
58+
* `scripts/execute_all_notebooks.py` will use nbconvert to execute all notebooks in `notebooks/` in-place.
59+
* `scripts/generate_summary_from_folders.py` is a helper script to automatically gneerate a `SUMMARY.md` file from
60+
the files/folders in `notebooks/`.

0 commit comments

Comments
 (0)