diff --git a/docs/.dockerignore b/docs/.dockerignore new file mode 100644 index 0000000..542b61b --- /dev/null +++ b/docs/.dockerignore @@ -0,0 +1,5 @@ +.dockerignore +.git +.gitignore +Dockerfile +docker-compose.yml \ No newline at end of file diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 0000000..fd582e5 --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,8 @@ +**/.DS_Store +**/desktop.ini +.bundle/** +.jekyll-metadata +_site/** +.sass-cache/** +CNAME +Gemfile.lock \ No newline at end of file diff --git a/docs/Dockerfile b/docs/Dockerfile new file mode 100644 index 0000000..a89f483 --- /dev/null +++ b/docs/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx + +COPY _site /usr/share/nginx/html diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..c0f34bf --- /dev/null +++ b/docs/README.md @@ -0,0 +1,10 @@ +# Containerd website + +The containerd website is built using Jekyll and published to Github pages. + +In order to build and test locally: +``` +docker run -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages +``` +Then browser to localhost:4000 to see the rendered site. The site autorefreshes when you modify files locally. + diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 0000000..b6f4e32 --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1,23 @@ +markdown: kramdown +kramdown: + input: GFM + html_to_native: true + hard_wrap: false + syntax_highlighter: rouge +incremental: true +permalink: pretty +safe: false +lsi: false +exclude: [README.md] + +gems: + - jekyll-redirect-from + - jekyll-seo-tag + +defaults: + - + scope: + path: "" + type: "pages" + values: + layout: default diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html new file mode 100644 index 0000000..18011b0 --- /dev/null +++ b/docs/_includes/footer.html @@ -0,0 +1,21 @@ +
+ + + + +