@liascript/exporter 3.1.3--1.0.6 → 3.2.0--1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/dist/assets/capacitor/{index.d4464883.js → index.a6823e3d.js} +1 -1
- package/dist/assets/capacitor/index.html +1 -1
- package/dist/assets/capacitor/{jszip.min.8d875ed3.js → jszip.min.dfe97abc.js} +1 -1
- package/dist/assets/capacitor/{trystero-ipfs.min.771a19bf.js → trystero-ipfs.min.2b844fee.js} +1 -1
- package/dist/assets/indexeddb/{index.bccfca56.js → index.17a1a8a2.js} +1 -1
- package/dist/assets/indexeddb/index.html +1 -1
- package/dist/assets/scorm2004/{index.52a9c8c7.js → index.82c21d53.js} +1 -1
- package/dist/assets/scorm2004/index.html +1 -1
- package/dist/assets/scorm2004/{jszip.min.eaecf580.js → jszip.min.19c66d77.js} +1 -1
- package/dist/assets/web/{index.cfc3039e.js → index.559bcb91.js} +1 -1
- package/dist/assets/web/index.html +1 -1
- package/dist/assets/{xapi/jszip.min.63142cc8.js → web/jszip.min.4fbcc13f.js} +1 -1
- package/dist/assets/xapi/{index.247e0b2a.js → index.b6b45ad9.js} +1 -1
- package/dist/assets/xapi/{index.adc1a301.js → index.ea86764f.js} +1 -1
- package/dist/assets/xapi/index.html +1 -1
- package/dist/assets/{web/jszip.min.63142cc8.js → xapi/jszip.min.4fbcc13f.js} +1 -1
- package/dist/index.js +269 -68
- package/package.json +1 -1
- /package/dist/assets/{xapi → indexeddb}/jszip.min.19c66d77.js +0 -0
- /package/dist/assets/{indexeddb → xapi}/jszip.min.eaecf580.js +0 -0
package/README.md
CHANGED
|
@@ -729,6 +729,22 @@ logo: https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/Universitaetsbib
|
|
|
729
729
|
|
|
730
730
|
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/Logo_TU_Bergakademie_Freiberg.svg/242px-Logo_TU_Bergakademie_Freiberg.svg.png
|
|
731
731
|
|
|
732
|
+
# Optional sticky navigation bar at the top of the page.
|
|
733
|
+
# 'brand' is the text/logo shown on the left, 'background' sets the bar color,
|
|
734
|
+
# 'theme' controls text contrast (dark = white text, light = dark text).
|
|
735
|
+
# Each entry in 'links' becomes a nav item.
|
|
736
|
+
navbar:
|
|
737
|
+
brand: My OER Collection
|
|
738
|
+
background: "#0B6E75" # optional, defaults to #0B6E75
|
|
739
|
+
theme: dark # dark | light, defaults to dark
|
|
740
|
+
links:
|
|
741
|
+
- label: Home
|
|
742
|
+
url: "#"
|
|
743
|
+
- label: Section 1
|
|
744
|
+
url: "#section-1"
|
|
745
|
+
- label: Section 2
|
|
746
|
+
url: "#section-2"
|
|
747
|
+
|
|
732
748
|
footer: >
|
|
733
749
|
Simply add a custom footer - that can also contain HTML
|
|
734
750
|
<a href="https://liascript.github.io" target="_blank">Made with LiaScript</a>
|
|
@@ -864,6 +880,22 @@ This way you can generate a very detailed project configuration and overview.
|
|
|
864
880
|
|
|
865
881
|
**Project settings:**
|
|
866
882
|
|
|
883
|
+
**Navbar (YAML key):** Add a `navbar` block to your project YAML to generate a sticky navigation bar at the top of the page:
|
|
884
|
+
|
|
885
|
+
```yaml
|
|
886
|
+
navbar:
|
|
887
|
+
brand: My OER Collection # text shown on the left side
|
|
888
|
+
background: "#0B6E75" # optional bar color (default: #0B6E75)
|
|
889
|
+
theme: dark # dark (white text) | light (dark text), default: dark
|
|
890
|
+
links:
|
|
891
|
+
- label: Home
|
|
892
|
+
url: "#"
|
|
893
|
+
- label: Section 1
|
|
894
|
+
url: "#section-1"
|
|
895
|
+
```
|
|
896
|
+
|
|
897
|
+
If `navbar` is absent, no navigation bar is rendered.
|
|
898
|
+
|
|
867
899
|
`--project-no-meta` Disable the generation of meta information for OpenGraph and Twitter-cards.
|
|
868
900
|
|
|
869
901
|
`--project-no-rdf` Disable the generation of JSON-LD.
|
|
@@ -882,6 +914,8 @@ This way you can generate a very detailed project configuration and overview.
|
|
|
882
914
|
|
|
883
915
|
`--project-generate-cache` Only generate new files if they do not already exist.
|
|
884
916
|
|
|
917
|
+
`--project-search` Enable full-text fuzzy search across all courses and sections. When set, a search index is built from all course titles, section titles, section content, and tags. If a `navbar` is defined, a search icon is added to it. If no navbar is present, a floating search button appears fixed in the bottom-right corner of the page. Searching opens a modal with live fuzzy results, each linking directly to the matching section of the course. The keyboard shortcut **Ctrl+K** (or **Cmd+K**) can be used to open the search from anywhere on the page.
|
|
918
|
+
|
|
885
919
|
|
|
886
920
|
### RDF & JSON-LD
|
|
887
921
|
|