Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa13ea5

Browse files
committed
Fixing index
1 parent 263873f commit aa13ea5

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

pdf/HOW_TO_CREATE_PDF.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Printing to PDF
1313
---------------
1414
### Normal PDF
1515
* Open `index.html` in text editor and first remove element `<p><br></p>` before the `<h1>Libraries</h1>`.
16-
* Then replace the footer and last three `<br>` elements with contents of `pdf/index_for_pdf.html` file and save.
16+
* Then replace the index and footer with contents of `pdf/index_for_pdf.html` file and save.
1717
* Open `index.html` in Chrome and select 'Print...'.
1818
* Select destination 'Save as PDF', paper size 'A4', margins and scale 'Default' and no headers and footers and save.
1919

2020
### PDF optimized for laser color printing
2121
* Run `./parse.js` again.
2222
* Open `index.html` in text editor and first remove element `<p><br></p>` before the `<h1>Libraries</h1>`.
23-
* Then replace the footer and last three `<br>` elements with contents of `pdf/index_for_pdf_print.html` file.
23+
* Then replace the index and footer with contents of `pdf/index_for_pdf_print.html` file.
2424
* Change all links in text to normal text and optionally add a page number in brackets like that: '(p. <num>)'. Links can be found with this regex: `<strong>.*a href.*</strong>`.
2525
* Save and open `index.html` in Chrome.
2626
* Change brightness of elements by right clicking on them and selecting inspect. Then click on the rectangle that represents color and toggle the color space to HSLA by clicking on the button with two vertical arrows.

