You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original project had a series of shell and python scripts to generate html files from the notebooks. Some of that was really hacky, because I didn't know how Jupyter/ IPython notebooks were generated in enough detail. In this issue, I'll pull this into one Python script, that uses nbconvert and templates as much as possible. All remaining conversion work will be done in Python.
Create base Python conversion script.
Base conversion script in root project folder. /notebooks folder should only contain notebooks. Other resources should be in folders under project root.
Incorporate the functionality of all the individual .sh and .py files in scripts/ into build_html_site.py, and templates. When all of this functionality has been updated and simplified, these scripts can be deleted.
build_html_pages.sh
calls all of the other scripts, this should be checked off last
sed section of build_html_pages.sh to make output display initially on Mapping Global Earthquake Activity
Add a tag that allows specific code cells to show output by default?
Add a tag that allows specific notebooks to show all output initially by default?
(keeping this) build_all_exercises_page.py
May just keep this as a separate issue for completion.
create_common_hmtl.sh
The default nbconvert behavior is to link to other notebooks on nbviewer. This script modifies the html output to link to other html notebooks. (Make sure links between notebooks work.)
This script converts links from "index.html" to "/". The server responds by serving the index page. Difference between requesting introtopython.org/index.html and introtopython.org.
remove_input_references.py
build_index.py
look at actual code before checking this off
The text was updated successfully, but these errors were encountered:
The original project had a series of shell and python scripts to generate html files from the notebooks. Some of that was really hacky, because I didn't know how Jupyter/ IPython notebooks were generated in enough detail. In this issue, I'll pull this into one Python script, that uses nbconvert and templates as much as possible. All remaining conversion work will be done in Python.
Incorporate the functionality of all the individual .sh and .py files in scripts/ into build_html_site.py, and templates. When all of this functionality has been updated and simplified, these scripts can be deleted.
The text was updated successfully, but these errors were encountered: