Skip to content

Commit 1cd0f6d

Browse files
committed
working on url transformation
1 parent 2f6bdde commit 1cd0f6d

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

transform_book.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@
77
BASE_FSP = "https://www.fullstackpython.com/"
88

99
links = {"/introduction.html":
10-
"../01-introduction/02-learning-programming.markdown",
10+
"#introduction",
1111
"/learning-programming.html":
12-
"../01-introduction/02-learning-programming.markdown",
12+
"#learning-programming",
13+
"/python-programming-language":
14+
"#python-programming-language",
1315
"/why-use-python.html":
14-
"../01-introduction/03-why-use-python.markdown",
16+
"#why-use-python",
1517
"/python-2-or-3.html":
16-
"../01-introduction/04-python-2-or-3.markdown",
18+
"#python-2-or-3",
1719
"/enterprise-python.html":
18-
"../01-introduction/05-enterprise-python.markdown",
20+
"#enterprise-python",
21+
1922
"/best-python-resources.html":
20-
"../01-introduction/11-best-python-resources.markdown",
23+
"#best-python-resources",
2124
"/best-python-videos.html":
2225
"../01-introduction/12-best-python-videos.markdown",
2326

0 commit comments

Comments
 (0)