Version 1.23.0
- If a cell has multiple LANGUAGE_ONLY (e.g. PYTHON_ONLY and SCALA_ONLY), it will include it if the notebook language matches any of them.
Version 1.22.0
- Added
INSTRUCTOR_NOTESalias forINSTRUCTOR_NOTE. Addresses Issue #92.
Version 1.21.0
- Added
INSTRUCTOR_ONLYalias forINSTRUCTOR_NOTE. Addresses Issue #86.
Version 1.20.0
- Added support for a new
PROFILEStag that allows arbitrary profiles, not just Amazon and Azure.AMAZON_ONLYandAZURE_ONLYare still supported, for backward compatibility. - Added the ability to consolidate all instructor notes in a notebook into a single file.
- Fixed bug leading to extra blank lines in native code cells under certain circumstances.
Version 1.19.0
-
Mustache parsing logic now contains some simple checks for bad Mustache template syntax. It will detect, and issue warnings, for the following incorrect Mustache substitutions:
{{tag}(missing a closing brace){{#tag}(missing a closing brace){{/tag}(missing a closing brace){tag}}(missing opening brace){#tag}}(missing opening brace){/tag}}(missing opening brace)
-
Added the following Mustache tests:
{{#self_paced}}self-paced-only content{{/self-paced}}: Emits the specified content if the build is for self-paced curriculum; omits the content if the build is for ILT curriculum.{{#ilt}}instructor led-only content{{/ilt}}: Emits the specified content if the build is for ILT curriculum; omits the content if the build is for self-paced curriculum.
-
A revealable hints section can now have no hints (i.e., just the revealable answer.)
Version 1.18.0
The Mustache templates now support {{#scala}}, {{#sql}}, {{#python}}
and {{#r}} tests, which can be used to include conditional content based
on the output language.
Version 1.17.0
Extended the Mustache templates to support revealable hints. See the README for details.
Version 1.16.0
If templates are enabled (the --template command line parameter, or an
option in the Params object for the API call), Markdown cells are run through
a Mustache template processor.
This step allows conditional text and variable substitution.
Version 1.15.2:
Fixed a runnable TODO cell bug: Using a label (e.g., ALL_NOTEBOOKS) in a
runnable TODO cell did not work properly. The additional label was
uncommented (e.g., // ALL_NOTEBOOKS became just ALL_NOTEBOOKS) and then
wasn't removed from the generated output, because it no longer matched the
label pattern. For example, a cell like this:
%sql
-- TODO
-- ALL_NOTEBOOKS
-- SELECT <FILL_IN>
was rendered as:
%sql
-- TODO
ALL_NOTEBOOKS
SELECT <FILL_IN>
Version 1.15.1:
VIDEOdidn't work in conjunction withSELF_PACED_ONLYandILT_ONLY. Now it does.
Version 1.15.0:
- Added
ILT_ONLY,SELF_PACED_ONLYandSOURCE_ONLYtags.
Version 1.14.0:
- Added support for runnable TODO cells.
Version 1.13.3:
- Reformatted debug output slightly.
Version 1.13.2:
- Fixed a bug in the handling of inline tokens that led to cells being
suppressed or mis-marked with the
%md-sandboxunder certain circumstances. - Fixed a bug where a cell with a keyword (e.g.,
// AMAZON_ONLY) and a// VIDEOlabel failed to get rid of the keyword.
Version 1.13.1:
- Updated output for
-- VIDEOto fix some issues.
Version 1.13.0:
- Added support for
AZURE_ONLYandAMAZON_ONLYtags, triggered by--target-profilecommand line argument.
Version 1.12.3:
- Added border around video player.
Version 1.12.2:
- Updated generated S3 links to point to
files.training.databricks.com. - Updated style for header image.
Version 1.12.1:
- Changed default header image.
Version 1.12.0:
- ALLOW --ANSWER in markdown cells. This addresses a usecase where we want additional documentation that appears only in answer notebooks to explain a solution.
Version 1.11.2:
- Default footer now includes a support link.
Version 1.11.1:
- Master parser now emits
%scala,%python,%r,%sql,%markdownand%markdown-sandboxon their own lines (i.e., any cell content starts on the second line of the cell). Previously, it only did so for%scala,%pythonand%r. With other "magic" cells (%run,%fs,%sh), the cell content starts on the same line as the magic token. - Changed insertion of Creative Commons license (
-ccoption) to ensure that the license cell is%md-markdown, not%md. - Fixed incorrect formatting when both the Databricks training heading and the Creative Commons license are selected.
Version 1.11.0:
- Fixed footer logic to handle Scala (i.e., to use the proper language-specific) comment syntax.
- Added
--notebook-footerand--footerarguments to control the generated footer (both the content and whether the footer is added). Consistent with--notebook-headingand--heading, the footer is off by default. - Added
--copyright YEARoption, to specify the copyright year that is substituted into the default footer.
Version 1.10.0:
- Added automatic copyright footer to generated notebooks.
Version 1.9.0:
- Video tag is now
-- VIDEO id [title], whereidis a video ID. Videos are now assumed to reside on Wistia.com. :HINT:now expands to an image and text, not just text.:NOTE:has been removed. (Use:SIDENOTE:, instead.):KEYPOINT:,:INSIGHT:,:WARNINGhave been removed.- Fixed code that renders inline tokens (
:HINT:, etc.) to render them in%md-sandboxif necessary.
Version 1.8.0
- Added support for inline callouts. The tokens
:HINT:,:CAUTION:,:WARNING:,:BESTPRACTICE:,:KEYPOINT:,:SIDENOTE:, and:INSIGHT:are replaced, inline, with appropriate expansions.
Version 1.7.2:
- Fixes to handle both
%rand%md-sandbox.
Version 1.7.1:
- Updates to fix handling of
%run. Breaks%r!
Version 1.7.0:
- Add cell validity checks that ensure that some commands can only appear in certain cells.
TESTcells can now have an annotation after the wordTEST, and if the annotation is missing, the tool adds one. Thus, in a code cell, the lineTEST - You can use this cell to test your solutionwill be emitted as is, but the cellTESTwill be transformed toTEST - Run this cell to test your solution.
Version 1.6.0:
- Removed
NOTEBOOK_HEADINGcommand, in favor of--headingcommand line option that automatically adds the heading as the first cell in generated notebooks.
Version 1.5.0:
- Added support for
VIDEO <url> <title>command. - Updated format of default notebook heading.
- Deprecated the
DATABRICKS_ONLYcommand. - Un-deprecated the
PRIVATE_TESTcommand.
Version 1.4.1:
- Fixed bug where notebook heading wasn't properly generated.
- Changed
TRAINING_HEADINGto the more general-purposeNOTEBOOK_HEADING. - Changed
-th(--training-heading) option to-nh(--notebook-heading), and made corresponding API changes.
Version 1.4.0:
- Added
TRAINING_HEADINGcommand, which replaces the (Markdown) cell in which it appears with a standard heading. - Added a
-th(--training-heading) command line option that permits overriding the standard heading with the contents of some other file.
Version 1.3.1:
- Fixed a bug causing a mishandling of any language cell (e.g.,
%sql,%r) that has theALL_NOTEBOOKSand one ofTODOorANSWER.
Version 1.3.0:
- Master parser now generates three broad kinds of notebooks: instructor,
exercises, and answers.
- The exercises notebook is what used to be called the "student" notebook.
It omits any cells marked
ANSWER, and it omits anyINSTRUCTOR_NOTEcells. - The instructor notebook is what used to be called the "answers" notebook.
It omits any
TODOcells, contains allANSWERcells, and contains reformattedINSTRUCTOR_NOTEcells. - The answers notebook is almost identical to the instructor notebook,
except that it does not contain
INSTRUCTOR_NOTEcells.
- The exercises notebook is what used to be called the "student" notebook.
It omits any cells marked
- Added deprecation warnings for
PRIVATE_TEST,INLINEandIPYTHON_ONLYlabels. - Added change log.