Skip to content

Commit ee9b065

Browse files
authored
Merge pull request #10 from saxbophone/add-missing-html-header
Bugifx: corrected ommission of HTML document header in docs redirect
2 parents da0fb82 + 7584598 commit ee9b065

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ else()
99
set(MY_HOVERCRAFT_IS_FULL_OF_EELS_SUBPROJECT ON)
1010
endif()
1111

12-
project(my-hovercraft-is-full-of-eels VERSION 0.4.0 LANGUAGES CXX)
12+
project(my-hovercraft-is-full-of-eels VERSION 0.4.1 LANGUAGES CXX)
1313

1414
find_program(CCACHE_PROGRAM ccache)
1515
if(CCACHE_PROGRAM)

generate_index

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
# pass version string for where the latest docs are as single parameter
1212
DOCS_VERSION=$1;
1313
# HTML template with DOCS_VERSION substituted
14-
HTML_FRAGMENT="<head><meta http-equiv='refresh' content='0; URL=${DOCS_VERSION}/'/></head><body><p>If you are not redirected in five seconds,<a href='${DOCS_VERSION}/'>click here</a>.</p></body>";
14+
HTML_FRAGMENT="<!DOCTYPE html><html lang='en'><head><meta http-equiv='refresh' content='0; URL=${DOCS_VERSION}/'/><title>Redirecting...</title></head><body><p>If you are not redirected in five seconds,<a href='${DOCS_VERSION}/'>click here</a>.</p></body></html>";
1515
# write out to the index HTML file that will appear at the root of Github Pages
1616
echo $HTML_FRAGMENT > "docs/index.html";

0 commit comments

Comments
 (0)