-
Notifications
You must be signed in to change notification settings - Fork 46
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
Use Asccidoc instead of HTML #44
Comments
For reference this is when I tried to switch to external link https://bugs.eclipse.org/bugs/show_bug.cgi?id=567027 . IMHO not having N&N in zips is better as it can be corrected post release without respinning. |
I've mentioned already multiple times my deep hate for wiki because of its unstructured nature and lack of proper integration into serious maintenance workflows (reviews, contribution tracking...). I don't mind if content is markdown or HTML though. |
That seems like the best of all worlds. Use markdown in a Git repo which would allow us to still use PR and the like and still only add link it in the repo. Anyone dislikes this? If not I would bring this to the PMC next week. |
Tycho use a RELEASE_NOTES.MD file not a wiki. |
I recently did a open the web console (F12 in most browser) select the markdown rendered and copy the inner html ... only problem is that github uses html5 and eclipse XHTML so it was not a 1:1 copy then ... See also: |
To me some questions are a bit unclear:
I could help with the Asciidoc part to have a similar workflow like in the UI Guidelines repository and to provide some templating mechanism, but I'm not an expert on other conversion tools. |
My target would be to mark the whole process simpler. So using markdown or Asciidoc directly without any additional processing would be fine to me. The help could just link to the website, "See https://blablabla" for the latest update. Minimal effort and easy contribution would be target. The easier the better. Writing HTML directly and coping files around for every release feels way to much effort. |
Update: PMC is OK with this change. @jarthana will check with his colleagues if the current process adds value to them or IBM until end of next week. If not we could move the N&N to a Markdown / Asciidoc file in Github and link from the help to it. My preference would be to use the same format as the UX Guideline guide (Asciidoc). |
Looks like we still have questions around how we really want to do this. I am not an expert in this area nor have I been doing this or intend to spend time in figuring out a new method of doing. So, whoever is proposing, please come up with a new concrete way that is better, we can adopt that. I have asked the people who have been maintaining the N&N so far for their opinions as well. Just one question: Does this mean the N&N content won't physically reside inside Eclipse and the users will have to have an active internet connection to be able to view them? |
The plan is: 1.) Have an Asccidoc document containing the N&N for the releases Optional we could setup a GH action to convert Asciidoc to HTML as we do fhe UX guideline.
That is the plan, the PMC discussed that a while ago and I think the concens was that an Internet connection is normal these days and that the web experience is better than the native help experience. |
I just wanted to note that this is actually not a GH action but a plain maven build (called inside an action), if one think it is useful this is something the aggregator build can offer to aggregate all N&N documents into one big HTML file, I just need to know where it should be located and then can setup something like this. |
Using some kind of markdown, Asciidoc is completely fine, was something I wanted to suggest as well. Indeed, writing N&Ns is more cumbersome than it has to be. As already mentioned Asciidoc offers a maven plugin (https://docs.asciidoctor.org/maven-tools/latest/), I assume it should not be too hard to get the generated html from that and use it like the now manually crafted html files are used. This would simplify the creation and editing of N&Ns but would keep all use-cases intact. |
We happened to discuss this just last week about some ODC setups having to work in a restricted environment. Might be a minority and likely to be struck down as such but just thought I will mention for the sake of it. |
If we go for Asciidoc, then I would just recommend dropping all form of publication (eg asciidoc) and just point to the GitHub repo which renders asciidoc well and is usually a good server for such content. |
I think it depends, if you compare: https://github.com/eclipse-platform/ui-best-practices/blob/main/index.adoc with the ascidoc generated HTML here: https://eclipse-platform.github.io/ui-best-practices/ then yes, github can render something but I won't call this "renders asciidoc well" ... in such case I would simply stick to Markdown as it is what people are much more familiar with. |
If you are only after some markup formatting, then yes. If you actually use multiple documents and you use links between them, nothing of that will work in the github preview. IMO the Tycho release notes are okayish, but something like this guideline needs way more than github provides. |
such as? |
Given that the configuration is relative small and the processing time is in the order of seconds, I'd really not like to give up all these benefits. |
I suggest we start using a wiki for the N&N. This would make maintaining the pages much easier. Tycho does it to. This would also remove the step in which we copy the content into the help, we should just link to it in the help. AFAIK help does not support external link clicking but we users could copy the link and paste into their browser.
WDYT? @laeubi @akurtakov @Bananeweizen @mickaelistria @BeckerWdf
The text was updated successfully, but these errors were encountered: