Fixing old updating documentation method, which has no parameters.
This commit is contained in:
parent
3c8c54ea22
commit
0337bd7993
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user