-
Write an extensible library
+Introduction Exercise
Jsonnet gives us a lot of freedom to organize our libraries, there is no right or wrong, however a well-organized library can get you a long way. While applying common -software development best-practices, we'll come up with an extensible library to +software development best-practices, we'll come up with an extensible library to deploy a webserver on Kubernetes.
Objectives
-
diff --git a/docs/lesson2.html b/docs/lesson2.html
index ad5da10..fd2b445 100644
--- a/docs/lesson2.html
+++ b/docs/lesson2.html
@@ -1,7 +1,7 @@
-
- Introduction Exercise +
- Introduction exercise
- Package management -
- Refactoring Exercise +
- Refactoring exercise
- Wrapping libraries
- Documentation
- Unit testing diff --git a/docs/lesson1.html b/docs/lesson1.html index 6254d4e..d1a7013 100644 --- a/docs/lesson1.html +++ b/docs/lesson1.html @@ -1,7 +1,7 @@ -
-
Understanding Package management
+Package management
There are a ton of Jsonnet libraries out there, ranging from big generated libraries to manually curated for a very specific purpose. Let's have a look at how to find and vendor them.
diff --git a/docs/lesson3.html b/docs/lesson3.html index f72c085..351c3e7 100644 --- a/docs/lesson3.html +++ b/docs/lesson3.html @@ -1,7 +1,7 @@ --
Exercise: rewrite a library with k8s-libsonnet
+Refactoring Exercise
In the first lesson we've written a extensible library and in the second lesson we've covered package management with jsonnet-bundler. In this lesson we'll combine what we've learned and rewrite that library.
diff --git a/docs/lesson4.html b/docs/lesson4.html index 3ba8de2..a3a6992 100644 --- a/docs/lesson4.html +++ b/docs/lesson4.html @@ -1,7 +1,7 @@ --
Further developing libraries
+Wrapping libraries
When starting out with Jsonnet, it is very likely that you'll with existing code and dependencies. Developing on these can seem confusing and tedious, however there are several techniques that can help us iterate at different velocities.
diff --git a/docs/lesson5.html b/docs/lesson5.html index 3ccb82d..91295f8 100644 --- a/docs/lesson5.html +++ b/docs/lesson5.html @@ -1,7 +1,7 @@ --
Providing documentation with Docsonnet
+Documentation
Docsonnet provides a way to consistently add docstrings to Jsonnet code. As Docsonnet docstrings are written as Jsonnet attributes, it can also natively render user-friendly documentation in Markdown.
diff --git a/lessons/lesson1/main.jsonnet b/lessons/lesson1/main.jsonnet index 522897c..de0b93d 100644 --- a/lessons/lesson1/main.jsonnet +++ b/lessons/lesson1/main.jsonnet @@ -5,11 +5,11 @@ local examples = import './examples.jsonnet'; lesson.new( 'lesson1', - 'Write an extensible library', + 'Introduction Exercise', ||| Jsonnet gives us a lot of freedom to organize our libraries, there is no right or wrong, however a well-organized library can get you a long way. While applying common - software development best-practices, we'll come up with an extensible library to + software development best-practices, we'll come up with an *extensible library* to deploy a webserver on Kubernetes. |||, [ diff --git a/lessons/lesson2/main.jsonnet b/lessons/lesson2/main.jsonnet index 0011022..1a688c0 100644 --- a/lessons/lesson2/main.jsonnet +++ b/lessons/lesson2/main.jsonnet @@ -5,7 +5,7 @@ local examples = import './examples.jsonnet'; lesson.new( 'lesson2', - 'Understanding Package management', + 'Package management', ||| There are a ton of Jsonnet libraries out there, ranging from big generated libraries to manually curated for a very specific purpose. Let's have a look at how to find and diff --git a/lessons/lesson3/main.jsonnet b/lessons/lesson3/main.jsonnet index b5cb3af..903bcc1 100644 --- a/lessons/lesson3/main.jsonnet +++ b/lessons/lesson3/main.jsonnet @@ -5,7 +5,7 @@ local examples = import './examples.jsonnet'; lesson.new( 'lesson3', - 'Exercise: rewrite a library with `k8s-libsonnet`', + 'Refactoring Exercise', ||| In the first lesson we've written a extensible library and in the second lesson we've covered package management with jsonnet-bundler. In this lesson we'll combine what diff --git a/lessons/lesson4/main.jsonnet b/lessons/lesson4/main.jsonnet index fc3bde2..5036bed 100644 --- a/lessons/lesson4/main.jsonnet +++ b/lessons/lesson4/main.jsonnet @@ -5,7 +5,7 @@ local examples = import './examples.jsonnet'; lesson.new( 'lesson4', - 'Further developing libraries', + 'Wrapping libraries', ||| When starting out with Jsonnet, it is very likely that you'll with existing code and dependencies. Developing on these can seem confusing and tedious, however there are diff --git a/lessons/lesson5/main.jsonnet b/lessons/lesson5/main.jsonnet index 4f47884..7d23c9e 100644 --- a/lessons/lesson5/main.jsonnet +++ b/lessons/lesson5/main.jsonnet @@ -10,7 +10,7 @@ local examples = lesson.new( 'lesson5', - 'Providing documentation with Docsonnet', + 'Documentation', ||| [Docsonnet](https://github.com/jsonnet-libs/docsonnet) provides a way to consistently add docstrings to Jsonnet code. As Docsonnet docstrings are written as Jsonnet From ebee24f3787d1386a63d3df2ccb121a4d580bd78 Mon Sep 17 00:00:00 2001 From: DuologicLessons
examples.-
-
-
Introduction Exercise
+Introduction exercise
Jsonnet gives us a lot of freedom to organize our libraries, there is no right or wrong, however a well-organized library can get you a long way. While applying common software development best-practices, we'll come up with an extensible library to diff --git a/docs/lesson3.html b/docs/lesson3.html index 351c3e7..0c555dc 100644 --- a/docs/lesson3.html +++ b/docs/lesson3.html @@ -1,7 +1,7 @@
--
Refactoring Exercise
+Refactoring exercise
In the first lesson we've written a extensible library and in the second lesson we've covered package management with jsonnet-bundler. In this lesson we'll combine what we've learned and rewrite that library.
diff --git a/lessons/lesson1/main.jsonnet b/lessons/lesson1/main.jsonnet index de0b93d..5fd0691 100644 --- a/lessons/lesson1/main.jsonnet +++ b/lessons/lesson1/main.jsonnet @@ -5,7 +5,7 @@ local examples = import './examples.jsonnet'; lesson.new( 'lesson1', - 'Introduction Exercise', + 'Introduction exercise', ||| Jsonnet gives us a lot of freedom to organize our libraries, there is no right or wrong, however a well-organized library can get you a long way. While applying common diff --git a/lessons/lesson3/main.jsonnet b/lessons/lesson3/main.jsonnet index 903bcc1..19949cb 100644 --- a/lessons/lesson3/main.jsonnet +++ b/lessons/lesson3/main.jsonnet @@ -5,7 +5,7 @@ local examples = import './examples.jsonnet'; lesson.new( 'lesson3', - 'Refactoring Exercise', + 'Refactoring exercise', ||| In the first lesson we've written a extensible library and in the second lesson we've covered package management with jsonnet-bundler. In this lesson we'll combine what