mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
add 'make docs' to build locally
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
3
Makefile
3
Makefile
@@ -25,6 +25,9 @@ run: build/initrd/.id .dapper
|
||||
./.dapper -m bind build-target
|
||||
./scripts/run
|
||||
|
||||
docs:
|
||||
./scripts/docs
|
||||
|
||||
shell-bind: .dapper
|
||||
./.dapper -m bind -s
|
||||
|
||||
|
15
docs/index.html
Normal file
15
docs/index.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="refresh" content="1;url=/os/">
|
||||
<script type="text/javascript">
|
||||
window.location.href = "/os/"
|
||||
</script>
|
||||
<title>Page Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
|
||||
If you are not redirected automatically, follow the <a href='/os/'>link to os</a>
|
||||
</body>
|
||||
</html>
|
6
scripts/docs
Executable file
6
scripts/docs
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
docker run --rm -v $(pwd)/docs:/site -p 4000:4000 andredumas/github-pages serve --watch
|
||||
|
Reference in New Issue
Block a user