Skip to content

Commit 5bb0277

Browse files
author
Max Carlson
committed
Update pagenames to match export
1 parent 7139cec commit 5bb0277

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

process.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
import re
55

66
# Rename index file
7-
old_filename = '00u46-process-codes-landing-page.html'
7+
old_filename = '00-process-codes-landing-page.html'
88
new_filename = 'index.html'
99

1010
os.rename(old_filename, new_filename)
1111

1212
# Rename breakpoint files
13-
old_filename = '1au46-getting-oriented-all-breakpoints.html'
14-
new_filename = '1au46-getting-oriented.html'
13+
old_filename = '1a-getting-oriented-all-breakpoints.html'
14+
new_filename = '1a-getting-oriented.html'
1515

1616
os.rename(old_filename, new_filename)
1717

18-
old_filename = '1bu46-capacity-building-u40mobileu41-all-breakpoints.html'
19-
new_filename = '1bu46-capacity-building.html'
18+
old_filename = '1b-capacity-building-u40mobileu41-all-breakpoints.html'
19+
new_filename = '1b-capacity-building.html'
2020

2121
os.rename(old_filename, new_filename)
2222

@@ -30,9 +30,9 @@
3030
<link rel="shortcut icon" type="image/png" href="https://animaproject.s3.amazonaws.com/home/favicon.png" />""",""" <meta name="viewport" content="width=1440, maximum-scale=1.0" />"""),
3131
(r""" </body>""",""" <script src="collapsible.js"></script>
3232
</body>"""),
33-
(r"""00u46-process-codes-landing-page.html""", """index.html"""),
34-
(r"""1au46-getting-oriented-all-breakpoints.html""", """1au46-getting-oriented.html"""),
35-
(r"""1bu46-capacity-building-u40mobileu41-all-breakpoints.html""", """1bu46-capacity-building.html"""),
33+
(r"""00-process-codes-landing-page.html""", """index.html"""),
34+
(r"""1a-getting-oriented-all-breakpoints.html""", """1a-getting-oriented.html"""),
35+
(r"""1b-capacity-building-u40mobileu41-all-breakpoints.html""", """1b-capacity-building.html"""),
3636
(r"""the agile development process. <br />You will continue running""", """the agile development process. <br /><br />You will continue running"""),
3737
(r"""expectations?<br />Throughout this process, you also have the crucial responsibility of ensuring that""", """expectations?<br /><br />Throughout this process, you also have the crucial responsibility of ensuring that"""),
3838
(r"""and expertise doesn’t disappear with individuals.<br />Your""", """and expertise doesn’t disappear with individuals.<br /><br />Your"""),
@@ -66,9 +66,9 @@
6666
cssdirectory = './css/'
6767
csspatterns = [
6868
(r"""@import url\("https://px.animaapp.com/6406baa484a3afe9c63921de.6406baa605cc73851b593804.*.hcp.png"\);""", ''),
69-
(r"""00u46-process-codes-landing-page.html""", """index.html"""),
70-
(r"""1au46-getting-oriented-all-breakpoints.html""", """1au46-getting-oriented.html"""),
71-
(r"""1bu46-capacity-building-u40mobileu41-all-breakpoints.html""", """1bu46-capacity-building.html"""),
69+
(r"""00-process-codes-landing-page.html""", """index.html"""),
70+
(r"""1a-getting-oriented-all-breakpoints.html""", """1a-getting-oriented.html"""),
71+
(r"""1b-capacity-building-u40mobileu41-all-breakpoints.html""", """1b-capacity-building.html"""),
7272
]
7373
# process css
7474
for root, dirs, files in os.walk(cssdirectory):

0 commit comments

Comments
 (0)