diff --git a/repository/Grafoscopio/GrafoscopioDocumentation.class.st b/repository/Grafoscopio/GrafoscopioDocumentation.class.st index 41ac2b7..081567f 100644 --- a/repository/Grafoscopio/GrafoscopioDocumentation.class.st +++ b/repository/Grafoscopio/GrafoscopioDocumentation.class.st @@ -62,7 +62,9 @@ GrafoscopioDocumentation class >> download: fileNameWithRelativePath [ { #category : #updating } GrafoscopioDocumentation class >> initialize [ - self update + self + update: 'current'; + update: 'dataviz' ] { #category : #updating } @@ -76,17 +78,6 @@ GrafoscopioDocumentation class >> isFileUpdatedFor: relativeFilePath [ ifTrue: [ ^ ExternalApp compareHashFor: localFile with: (self current repository lastHashNumberFor: relativeFilePath) ] ] -{ #category : #updating } -GrafoscopioDocumentation class >> isUpdated [ - ^ (self listOutdated isEmpty) ifTrue: [ ^ false ] ifFalse: [ ^ true ] -] - -{ #category : #updating } -GrafoscopioDocumentation class >> listOutdated [ - "I return the list of all documentent where the local copy and the remote copy doesn't match" - self listOutdatedDocsIn: self current documents -] - { #category : #updating } GrafoscopioDocumentation class >> listOutdatedDocsIn: aDocumentsListName [ "I return the list of all documentent where the local copy and the remote copy doesn't match" @@ -147,16 +138,6 @@ GrafoscopioDocumentation class >> openTutorial [ self openNotebookFrom: 'current' At: 1 ] -{ #category : #updating } -GrafoscopioDocumentation class >> update [ - self isUpdated - ifTrue: [ self inform: 'All documents are already updated' ] - ifFalse: [ - self listOutdated do: [ :eachDoc | self download: eachDoc ]. - self inform: 'Documentation updating finished'] - -] - { #category : #updating } GrafoscopioDocumentation class >> update: aDocumentationName [ (self listOutdatedDocsIn: aDocumentationName)