From d5941337ffdbdc6a5a17c640bdceaf2a109716f0 Mon Sep 17 00:00:00 2001 From: "quentin.moutte.etu" Date: Mon, 5 Aug 2024 18:50:16 +0200 Subject: [PATCH 1/4] change cssFramework basePath to destinationPath --- src/Microdown-Blog/MicBlogCreator.class.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microdown-Blog/MicBlogCreator.class.st b/src/Microdown-Blog/MicBlogCreator.class.st index 3afb5c1c..10d9db2b 100644 --- a/src/Microdown-Blog/MicBlogCreator.class.st +++ b/src/Microdown-Blog/MicBlogCreator.class.st @@ -343,7 +343,7 @@ MicBlogCreator >> write: aMicHTMLVisitor to: aFileReference [ | htmlDocument cssFramework htmlContent | cssFramework := MicCSSProvider forCSSNamed: cssFrameworkName. - cssFramework basePath: root, '/css/'. + cssFramework destinationPath: root , '/css/'. htmlDocument := MicHTMLDocument new. htmlDocument configuration: aMicHTMLVisitor configuration. @@ -352,7 +352,7 @@ MicBlogCreator >> write: aMicHTMLVisitor to: aFileReference [ htmlDocument setCharSetUTF8; addCSS: cssFramework; - destinationPath: targetDirectory. + destinationPath: targetDirectory. ^ htmlDocument fileName: aFileReference path pathString; writeDocument: htmlContent; From 640983e75f311ceb1f1ab706da3ea15b96d3960b Mon Sep 17 00:00:00 2001 From: "quentin.moutte.etu" Date: Mon, 5 Aug 2024 20:52:48 +0200 Subject: [PATCH 2/4] test to change css to axist --- src/Microdown-Blog/MicBlogCreator.class.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microdown-Blog/MicBlogCreator.class.st b/src/Microdown-Blog/MicBlogCreator.class.st index 10d9db2b..797e45ea 100644 --- a/src/Microdown-Blog/MicBlogCreator.class.st +++ b/src/Microdown-Blog/MicBlogCreator.class.st @@ -205,7 +205,7 @@ MicBlogCreator >> generateRecentpost: listOfMicSingleSummarized [ MicBlogCreator >> initialize [ super initialize. - self cssFrameworkName: 'ClasslessCSS'. + self cssFrameworkName: 'Axist'. sum := MicListSummarizer new ] @@ -343,7 +343,7 @@ MicBlogCreator >> write: aMicHTMLVisitor to: aFileReference [ | htmlDocument cssFramework htmlContent | cssFramework := MicCSSProvider forCSSNamed: cssFrameworkName. - cssFramework destinationPath: root , '/css/'. + cssFramework basePath: root , '/css/'. htmlDocument := MicHTMLDocument new. htmlDocument configuration: aMicHTMLVisitor configuration. From a3231eb36e8abf871978c88c646baef070669ef8 Mon Sep 17 00:00:00 2001 From: "quentin.moutte.etu" Date: Mon, 5 Aug 2024 21:01:05 +0200 Subject: [PATCH 3/4] test with Sakura css if the server test are broke ? --- src/Microdown-Blog/MicBlogCreator.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microdown-Blog/MicBlogCreator.class.st b/src/Microdown-Blog/MicBlogCreator.class.st index 797e45ea..812836ab 100644 --- a/src/Microdown-Blog/MicBlogCreator.class.st +++ b/src/Microdown-Blog/MicBlogCreator.class.st @@ -205,7 +205,7 @@ MicBlogCreator >> generateRecentpost: listOfMicSingleSummarized [ MicBlogCreator >> initialize [ super initialize. - self cssFrameworkName: 'Axist'. + self cssFrameworkName: 'Sakura'. sum := MicListSummarizer new ] From e0bedb8555c7acedd4c87a5cef16edd38d6227c3 Mon Sep 17 00:00:00 2001 From: "quentin.moutte.etu" Date: Mon, 5 Aug 2024 22:04:15 +0200 Subject: [PATCH 4/4] add destination path in write:to: method --- src/Microdown-Blog/MicBlogCreator.class.st | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Microdown-Blog/MicBlogCreator.class.st b/src/Microdown-Blog/MicBlogCreator.class.st index 812836ab..b313f559 100644 --- a/src/Microdown-Blog/MicBlogCreator.class.st +++ b/src/Microdown-Blog/MicBlogCreator.class.st @@ -343,7 +343,8 @@ MicBlogCreator >> write: aMicHTMLVisitor to: aFileReference [ | htmlDocument cssFramework htmlContent | cssFramework := MicCSSProvider forCSSNamed: cssFrameworkName. - cssFramework basePath: root , '/css/'. + cssFramework basePath: root , '/css/'; + destinationPath: MicCSSProvider new localRepositoryPath. htmlDocument := MicHTMLDocument new. htmlDocument configuration: aMicHTMLVisitor configuration.