Git Product home page Git Product logo

stencila-multi's Introduction

stencila-multi

Demo for Stencila & Dar on binder with multiple documents in one repository.

Binder

Learn more about Stencila and its integration with Binder in this blog post.

repo2docker automatically picks up all manifest.xml files and *.jats.xml files in a repository. The repository demonstrates how to

  • override the default MRAN date for R and install additional R packages, see files in the binder/ directory
  • select a specific Stencila document in the Stencila UI on Jupyter Hub

If you want to install a specific version of Stencila, e.g. the stencila R package or stencila/py, or the stencila-host npm package, then you must configure your own Dockerfile.

repo2docker goes through all directories and uses the first discovered manifest.xml as the default, in this case article/manifest.xml (with R code). To open the document in the directory brticle, append the URL parameter archive=<directory>:

http(s)://<server:port>/stencila/?archive=article

Important notes

  • nested directories do not work, only documents at the same levels as the last discovered one can be opened.
  • only the source code languages of the first Dar are supported (in our example the Python Jupyter code cell one still works, because Jupyter is always installed, but other cells not)

stencila-multi's People

Contributors

nuest avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.