Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit be2c013

Browse files
committed
Fix top index
1 parent 2395527 commit be2c013

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

‎website/content/pages/home.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,4 @@ URL:
33
save_as: index.html
44
Template: page
55

6-
*Jake VanderPlas*
7-
8-
<p><img src="/PythonDataScienceHandbook/figures/PDSH-cover.png" alt="Book Cover"></p>
9-
10-
This is the Jupyter notebook version of the [Python Data Science Handbook](http://shop.oreilly.com/product/0636920034919.do) by Jake VanderPlas; the content is available [on GitHub](https://github.com/jakevdp/PythonDataScienceHandbook).*\n"The text is released under the [CC-BY-NC-ND license](https://creativecommons.org/licenses/by-nc-nd/3.0/us/legalcode), and code is released under the [MIT license](https://opensource.org/licenses/MIT). If you find this content useful, please consider supporting the work by [buying the book](http://shop.oreilly.com/product/0636920034919.do)!
11-
12-
### [Book Index Here](pages/index.html)
6+
{% notebook notebooks/Index.ipynb cells[1:] %}

‎website/copy_notebooks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def abspath_from_here(*args):
2727
def copy_notebooks():
2828
nblist = sorted(nb for nb in os.listdir(NB_SOURCE_DIR)
2929
if nb.endswith('.ipynb'))
30-
name_map = {nb: nb.rsplit('.', 1)[0].lower() + '.html'
30+
name_map = {nb: os.path.join('/PythonDataScienceHandbook', 'pages',
31+
nb.rsplit('.', 1)[0].lower() + '.html')
3132
for nb in nblist}
3233

3334
figsource = abspath_from_here('..', 'notebooks', 'figures')

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /