Skip to content

Conversation

@elsazac
Copy link
Member

@elsazac elsazac commented Aug 20, 2025

Note: This is a sample PR that demonstrates how the Help page is rendered and is not the final PR.

@merks
The New and Noteworthy entries in the news repo were recently migrated from HTML to Markdown as you know. Earlier, we used a script to pull the HTML content directly into the help pages, but since the format has changed, the old scripts no longer work.

To address this, I took a copy of the Markdown files, encoded and converted them into HTML, and then replaced the corresponding files in the repo were the help page is rendered (releng repo). I also updated the references in the toc.xml files. Simply embedding Markdown-encoded HTML wasn’t rendering consistently (issues with fonts, colors, etc.), so I also adjusted the styling for proper display.

With these changes, the rendering is now working as expected. The only issue I’m noticing is that some links in the help pages open as blank pages. Is this a known issue? I think it could be fixed by adjusting the link attributes to open in a new tab using href along with target="_blank". Let me know your thoughts on that.

Also, the images folders in the respective directories have been refilled with the latest images and deleted the old images.

Having said all this, I want to confirm that the news repo where contributors add Markdown files remains untouched. These changes only affect how the Help page is rendered.

I’ve put all of these changes into a sample PR. This is not the final PR for the release; I understand that the New and Noteworthy updates may still be added to the news repo. The purpose of this PR is just to provide a preview of how the Help page would look after rendering.

Could you please test these changes locally and share your suggestions? If this approach looks fine to you, we can proceed with it for this release. Compared to the last release (where we only provided a link to the N&N pages), this rendering feels like a better option to me.

@merks
Copy link
Contributor

merks commented Aug 23, 2025

FYI @akurtakov @HannesWell

I'm not sure why I didn't see this PR earlier. I did do a pass through all the docs on the other day...

This is rendering in "dark theme" for me so that doesn't look so nice.

image

The images are awfully big. Styling with max-width: 100% would probably give nicer results.

image

PDE's What's new is still on version 4.30...

I didn't test all the links but some don't work well. The online render does process the links to map them onto the URIs used by the website:

https://github.com/eclipse-platform/www.eclipse.org-eclipse/blob/8933941be11ebbf5844399787f1fbf310bb535e2/markdown/index.html#L412-L459

- This is a sample PR to preview the new Help page rendering; not the
final PR for the release.                                -took a Copy of
markdown files from news
repo and encoded them into
HTML and laced in platform common from releng repo.
- Updated references in toc.xml.
- Adjusted fonts and colors for consistent rendering in the Help page.

Fixup : Testing
@elsazac
Copy link
Member Author

elsazac commented Aug 25, 2025

PDE's What's new is still on version 4.30...

The package org.eclipse.pde.doc.user, which was responsible for rendering PDE help pages, was removed from Platform Common in 4.31. Since then, no further work has been done on PDE help.

@merks
Copy link
Contributor

merks commented Aug 25, 2025

@akurtakov

If we have "dead" content we probably should remove it, right?

@HannesWell
Copy link
Member

Didn't we decide to just add links to N&N entries to simplify this task for the last release and executed it correspondingly?
I'm not aware that we wanted to go back to the old model.

@elsazac
Copy link
Member Author

elsazac commented Aug 25, 2025

If we have "dead" content we probably should remove it, right?

If the PDE N&N's are no longer planning to be included here moving forward, I can remove it completely.

@merks
Copy link
Contributor

merks commented Aug 25, 2025

There is news

https://eclipse.dev/eclipse/markdown/?f=news/4.37/pde.md

But I don't know what the plans are around the PDE docs I see here. If they're useless, we should delete them, if not, I'd expect to see the in the help system like I do when I debug launch.

Like Hannes, I also didn't know about plans to "copy/map" the online content into the help system docs.

@elsazac
Copy link
Member Author

elsazac commented Aug 25, 2025

Like Hannes, I also didn't know about plans to "copy/map" the online content into the help system docs.

Rather than just pointing to a link, I feel it’s better to render the content directly in the help pages, as we used to in past releases. That approach feels more complete to me, but I’m fine going with what the majority decides. Let me know your thoughts on this.

@akurtakov
Copy link
Member

Having "remote" (not copied in the bundles) N&N content rendered directly in the help system is best. If there is issue with that I vote for a link so releng procedures are simplified.

@elsazac
Copy link
Member Author

elsazac commented Aug 25, 2025

If we want to render the help pages directly in the right-hand pane with the actual content (as we did in previous releases), it involves quite a bit of manual work since we have now fully shifted to Markdown. This PR was an attempt to preserve that style of rendering, but it comes with certain tasks, such as:

  1. wrapping the Markdown files with an HTML header
  2. adjusting links to open in a new tab
  3. resizing images
  4. handling theme selection
  5. copying images into the platform.common

These problems are all still solvable only, but they do require manual effort.

The main advantage of this approach is that we can continue to render the content directly within the help pages, providing a more complete view to the user.

That said, since the majority prefers simplifying the releng process, I'm fine going with the alternative approach ie, having a forward link that points to the corresponding md files.

@merks
Copy link
Contributor

merks commented Aug 25, 2025

It just seems like quite some work, work that's manual and error prone, work that happens very late in the cycle, and work that might be better invested elsewhere. But that's just my personal opinion.

@elsazac
Copy link
Member Author

elsazac commented Aug 25, 2025

Closing the discussion here and Final PR for New and Noteworthy 4.37 created via #3244

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.

4 participants