« get me outta code hell

content: bunch of stub pages - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/listing-spec.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-02 21:41:30 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-02 21:41:30 -0300
commit473740f69dcbad408b0d84567c2bb2de97e8a4aa (patch)
tree7ca866cbe2f58fbb598a76089b411d38f2d3ba13 /src/listing-spec.js
parente2cdee25fa4d7464f8429a951fe368b96ee48834 (diff)
content: bunch of stub pages
Diffstat (limited to 'src/listing-spec.js')
-rw-r--r--src/listing-spec.js19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/listing-spec.js b/src/listing-spec.js
index 9ca7574..8250317 100644
--- a/src/listing-spec.js
+++ b/src/listing-spec.js
@@ -212,6 +212,7 @@ listingSpec.push({
   featureFlag: 'enableArtTagUI',
 });
 
+/*
 function listAdditionalFilesInProperty(property, {
   directory,
   stringsKey,
@@ -272,24 +273,33 @@ function listAdditionalFilesInProperty(property, {
       ]),
   };
 }
+*/
 
-listingSpec.push(listAdditionalFilesInProperty('sheetMusicFiles', {
+listingSpec.push({
+  /* listAdditionalFilesInProperty('sheetMusicFiles') */
   directory: 'all-sheet-music-files',
   stringsKey: 'other.allSheetMusic',
+  contentFunction: 'listAllSheetMusicFiles',
   seeAlso: ['tracks/with-sheet-music-files'],
-}));
+  groupUnderOther: true,
+});
 
-listingSpec.push(listAdditionalFilesInProperty('midiProjectFiles', {
+listingSpec.push({
+  /* listAdditionalFilesInProperty('midiProjectFiles') */
   directory: 'all-midi-project-files',
   stringsKey: 'other.allMidiProjectFiles',
+  contentFunction: 'listAllMidiProjectFiles',
   seeAlso: ['tracks/with-midi-project-files'],
-}));
+  groupUnderOther: true,
+});
 
 listingSpec.push({
   directory: 'random',
   stringsKey: 'other.randomPages',
+  contentFunction: 'listRandomPageLinks',
   groupUnderOther: true,
 
+  /*
   data: ({wikiData: {albumData}}) => [
     {
       name: 'Official',
@@ -377,6 +387,7 @@ listingSpec.push({
         ]),
       ]),
     ]),
+  */
 });
 
 {