File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4949 sed -i 's/src="\([^:"]*\)"/src="version\/dev\/\1"/g' index.html
5050 # Update JS variables pointing to static values
5151 sed -i 's|const SEARCH_FILE = ".*_static/search.json";|const SEARCH_FILE = "version/dev/_static/search.json";|g' index.html
52- sed -i 's|const PROJECTS_FILE = ".* _static/projects.json"; |const PROJECTS_FILE = "version/dev/_static/projects.json";|g ' index.html
52+ sed -i 's|const PROJECTS_FILE = "_static/projects.json"|const PROJECTS_FILE = "version/dev/_static/projects.json"| ' index.html
5353 # Replace "version/stable" with "version/dev" in the sitemap.xml
5454 sed -i 's/version\/stable/version\/dev/g' sitemap.xml
5555
Original file line number Diff line number Diff line change 1919</ div >
2020
2121< script >
22- const PROJECTS_FILE = "{{ pathto('_static/projects.json', 1) }}"
22+ const PROJECTS_FILE = "{{ pathto('_static/projects.json', 1) }}" ;
2323</ script >
2424< script src ="{{ pathto('_static/js/landing_page.js', 1) }} "> </ script >
You can’t perform that action at this time.
0 commit comments