Closed stefnotch closed 4 years ago
Redirect html file
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=docs/index.html">
<title>Page Redirection</title>
</head>
<body>
If you are not redirected automatically, <a href="docs/index.html">click here</a>
</body>
</html>
Leaving everything on the master branch in the current config is rather troublesome, because it really clutters up everything.
Apparently the usual way of doing this is something like this. It basically force pushes a folder to the gh-pages branch.
Thank you for this suggestion. The link was great. All is working now. The gh-pages are in an own branch now. I removed the scripts for pdf and slides. The pdf skript will return after refactoring, for the slides I will create a new repo.
It'd be neat if this script would switch to the
gh-pages
branch, commit and push the files there and then switch back.That way, autogenerated files won't clutter the git history.