Organize your editing team and tools — TeachBooks Manual (2024)

Table of Contents
Team# Tools# GitHub vs GitLab#

User types

This page is useful for user type 4-5.

If you want to create a collaborative book for students, there’s a few agreements you should make to enhance collaboration and student experience. These are written from our own experience, feel free to deviate or provide your own advice!

This page is work in progress

Team#

  • Define who’s in charge of:

    • Team organization (administrators), at least user type 4

    • Combining content (maintainers), at least user type 4

    • Editing and reviewing content (editors)

  • Define how your review process is taking place. We advice at least a maintainer reviewing each bit o content.

  • Make sure people identify themselves as one of the user types. You should have at least one user type 4 or 5. Although this can be a TA, it is advised one of the teachers is comfortable with this user type as well.

Tools#

  • Choose between GitHub and GitLab, as explained below

  • If you’ve chosen for GitHub, start with our template

  • Define branches in GitHub/GitLab. We advise the following branches:

    • A published branch which contains the students’ version of this year. This could be called ie. publish or main or <current acadamic year>

    • A development branch which contains all the new content combined but not yet published to students. This could be called dev or main (depending on whether you prefer having the most recent published version as main or the development branch).

    • Branches which will be created during the editing process which contain edits ie. single chapters

    • Branches for previous study years which contain each year’s version of the book. These could be called <academic year>

  • Setup protected branches in GitHub/GitLab to prevent accidental changes

  • Add people with GitHub/GitLab permission matching their role and the protected branches.

  • Add a readme explaining the way you organized branches and permissions

  • Provide explanation on how you’d like to receive feedback in both the readme as the published book. The use of issues (in the book with the issue button) is advised.

  • Decide on whether or not to publish your book via Open Interactive Textbooks TU Delft. Publishing will give you a copyright check, ISBN and DOI number but heavily limits the amount of changes you can make to your book. We advise publishing an archived version of your book whenever the academic year is over.

GitHub vs GitLab#

  • Github allows you to host your book on the GitHub server using GitHub pages (to be recognized by the <organization/username>.github.io/<book> url, for example the template book), which takes all the steps of hosting out of your hands. You can also use a custom owned URL, although this requires some additional skills. On TU Delft’s GitLab you need a webserver, which is offered by TeachBooks (to be recognized by the url teachbooks.tudelft.nl/<book>, for example this manual) as the TU Delft OIT team (to be recognized by the url interactivetextbooks.tudelft.nl/<book>, for example the TU Delft OIT demo book). For the TU Delft OIT webserver you’re required to publish your book more officially, it cannot be used for viewing your book online in the editing-phase.

  • On GitHub you can start right away with a git environment and online book using our template. On GitLab you can set up your own git environment, but you need to be given access by TeachBooks or TU Delft OIT to view your build book online.

  • On GitHub we developed a automatic process which builds the book and publishes it online in a very flexible way (publication of multiple version of the book, insights in book building errors, parallel so fast build, custom urls in subdirectories). On GitLab both we and other people at TU Delft have a more simplistic workflow which can be used when you’re set up on those Git environments and webservers. If you want to use GitLab and make use of the GitHub workflow, you can mirror your repository to GitHub

  • Because we’re in control on the server connected to GitLab, we can set up SSO login for visitors of the website. This is not an option for GitHub because we don’t own the server.

  • Both GitLab and GitHub allow for extensive options for visibility of the source code. If you’re using GitHub pages, you need a free organization linked to a free eduational account. The TU Delft GitLab requires SSO login for editing the book. Although this is useful for TU Delft employees, it limits the collaboration with people outside of TU Delft.

  • GitHub has a nice integration with the GitHub Desktop application. For GitLab it works as well, but has less functionality.

  • Utteranc.es requires a GitHub repository to host the discussions. If you’re using a GitLab repository, you need a separate GitHub repository and the discussions and book content is not at the same place.

If you have doubt about this choice, we advise you to start on GitHub. Moving/duplicating your content to GitLab or hosting to a custom URL is always possible at a later stage.

Here’s a table summarizing the information:

GitHub

GitLab

Website to view book online

GitHub pages (<organization/username>.github.io/<book>) or custom URL 🌐

TeachBooks (teachbooks.tudelft.nl/<book>) or TU Delft OIT (interactivetextbooks.tudelft.nl/<book>) 🎓

Setting up book website

Immediate and automated with template ⚡️

Access required by TeachBooks or TU Delft OIT 🚧

Updating book website

Automated and flexible (multiple version of the book, building error insights, fast, custom urls) 🚀

Automated but simplistic (one or two versions, command-line interface) 🛵

Student book access with SSO

Not available for GitHub pages ❌, optional with custom URL ✅

Optional ✅

Teacher/TA access to Git repository

Private (if part of organization linked to educational account) /public 👀

Private / public / internally TU Delft, editing requires requires SSO login 👥

GitHub Desktop

Well integrated 😎

Basic integration 🙂

Utteranc.es

Can be linked to same repository 🏷️

Requires GitHub repository next to GitLab repository 🏷️🏷️

Organize your editing team and tools — TeachBooks Manual (2024)
Top Articles
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 5797

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.