From ed87c46402a42c538730f7c85a04ec50b08747ad Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Thu, 27 Apr 2023 10:53:26 -0500 Subject: [PATCH] Preparing package modularization for faster loading times. --- src/BaselineOfMiniDocs/BaselineOfMiniDocs.class.st | 2 +- src/MiniDocs/GrafoscopioNode.class.st | 4 ++-- src/MiniDocs/GrafoscopioNodeTest.class.st | 2 +- src/MiniDocs/Markdeep.class.st | 2 +- src/MiniDocs/Markdown.class.st | 2 +- src/MiniDocs/MarkupFile.class.st | 2 +- src/MiniDocs/MiniDocs.class.st | 2 +- src/MiniDocs/MiniDocsServer.class.st | 2 +- src/MiniDocs/NanoID.class.st | 4 +++- src/MiniDocs/Nimble.class.st | 2 +- src/MiniDocs/YQ.class.st | 6 +++++- 11 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/BaselineOfMiniDocs/BaselineOfMiniDocs.class.st b/src/BaselineOfMiniDocs/BaselineOfMiniDocs.class.st index 330379c..4721a22 100644 --- a/src/BaselineOfMiniDocs/BaselineOfMiniDocs.class.st +++ b/src/BaselineOfMiniDocs/BaselineOfMiniDocs.class.st @@ -19,7 +19,7 @@ BaselineOfMiniDocs >> baseline: spec [ loads: #('Minimal' 'Core' 'Tests' 'Islands'); repository: 'github://moosetechnology/PetitParser:v3.x.x/src' ]. - self fossil: spec. + "self fossil: spec." "Packages" spec package: 'MiniDocs' with: [ spec requires: #('Mustache' 'Tealight' "'XMLParserHTML'") ]; diff --git a/src/MiniDocs/GrafoscopioNode.class.st b/src/MiniDocs/GrafoscopioNode.class.st index fdd2396..b55eb03 100644 --- a/src/MiniDocs/GrafoscopioNode.class.st +++ b/src/MiniDocs/GrafoscopioNode.class.st @@ -18,7 +18,7 @@ Class { 'output', 'remoteLocations' ], - #category : #MiniDocs + #category : #'MiniDocs-Legacy' } { #category : #accessing } @@ -235,7 +235,7 @@ GrafoscopioNode >> populateTimestamps [ adhocEditionMarker := 'adhoc edition timestamp'. (self nodesInPreorder size = self nodesWithCreationDates size and: [ self nodesInPreorder size = self nodesWithEditionDates size ]) - ifTrue: [ ^ self nodesInPreorder ]. + ifTrue: [ ^ self nodesInPreorder ]. self nodesInPreorder allButFirst doWithIndex: [:node :i | node created ifNil: [ node created: self earliestCreationDate + i. diff --git a/src/MiniDocs/GrafoscopioNodeTest.class.st b/src/MiniDocs/GrafoscopioNodeTest.class.st index f05c0d7..54214b0 100644 --- a/src/MiniDocs/GrafoscopioNodeTest.class.st +++ b/src/MiniDocs/GrafoscopioNodeTest.class.st @@ -1,7 +1,7 @@ Class { #name : #GrafoscopioNodeTest, #superclass : #TestCase, - #category : #MiniDocs + #category : #'MiniDocs-Legacy' } { #category : #accessing } diff --git a/src/MiniDocs/Markdeep.class.st b/src/MiniDocs/Markdeep.class.st index 211cc9b..0aa10ab 100644 --- a/src/MiniDocs/Markdeep.class.st +++ b/src/MiniDocs/Markdeep.class.st @@ -14,7 +14,7 @@ Class { 'navTop', 'options' ], - #category : #MiniDocs + #category : #'MiniDocs-Core' } { #category : #'as yet unclassified' } diff --git a/src/MiniDocs/Markdown.class.st b/src/MiniDocs/Markdown.class.st index 2b18413..5356a96 100644 --- a/src/MiniDocs/Markdown.class.st +++ b/src/MiniDocs/Markdown.class.st @@ -11,7 +11,7 @@ Class { 'metadata', 'body' ], - #category : #MiniDocs + #category : #'MiniDocs-Core' } { #category : #'instance creation' } diff --git a/src/MiniDocs/MarkupFile.class.st b/src/MiniDocs/MarkupFile.class.st index 6696cba..111b114 100644 --- a/src/MiniDocs/MarkupFile.class.st +++ b/src/MiniDocs/MarkupFile.class.st @@ -7,7 +7,7 @@ Class { #instVars : [ 'file' ], - #category : #MiniDocs + #category : #'MiniDocs-Core' } { #category : #persistence } diff --git a/src/MiniDocs/MiniDocs.class.st b/src/MiniDocs/MiniDocs.class.st index 352aab9..3545364 100644 --- a/src/MiniDocs/MiniDocs.class.st +++ b/src/MiniDocs/MiniDocs.class.st @@ -4,7 +4,7 @@ MiniDocs is a project that includes several minimalistic documentation tools use Class { #name : #MiniDocs, #superclass : #Object, - #category : #MiniDocs + #category : #'MiniDocs-Core' } { #category : #accessing } diff --git a/src/MiniDocs/MiniDocsServer.class.st b/src/MiniDocs/MiniDocsServer.class.st index a1d9d96..975e2cf 100644 --- a/src/MiniDocs/MiniDocsServer.class.st +++ b/src/MiniDocs/MiniDocsServer.class.st @@ -7,7 +7,7 @@ Class { #classInstVars : [ 'singleton' ], - #category : #MiniDocs + #category : #'MiniDocs-Core' } { #category : #accessing } diff --git a/src/MiniDocs/NanoID.class.st b/src/MiniDocs/NanoID.class.st index 525af1c..e3c81e1 100644 --- a/src/MiniDocs/NanoID.class.st +++ b/src/MiniDocs/NanoID.class.st @@ -11,11 +11,13 @@ The Nim script has hard coded: for example in data narratives, book(lets) and TiddlyWiki tiddlers of tens or hundreds of notes at most, unevenly produced between hours, days and/or weeks.. +The `External` tag is related on its dependency on other programming languages and frameworks, +though the dependency should be loaded by just loading a small binary with no dependencies. " Class { #name : #NanoID, #superclass : #Object, - #category : #'MiniDocs-MiniDocs' + #category : #'MiniDocs-External' } { #category : #accessing } diff --git a/src/MiniDocs/Nimble.class.st b/src/MiniDocs/Nimble.class.st index 00e11ec..fdd9e19 100644 --- a/src/MiniDocs/Nimble.class.st +++ b/src/MiniDocs/Nimble.class.st @@ -5,7 +5,7 @@ This was evolved in the context of the [Grafoscopio](mutabit.com/grafoscopio/en. Class { #name : #Nimble, #superclass : #Object, - #category : #'MiniDocs-MiniDocs' + #category : #'MiniDocs-External' } { #category : #accessing } diff --git a/src/MiniDocs/YQ.class.st b/src/MiniDocs/YQ.class.st index 5248d46..57c7d1c 100644 --- a/src/MiniDocs/YQ.class.st +++ b/src/MiniDocs/YQ.class.st @@ -1,7 +1,11 @@ +" +The `External` tag is related on its dependency on other programming languages and frameworks, +though the dependency should be loaded by just loading a small binary with no dependencies. +" Class { #name : #YQ, #superclass : #Object, - #category : #MiniDocs + #category : #'MiniDocs-External' } { #category : #accessing }