From 957e26a6f30d40e2bff042d76a327d0a2cfbabae Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Mon, 18 Nov 2019 13:40:27 -0800 Subject: Move website to a simpler jekyll-based template This will allow us to merge the site into the main repository. This merge allows the documentation to be kept up-to-date and synchronized with the main project. Builds will be triggered on any update, removing the need for the cron-based reploy. --- website/content/_includes/GOVERNANCE.md | 1 + website/content/_includes/SECURITY.md | 1 + website/content/_includes/byline.html | 18 +++ website/content/_includes/footer-links.html | 35 +++++ website/content/_includes/footer.html | 59 ++++++++ website/content/_includes/graph.html | 205 ++++++++++++++++++++++++++ website/content/_includes/header-links.html | 18 +++ website/content/_includes/header.html | 30 ++++ website/content/_includes/paginator.html | 10 ++ website/content/_includes/required_linux.html | 2 + 10 files changed, 379 insertions(+) create mode 120000 website/content/_includes/GOVERNANCE.md create mode 120000 website/content/_includes/SECURITY.md create mode 100755 website/content/_includes/byline.html create mode 100755 website/content/_includes/footer-links.html create mode 100755 website/content/_includes/footer.html create mode 100755 website/content/_includes/graph.html create mode 100755 website/content/_includes/header-links.html create mode 100755 website/content/_includes/header.html create mode 100755 website/content/_includes/paginator.html create mode 100755 website/content/_includes/required_linux.html (limited to 'website/content/_includes') diff --git a/website/content/_includes/GOVERNANCE.md b/website/content/_includes/GOVERNANCE.md new file mode 120000 index 000000000..460729773 --- /dev/null +++ b/website/content/_includes/GOVERNANCE.md @@ -0,0 +1 @@ +../../../GOVERNANCE.md \ No newline at end of file diff --git a/website/content/_includes/SECURITY.md b/website/content/_includes/SECURITY.md new file mode 120000 index 000000000..7f933119f --- /dev/null +++ b/website/content/_includes/SECURITY.md @@ -0,0 +1 @@ +../../../SECURITY.md \ No newline at end of file diff --git a/website/content/_includes/byline.html b/website/content/_includes/byline.html new file mode 100755 index 000000000..7d6d6aa59 --- /dev/null +++ b/website/content/_includes/byline.html @@ -0,0 +1,18 @@ +By +{% assign last_pos=include.authors.size | minus: 1 %} +{% assign and_pos=include.authors.size | minus: 2 %} +{% for i in (0..last_pos) %} + {% assign author_id=include.authors[i] %} + {% assign author=site.authors[author_id] %} + {% if author %} + {{ author[0] }} + {% else %} + {{ author_id }} + {% endif %} + {% if i == and_pos %} + and + {% elsif i < and_pos %} + , + {% endif %} +{% endfor %} +on {{ include.date | date_to_long_string }} diff --git a/website/content/_includes/footer-links.html b/website/content/_includes/footer-links.html new file mode 100755 index 000000000..d7939e466 --- /dev/null +++ b/website/content/_includes/footer-links.html @@ -0,0 +1,35 @@ +
+
+ +
+

Support

+ +
+ +
+
+
+

© {{ 'now' | date: "%Y" }} Google LLC

+
+
+
diff --git a/website/content/_includes/footer.html b/website/content/_includes/footer.html new file mode 100755 index 000000000..3890af067 --- /dev/null +++ b/website/content/_includes/footer.html @@ -0,0 +1,59 @@ + + + + + + + diff --git a/website/content/_includes/graph.html b/website/content/_includes/graph.html new file mode 100755 index 000000000..f3a999341 --- /dev/null +++ b/website/content/_includes/graph.html @@ -0,0 +1,205 @@ +{::nomarkdown} +{% assign fn = include.id | remove: " " | remove: "-" | downcase %} +
{{ include.title }}
+ +{:/} diff --git a/website/content/_includes/header-links.html b/website/content/_includes/header-links.html new file mode 100755 index 000000000..81146c6c1 --- /dev/null +++ b/website/content/_includes/header-links.html @@ -0,0 +1,18 @@ + diff --git a/website/content/_includes/header.html b/website/content/_includes/header.html new file mode 100755 index 000000000..8323c26f8 --- /dev/null +++ b/website/content/_includes/header.html @@ -0,0 +1,30 @@ + + + + + {% if page.title %} + {{ page.title }} - gVisor + {% else %} + gVisor + {% endif %} + + + + + + + + + + + + {% if page.title %} + + {% else %} + + {% endif %} + {% if page.description %} + + {% endif %} + + diff --git a/website/content/_includes/paginator.html b/website/content/_includes/paginator.html new file mode 100755 index 000000000..b4ff4c3b1 --- /dev/null +++ b/website/content/_includes/paginator.html @@ -0,0 +1,10 @@ + diff --git a/website/content/_includes/required_linux.html b/website/content/_includes/required_linux.html new file mode 100755 index 000000000..e9d1b7548 --- /dev/null +++ b/website/content/_includes/required_linux.html @@ -0,0 +1,2 @@ +> Note: gVisor supports only x86\_64 and requires Linux 4.14.77+ +> ([older Linux](/docs/user_guide/networking/#gso)). -- cgit v1.2.3