Skip to content

Commit 81543c7

Browse files
committed
modified some stuff
1 parent 888e30d commit 81543c7

6 files changed

Lines changed: 10 additions & 20 deletions

File tree

_static/Large_Book_cover.pdf

1.51 MB
Binary file not shown.

_static/cover.jpg

-34 KB
Binary file not shown.

_static/logo-full.png

-20.3 KB
Binary file not shown.

conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@
192192

193193
# The name of an image file (relative to this directory) to place at the top of
194194
# the title page.
195-
latex_logo = '_static/logo-full.png'
196-
latex_additional_files = ['flaskstyle.sty']#, 'logo.pdf']
195+
latex_logo = '_static/Large_Book_cover.pdf'
196+
latex_additional_files = ['flaskstyle.sty', '_static/Large_Book_cover.pdf']
197197

198198
# For "manual" documents, if this is true, then toplevel headings are parts,
199199
# not chapters.

flaskstyle.sty

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,18 @@
22
\definecolor{InnerLinkColor}{rgb}{0,0,0}
33
\usepackage{geometry}
44
\usepackage{xcolor}
5+
\usepackage{pdfpages}
56
\usepackage{graphicx}
67
\usepackage{lipsum}% Used for dummy text.
78
\definecolor{titlepagecolor}{cmyk}{1,.60,0,.40}
89
\definecolor{namecolor}{cmyk}{1,.50,0,.10}
10+
\definecolor{VerbatimBorderColor}{rgb}{1,1,1}
911

1012
\renewcommand{\maketitle}{%
1113

1214
\begin{titlepage}
13-
\newgeometry{left=5.5cm} %defines the geometry for the titlepage
14-
\pagecolor{titlepagecolor}
15-
\noindent
16-
\color{white}
17-
{\huge \textbf{\@title}}
18-
\makebox[0pt][l]{\rule{1.3\textwidth}{1pt}}
19-
\par
20-
\noindent
21-
\vfill
22-
\noindent
23-
\vskip\baselineskip
24-
\noindent
25-
\textbf{By: \@author}
15+
\includepdf[pages={1}]{Large_Book_cover.pdf}
16+
2617
\end{titlepage}
2718
\restoregeometry % restores the geometry
2819
\nopagecolor% Use this to restore the color pages to white

index.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
:orphan:
22

3-
.. image:: _static/cover.jpg
43

54
Intermediate Python
65
===================
76

7+
============
8+
Preface
9+
============
10+
811
Python is an amazing language with a strong and friendly community of programmers. However, there is a lack of documentation on what to learn after getting the basics of Python down your throat. Through this book I aim to solve this problem. I would give you bits of information about some interesting topics which you can further explore.
912

1013
The topics which are discussed in this book open up your mind towards some nice corners of Python language. This book is an outcome of my desire to have something like it when I was beginning to learn Python.
@@ -23,10 +26,6 @@ Author
2326

2427
I am Muhammad Yasoob Ullah Khalid. I have been programming extensively in Python for over 3 years now. I have been involved in a lot of Open Source projects. I regularly blog about interesting Python topics over at my `blog <http://www.freepythontips.wordpress.com>`_ . In 2014 I also spoke at EuroPython which was held in Berlin. It is the biggest Python conference in Europe.
2528

26-
============
27-
Table of Contents
28-
============
29-
3029
.. toctree::
3130
:maxdepth: 2
3231

0 commit comments

Comments
 (0)