Skip to content

January release

Latest

Choose a tag to compare

@wbillingsley wbillingsley released this 31 Jan 11:48
· 5 commits to master since this release

The key highlight in this release is putting DeckBuilder and Challenge into the Doctacular package, rather than needing to import the templates package. That makes doctacular (as an OER site-building kit) more cohesive.

  • #8 The deck and challenge (tutorial) components have moved into the doctacular package, from templates. Documentation has been added

  • "Installers". If you have a small script, you might not want to deal with webpack or any kind of bundling of js dependencies. For these cases, we can ask a root node to dynamically add a script link into the page and refresh once it's loaded. An example of this is provided in doctacular's "installMarked" extension method for root nodes.

  • #9 VSlide decks can now be mounted to the page (including their own mini-router) with the mountToRoot method. The use case for this is if you just want to create a single presentation as a scala-cli script, rather than make a whole OER site. e.g. (roughly)

    val root = mountToBody(<.p("loading"))
    given root.installMarked()
    DeckBuilder(1920, 1080)
      .markdownSlides("*Markdown text*")
      .mountToRoot(root)
    
  • Custom "list path resources" can be added to Doctacular. e.g. if you want to use a different kind of tutorial layout than "Challenge". These work in the same manner as video and deck resources: if there's a given instance for it, your class can be added to the site.

  • Added a d3-like MutableMapComponent, in the same manner as MutableArrayComponent

This release is also likely to be tagged (and released) as 0.3.0 soon-ish, as we move from a period where I'm updating the library to a period where I'm updating sites based upon it.