mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00

- This tool is only available for admins - Before using this tool the hosting admin will need to have NPM installed and be able to run grunt - To create the docs pages for the library run "grunt componentlibrary" - After the pages are created the Library is available in Site adminstration > Development > UI Component Library
73 lines
1.9 KiB
YAML
73 lines
1.9 KiB
YAML
languageCode: "en"
|
|
title: "Moodle Component Library"
|
|
baseURL: "http://MOODLEROOT/"
|
|
enableInlineShortcodes: true
|
|
pygmentsUseClasses: true
|
|
|
|
markup:
|
|
goldmark:
|
|
renderer:
|
|
unsafe: true
|
|
|
|
markup:
|
|
goldmark:
|
|
extensions:
|
|
definitionList: true
|
|
footnote: true
|
|
linkify: true
|
|
strikethrough: true
|
|
table: true
|
|
taskList: true
|
|
typographer: true
|
|
parser:
|
|
attribute: true
|
|
autoHeadingID: true
|
|
autoHeadingIDType: github
|
|
renderer:
|
|
hardWraps: false
|
|
unsafe: true
|
|
xHTML: false
|
|
highlight:
|
|
codeFences: true
|
|
guessSyntax: true
|
|
hl_Lines: ""
|
|
lineNoStart: 1
|
|
lineNos: false
|
|
lineNumbersInTable: true
|
|
noClasses: true
|
|
style: monokailight
|
|
tabWidth: 4
|
|
|
|
buildDrafts: false
|
|
buildFuture: true
|
|
|
|
enableRobotsTXT: true
|
|
metaDataFormat: "yaml"
|
|
|
|
disableKinds: ["404", "taxonomy", "taxonomyTerm", "RSS"]
|
|
|
|
blackfriday:
|
|
fractions: false
|
|
|
|
relativeURLs: true
|
|
|
|
publishDir: "./admin/tool/componentlibrary/docs"
|
|
archetypeDir: "./admin/tool/componentlibrary/hugo/archetypes"
|
|
assetDir: "./admin/tool/componentlibrary/hugo/assets"
|
|
contentDir: "./admin/tool/componentlibrary/content"
|
|
dataDir: "./admin/tool/componentlibrary/hugo/site/data"
|
|
layoutDir: "./admin/tool/componentlibrary/hugo/site/layouts"
|
|
staticDir: "./admin/tool/componentlibrary/content/static"
|
|
|
|
params:
|
|
moodleroot: "MOODLEROOT"
|
|
|
|
current_version: "4.6.0"
|
|
current_ruby_version: "4.6.0"
|
|
docs_version: "4.6"
|
|
boostrap_docs: "https://getbootstrap.com/docs/4.6"
|
|
repo: "https://github.com/twbs/bootstrap"
|
|
|
|
cdn:
|
|
# See https://www.srihash.org for info on how to generate the hashes
|
|
popper: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|