Skip to content

innovationOUtside/vce-generic-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vce-generic-guide

Source repository for creating OU virtual computing environment guidance on a module and preseantion basis from generic, customisable, and bespoke source documents. See PHILOSOPHY.md for more details, including filenaming conventions.

Example module configurations can be found in the buildpack directory, with a subdirecotry containing the configuration and output files for each separate module. For example, the build files for TM351 are in ./buildpack/tm351.

To build files for a module, run: ./build_pdf_docx.sh MODULECODE (for example, ./build_pdf_docx.sh tm351). The files are built into ./buildpack/MODULECODE/genarated/ (for example, ./buildpack/tm351/generated/)

Branches

The generic branch includes an original draft of a generic guide for OU virtual computing environment (VCE) users (Compute Home, local Docker containers) deployed with the classic Jupyter notebook UI as a the default UI. This branch should be regarded as deprecated.

The customisable branch replaces the generic approach with a template that can be customised for a particular module and presentation. A new guide will need to be rendered for each module presentation. The guide will contain specific guidance on how to access or install the particular VCE required for that module for a particular presentation.

The main branch is updated from the customisable branch, although it may lag behind it.

In the first iteration of the customisable guide, there will be legacy example screenshots. Ideally, we would be able to customise screenshots either through image editing, rendering an image from a dummy customisable UI, or by automatically screengrabbing the actual environment for a particular moduile and presentation.

The guide is written using MyST markdown in a Jupyter Book context. Interactive HTML, PDF and Microsoft Word documents, etc., can be generated from the source files.

The intention is that the guide for a particular module will be generated using custom _toc.yml and _config.yml files that will then reuse common source files. See the buikdpack directory for example _toc.yml and _config.yml packs for particular modules. Ideally, for a new module, these are the inly things that should need changing, other than any module specific materials that need to be produced.

An OU-XML workflow is also available using Mark Hall's ou-book-theme package. This generates OU-XML from XML produced by the Jupyter Book xml builder.

Generating distributable guides

The .devcontainer associated with this repository should contain everything you need to generate Jupyter Book, OU-XML and simple PDF rendered versions of Jupyter Book content.

The .devcontainer can be launched locally (e.g. within VS Code from a cloned version of this repositoiry, or within GitHub Codespaces. If your GitHub preferences are set to open Codespaces in JupyterLab, you may get an error when the Codespace is launch. Select the presented option to open in VS Code instead.

See BUILD.md for more details on the build process.

A GitHub Action, builder.yaml, is also defined that supports manually launched workflows that allow you to generate the output documents for a selected module. The generated documents can be downloaded from the action run report page as an action artifact.

Quality Processes

Spellchecking carried out using spellchecker-cli:

  • install: npm install spellchecker-cli
  • run: spellchecker --files *.md --generate-dictionary vce_dictionary.txt ; this also generates a file vce_dictionary.txt containing all identified typos.
  • ignore typos in custom dictionary: spellchecker --files *.md --dictionaries vce_dictionary.txt

About

Generic guidance on using hosted and local VCE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published