diff --git a/Rakefile b/Rakefile index fce8bc0..2f7864f 100644 --- a/Rakefile +++ b/Rakefile @@ -19,7 +19,7 @@ task :test do end task :s do - sh "bundle exec jekyll s" + sh "bundle exec jekyll s --force_polling" end task :testsub do diff --git a/_data/doc.yml b/_data/doc.yml new file mode 100644 index 0000000..99da414 --- /dev/null +++ b/_data/doc.yml @@ -0,0 +1,2 @@ +# base: http://test.unrealcv.org/page/ +base: http://localhost:8000/ diff --git a/_includes/doc b/_includes/doc new file mode 100644 index 0000000..82467f5 --- /dev/null +++ b/_includes/doc @@ -0,0 +1,6 @@ +{% capture jekyll_code %} +{% assign base = site.data.doc.base %} +{% assign text = include.text %} + +{% assign url = base | append: include.url %} +{% endcapture %}{{ text }} diff --git a/_pages/index.md b/_pages/index.md index fc3626c..d19e0c5 100644 --- a/_pages/index.md +++ b/_pages/index.md @@ -3,7 +3,7 @@ layout: single permalink: /index.html ---
-We are actively updating this website. The content is subject to change. +Update:# UnrealCV @@ -15,22 +15,32 @@ UnrealCV is a project to help computer vision researchers build virtual worlds u UnrealCV can be used in two ways. The first one is using a compiled game binary with UnrealCV embedded. This is as simple as running a game, no knowledge of Unreal Engine is required. The second is installing UnrealCV plugin to Unreal Engine 4 (UE4) and use the editor of UE4 to build a new virtual world. -Please read [Tutorial: Getting Started](/tutorial/getting_started.html) to learn using UnrealCV. +Please read {% include doc url="getting-started/" text="getting started" %} to learn using UnrealCV.
-Images generated from the technical demo RelisticRendering
+ Images generated from the technical demo RelisticRendering