pdf/index_for_pdf.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h3 id="c">C</h3>
2323
<strong>callable, <a href="#callable">17</a></strong><br>
2424
<strong>class, <a href="#type">4</a>, <a href="#class">14</a>-<a href="#abcsequence">19</a>, <a href="#metaprograming">31</a>-<a href="#metaclass">32</a></strong><br>
2525
<strong>closure, <a href="#closure">12</a></strong><br>
26-
<strong>collection, <a href="#type">4</a>, <a href="#collection">18</a></strong><br>
26+
<strong>collection, <a href="#abstractbaseclasses">4</a>, <a href="#collection">18</a></strong><br>
2727
<strong>collections module, <a href="#counter">2</a>, <a href="#namedtuple">3</a>, <a href="#abstractbaseclasses">4</a>, <a href="#abcsequence">19</a>, <a href="#deque">29</a></strong><br>
2828
<strong>combinatorics, <a href="#combinatorics">8</a></strong><br>
2929
<strong>command line arguments, <a href="#commandlinearguments">22</a></strong><br>
@@ -34,7 +34,7 @@ <h3 id="c">C</h3>
3434
<strong>coroutine, <a href="#coroutines">33</a></strong><br>
3535
<strong>counter, <a href="#counter">2</a>, <a href="#generator">4</a>, <a href="#nonlocal">12</a>, <a href="#iterator-1">17</a></strong><br>
3636
<strong>csv module, <a href="#csv">26</a>, <a href="#printsacsvfileasanasciitable">34</a>, <a href="#encodedecode">46</a></strong><br>
37-
<strong>curses module, <a href="#curses">34</a></strong><br>
37+
<strong>curses module, <a href="#runsaterminalgamewhereyoucontrolanasteriskthatmustavoidnumbers">33</a>, <a href="#curses">34</a></strong><br>
3838
<strong>cython, <a href="#cython">49</a></strong> </p>
3939
<h3 id="d">D</h3>
4040
<p><strong>dataclasses module, <a href="#namedtupleenumdataclass">12</a>, <a href="#dataclass">15</a></strong><br>
@@ -47,14 +47,14 @@ <h3 id="e">E</h3>
4747
<p><strong>enum module, <a href="#enum">19</a>-<a href="#inline-2">20</a></strong><br>
4848
<strong>enumerate function, <a href="#enumerate">3</a></strong><br>
4949
<strong>eval function, <a href="#eval">33</a></strong><br>
50-
<strong>exceptions, <a href="#exceptions">20</a>-<a href="#reraisingcaughtexception">21</a>, <a href="#exceptions-1">23</a></strong> </p>
50+
<strong>exceptions, <a href="#exceptions">20</a>-<a href="#exceptionobject">21</a>, <a href="#exceptions-1">23</a></strong> </p>
5151
<h3 id="f">F</h3>
52-
<p><strong>files, <a href="#file">23</a></strong><br>
52+
<p><strong>files, <a href="#fileobject">23</a></strong><br>
5353
<strong>filter function, <a href="#mapfilterreduce">11</a></strong><br>
5454
<strong>floats, <a href="#abstractbaseclasses">4</a>, <a href="#floats">6</a>, <a href="#types">7</a></strong><br>
55-
<strong>format, <a href="#format">6</a>-<a href="#comparisonoffloatpresentationtypes">7</a></strong><br>
56-
<strong>functools module, <a href="#mapfilterreduce">11</a>, <a href="#partial">12</a>, <a href="#decorator">13</a>, <a href="#sortable">16</a></strong><br>
57-
<strong>futures, <a href="#threadpool">30</a></strong> </p>
55+
<strong>format, <a href="#format">6</a>-<a href="#comparisonofpresentationtypes">7</a></strong><br>
56+
<strong>functools module, <a href="#mapfilterreduce">11</a>, <a href="#partial">12</a>, <a href="#debuggerexample">13</a>, <a href="#sortable">16</a></strong><br>
57+
<strong>futures, <a href="#threadpoolexecutor">30</a></strong> </p>
5858
<h3 id="g">G</h3>
5959
<p><strong>generators, <a href="#generator">4</a>, <a href="#comprehensions">11</a></strong><br>
6060
<strong>global keyword, <a href="#nonlocal">12</a></strong></p>
@@ -92,14 +92,14 @@ <h3 id="n">N</h3>
9292
<strong>nonlocal keyword, <a href="#nonlocal">12</a></strong><br>
9393
<strong>numpy library, <a href="#numpy">37</a>-<a href="#indexing">38</a></strong> </p>
9494
<h3 id="o">O</h3>
95-
<p><strong>open function, <a href="#open">22</a>-<a href="#file">23</a></strong><br>
95+
<p><strong>open function, <a href="#open">22</a>-<a href="#modes">23</a></strong><br>
9696
<strong>operator module, <a href="#operator">31</a></strong><br>
9797
<strong>os commands, <a href="#oscommands">24</a>-<a href="#shellcommands">25</a></strong><br>
9898
<strong>os module, <a href="#path">23</a>, <a href="#oscommands">24</a>-<a href="#shellcommands">25</a></strong> </p>
9999
<h3 id="p">P</h3>
100100
<p><strong>pandas library, <a href="#pandas">44</a></strong><br>
101-
<strong>partial function, <a href="#partial">12</a>, <a href="#functionscannotbevaluessotheymustbewrapped">20</a></strong><br>
102-
<strong>path, <a href="#path">23</a>-<a href="#pathlib">24</a></strong><br>
101+
<strong>partial function, <a href="#partial">12</a>, <a href="#userdefinedfunctionscannotbevaluessotheymustbewrapped">20</a></strong><br>
102+
<strong>path, <a href="#path">23</a>-<a href="#direntry">24</a></strong><br>
103103
<strong>pickle module, <a href="#pickle">25</a></strong><br>
104104
<strong>pillow library, <a href="#image">39</a></strong><br>
105105
<strong>plotting, <a href="#plot">34</a>, <a href="#plotly">47</a></strong><br>

pdf/index_for_pdf_print.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h3 id="c">C</h3>
3434
<strong>coroutine, 33</strong><br>
3535
<strong>counter, 2, 4, 12, 17</strong><br>
3636
<strong>csv module, 26, 34, 46</strong><br>
37-
<strong>curses module, 34</strong><br>
37+
<strong>curses module, 33, 34</strong><br>
3838
<strong>cython, 49</strong> </p>
3939
<h3 id="d">D</h3>
4040
<p><strong>dataclasses module, 12, 15</strong><br>

0 commit comments

Comments
 (0)