📚 The CoCalc Library - books, templates and other resources
License: OTHER
Examples for CoCalc
This mainly adds a categorization and meta-description layer on top of this and other example collections.
Development & Indexing
edit
index.yamlcall
./index.pyor just do a simplemaketo call that script.
Datamodel
Goal: autogenerated JSON for the CoCalc UI, such that user can select examples from a library -- no need to think about the specific representation, only the elements that are the actually moving parts for such a selector.
YAML Document Types
first document: metadata
description of tags
description of license
references: point to another index description file
remaining documents are for each indexed entry:
src: Filename/Directorytitledescriptiontags: for categorizationlicensestart: entry point file
note: The index.py file contains additional verification of the data for validity and consistency. Just follow what the assert-exceptions complain about ...
Devnotes
If you forgot to git clone --recursive:
If you want to update all submodules in one go, do something like
or with resets
You can also do make update or something like that (see makefile)
To add a new submodule, just do what the git doc says
License
Unless otherwise noted, Apache 2.0 for code and CC BY 4.0 for content.