Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add link and test in Web developpemment #740

Merged
merged 4 commits into from
May 16, 2024

Conversation

moufort
Copy link
Collaborator

@moufort moufort commented May 15, 2024

I had a link for the header of file in HTML and for each date.
I had a ellipsis to paragraph block where there too long.

@Ducasse
Copy link
Contributor

Ducasse commented May 16, 2024

Salut quentin
regarde mes remarques.

@@ -94,6 +94,153 @@ When you participate to the mooc you get access to the quizz and the credit vali
^ file
]

{ #category : 'as yet unclassified' }
MicSummarizerTest >> htmlBodyTest [

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the single summariser I do not get why we would have to have all the links.


| a q date header |
a := (MicHTMLVisitor new visit: aMicRoot) at: 1.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can add on microroot something like

date
     self children first date
MetaData >> date
     ....
     with a default date if there is none in the metadata

this will probably only works when we have metadata so on MicElement we should define another

date
    ^ Date ....1980


destinationDirectory := aDestination
]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed the summariser as well as all the components date sorter, blogentry...
should all work from a directory to a directory.

So I asked myself what is filePath vs. destinaryDirectory: why this is not a sourceDirectory

| headerLink |
headerLink := MicHeaderBlock new.
headerLink
addChild:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can extract this expression in makeAlink: to:

@Ducasse Ducasse merged commit 8d36b89 into pillar-markup:dev May 16, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants