No description
Find a file
Didier Roche c7c7247899
Merge pull request #4 from caldav/test-image-field
Add image field to testdata
2018-02-01 11:52:01 +01:00
apis Add image field to testdata 2018-02-01 11:49:24 +01:00
claattools Factor out all test helpers in a common package 2017-04-05 16:05:44 +02:00
cmd Remove debug msg and add more log info 2017-04-27 16:53:37 +02:00
codelab No more "updated" field to ignore in tests 2017-05-17 12:13:06 +02:00
consts Add an independent path to generate assets under it 2017-04-25 18:00:46 +02:00
internaltools Change syntax and error checking by idiomatic go 2017-03-30 14:29:30 +02:00
paths Add an independent path to generate assets under it 2017-04-25 18:00:46 +02:00
testtools Factor out all test helpers in a common package 2017-04-05 16:05:44 +02:00
websocket Websocket test cases for connection close 2017-04-25 11:00:27 +02:00
.gitignore Add git ignore 2017-04-03 18:17:39 +02:00
.travis.yml Disable go master build 2018-02-01 11:35:28 +01:00
LICENSE Initial commit 2017-03-23 09:19:31 +01:00
README.md Travis became case-sensitive as well 2018-02-01 11:35:42 +01:00
runtests Ensure we do reports by status code if some tests failed 2017-03-31 16:52:12 +02:00

tutorial-deployment

Serve and help generating tutorial deployment for https://tutorials.ubuntu.com

Test Status

Those couple of tools are used in conjonction with https://github.com/canonical-websites/tutorials.ubuntu.com to generate a tutorial website. Those can be written in markdown or google doc, using the claat google's library.

Important note

We are using currently a fork of the claat tools as our fixes for the markdown parser are getting reviewed and merged by the google team.

As this is a more robust deployment procedure, some structural changed were needed and are in progress there. This tool works exclusively with that branch.

Generate

The generate command will generate tutorials in html, using Polymerjs, to be compatible with the aforementioned tutorial source code.

It fetches in well known places the codelab list and sources (both in google doc or markdown format), the general events and categories metadata, to generate the desired ouput and API files.

Every default directories will be detected by the tool if present in the tutorial directories. Arguments and options can tweak this behavior.

Serve

The serve command will generate the same codelab content generated on the fly in a temporary directory, but also install watchers on local source files (codelab markdown file or any referenced local images).

Any save on any of those files will retrigger the corresponding codelab build and API generation, serve by this local http webserver (default port is 8080)

Changes are all done in temporary files and not destructive on the tutorial repository. Note that source and webserver paths can be overriden as for the generate command.