Adding
rascal-0.34.0
rascal-tutor-0.18.4
Synopsis
Add a concept to a course
Description
There are basically two scenarios for adding a new concept, depending on where its contents come from.
If the concept is part of a "course":
- Select a concept that is suitable as parent for the new concept.
- Create a subdirectory, say
SubConcept
for the new subconcept. - Create the file
SubConcept/SubConcept.md
orSubConcept/index.md
using your favourite editor. - Add the name and other information about the new concept.
- Save the file.
If a concept is a Rascal source module:
- Simply write the Rascal module in
folder/MyModule.rsc
- Add @synopsis, @description, @examples, etc. tags to every notable declaration in the module
- Save the file.
If a concept is a Concept or Rascal module container only:
- Create the folder
MyConcept
- Add new
SubConcept
s as above or new Rascal modules, as above. - an
index.md
file will be generated for the folder