Skip to content

Commit 6acea17

Browse files
author
Swaroop C H
committed
Refactoring my URLs
1 parent 636287b commit 6acea17

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In the sixth draft, I decided to use Quanta+ to do all the editing. The standard
1818

1919
For the seventh draft, I was using [MediaWiki](http://www.mediawiki.org) as the basis of my setup. I used to edit everything online and the readers can directly read/edit/discuss within the wiki website, but I ended up spending more time fighting spam than writing.
2020

21-
For the eight draft, I used [Vim](http://www.swaroopch.com/notes/vim), [Pandoc](http://johnmacfarlane.net/pandoc/README.html), and Mac OS X.
21+
For the eight draft, I used [Vim]({{ book.vimBookUrl }}), [Pandoc](http://johnmacfarlane.net/pandoc/README.html), and Mac OS X.
2222

2323
For the ninth draft, I switched to [AsciiDoc format](http://asciidoctor.org/docs/what-is-asciidoc/) and used [Emacs 24.3](http://www.masteringemacs.org/articles/2013/03/11/whats-new-emacs-24-3/),
2424
[tomorrow theme](https://github.com/chriskempson/tomorrow-theme),
@@ -32,4 +32,4 @@ For the tenth draft, I switched to writing in Markdown + [GitBook](https://www.g
3232

3333
## About the Author
3434

35-
See http://www.swaroopch.com/about/
35+
See {{ book.authorUrl }}

book.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"variables": {
3+
"authorUrl": "http://www.swaroopch.com/about/",
34
"buyBookUrl": "http://www.swaroopch.com/buybook/",
5+
"contactUrl": "http://www.swaroopch.com/contact/",
46
"downloadUrl": "https://www.gitbook.com/book/swaroopch/byte-of-python/details",
57
"officialUrl": "http://python.swaroopch.com/",
68
"pythonVersion": "3.5.1",
79
"sourceUrl": "https://github.com/swaroopch/byte-of-python",
8-
"vimBookUrl": "http://www.swaroopch.com/notes/vim/"
10+
"vimBookUrl": "http://vim.swaroopch.com/"
911
}
1012
}

feedback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Feedback
22

3-
The book needs the help of its readers such as yourselves to point out any parts of the book which are not good, not comprehensible or are simply wrong. Please [write to the main author](http://www.swaroopch.com/contact/) or the respective [translators](./translations.md#translations) with your comments and suggestions.
3+
The book needs the help of its readers such as yourselves to point out any parts of the book which are not good, not comprehensible or are simply wrong. Please [write to the main author]({{ book.contactUrl }}) or the respective [translators](./translations.md#translations) with your comments and suggestions.

revision_history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In the true spirit of open source, I have received lots of constructive suggesti
1212

1313
## Status Of The Book
1414

15-
The book needs the help of its readers such as yourselves to point out any parts of the book which are not good, not comprehensible or are simply wrong. Please [write to the main author](http://www.swaroopch.com/contact/) or the respective [translators](./translations.md#translations) with your comments and suggestions.
15+
The book needs the help of its readers such as yourselves to point out any parts of the book which are not good, not comprehensible or are simply wrong. Please [write to the main author]({{ book.contactUrl }}) or the respective [translators](./translations.md#translations) with your comments and suggestions.
1616

1717
# Appendix: Revision History {#revision-history}
1818

what_next.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ I would suggest that you tackle this problem:
88
99
This is fairly easy if you think about it in terms of all the various stuff that we have come across till now. If you still want directions on how to proceed, then here's a hint [^1].
1010

11-
Once you are able to do this, you can claim to be a Python programmer. Now, immediately [send me an email](http://www.swaroopch.com/contact/) thanking me for this great book ;-). This step is optional but recommended. Also, please consider [buying a printed copy](http://www.swaroopch.com/buybook/) to support the continued development of this book.
11+
Once you are able to do this, you can claim to be a Python programmer. Now, immediately [send me an email]({{ book.contactUrl }}) thanking me for this great book ;-). This step is optional but recommended. Also, please consider [buying a printed copy]({{ book.buyBookUrl }}) to support the continued development of this book.
1212

1313
If you found that program easy, here's another one:
1414

0 commit comments

Comments
 (0)