You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by Lukas Ott <ot...@gmail.com> on 2024/09/16 12:55:10 UTC

Switching from asciidoctor to docusaurus for improving / changing our website setup

Hi PLC4X developers,

After Chris did a great job on cleaning up dependencies and trying to
update a lot of POMs it ended up in this comment related to
https://github.com/apache/plc4x/pull/1423 and
https://github.com/apache/plc4x/pull/1419

"Yeah ... updating asciidoctor and the site plugin is a HUGE mess ...
especially with the update of the doxia tools ... This seems to break
EVERYTHING. Unfortunately the asciidoctor folks are planning on updating
and releasing the asciidoctor plugin as soon as the site plugin in version
4 is finally released.
asciidoctor/asciidoctor-maven-plugin#685
See also related PR for updating the site plugin: #1419" - cdutz

IMHO Dominik Riemer from the https://streampipes.apache.org/ team have neat
setup with:
https://github.com/facebook/docusaurus

As soon as they push things to https://github.com/apache/streampipes
It updates documentation on the website:
https://github.com/apache/streampipes-website which is then deployed:
https://streampipes.apache.org/

Dominik offered to support us with the initial setup and I would vote for
it.

If this mail gets no objections after 72 hours I would ask Dominik to spin
up a PR request to get started migrating to the docusaurus approach.

Please comment and give feedback! Thank you!

Cheers
Lukas

AW: Switching from asciidoctor to docusaurus for improving / changing our website setup

Posted by Christofer Dutz <ch...@c-ware.de>.
I think we have setup the website to always reflect the state of “develop” … if we simply switch it to the “release” branch, then the website will magically update every time we release.

I think this was a relic of the times when things moved so quickly, that we always wanted the most recent stuff out in the wild.
I do think it would make sense to have the page reflect the latest version on the “release” branch and to possibly have a second copy of the site under “plc4x.apache.org/dev/”.

And regarding the weekend stuff … it’s just that it happened in the past that things were not finished and broke and I was stuck having to fix them … so I just wanted to make it clear, that I’m not going to do that in case of a switch of website tools.

Chris

Von: Lukas Ott <ot...@gmail.com>
Datum: Montag, 16. September 2024 um 17:01
An: dev@plc4x.apache.org <de...@plc4x.apache.org>, Dominik Riemer <ri...@apache.org>
Betreff: Re: Switching from asciidoctor to docusaurus for improving / changing our website setup
Totally agreeing with your statement. As far as I understand
the streampipes setup works in a similar way. The website updates when you
push code changes to https://github.com/apache/streampipes if I understand
Dominiks statement correctly?

Of course we can also just wait until the 4.0.0 site plugin release and the
fixes.

And additionally I want to highlight that nobody wants you to spend your
weekend on fixing stuff!

I just like the way all the docs and stuff updates on the website when
StreamPipes does a new release.

@Dominik Riemer <ri...@apache.org>  Please elaborate how the setup works
and how much effort it would be to switch to Docusaurus from your
perspective.

If this change implies a lot more effort then we just stay with the current
setup. At least we have then documented on the mailing list about this
option :-)

Cheers
Lukas

Am Mo., 16. Sept. 2024 um 16:35 Uhr schrieb Christofer Dutz <
christofer.dutz@c-ware.de>:

> Admittedly the thing I love about our setup, is that you can simply update
> the website for our stuff in the development environment we’ve already got
> open.
> Current everything is working fine, and I don’t actually see the need to
> change anything right now.
> The Maven folks will finish the site plugin 4.0.0 some day and then the
> asciidoctor folks will provide an updated plugin.
> I know we suck at updating our documentation … for that I just updated at
> least the updating of our driver options to run automatically.
>
> Would this still work with docsaurus?
>
> I’m definitely not blocking any change, if the team wants to … I just
> don’t really see a need to do so and I’m not going to invest more weekends
> in fixing stuff because of such a switch.
>
> Chris
>
>
>
> Von: Lukas Ott <ot...@gmail.com>
> Datum: Montag, 16. September 2024 um 14:56
> An: dev@plc4x.apache.org <de...@plc4x.apache.org>
> Betreff: Switching from asciidoctor to docusaurus for improving / changing
> our website setup
> Hi PLC4X developers,
>
> After Chris did a great job on cleaning up dependencies and trying to
> update a lot of POMs it ended up in this comment related to
> https://github.com/apache/plc4x/pull/1423 and
> https://github.com/apache/plc4x/pull/1419
>
> "Yeah ... updating asciidoctor and the site plugin is a HUGE mess ...
> especially with the update of the doxia tools ... This seems to break
> EVERYTHING. Unfortunately the asciidoctor folks are planning on updating
> and releasing the asciidoctor plugin as soon as the site plugin in version
> 4 is finally released.
> asciidoctor/asciidoctor-maven-plugin#685
> See also related PR for updating the site plugin: #1419" - cdutz
>
> IMHO Dominik Riemer from the https://streampipes.apache.org/ team have
> neat
> setup with:
> https://github.com/facebook/docusaurus
>
> As soon as they push things to https://github.com/apache/streampipes
> It updates documentation on the website:
> https://github.com/apache/streampipes-website which is then deployed:
> https://streampipes.apache.org/
>
> Dominik offered to support us with the initial setup and I would vote for
> it.
>
> If this mail gets no objections after 72 hours I would ask Dominik to spin
> up a PR request to get started migrating to the docusaurus approach.
>
> Please comment and give feedback! Thank you!
>
> Cheers
> Lukas
>

Re: Switching from asciidoctor to docusaurus for improving / changing our website setup

Posted by Lukas Ott <ot...@gmail.com>.
Totally agreeing with your statement. As far as I understand
the streampipes setup works in a similar way. The website updates when you
push code changes to https://github.com/apache/streampipes if I understand
Dominiks statement correctly?

Of course we can also just wait until the 4.0.0 site plugin release and the
fixes.

And additionally I want to highlight that nobody wants you to spend your
weekend on fixing stuff!

I just like the way all the docs and stuff updates on the website when
StreamPipes does a new release.

@Dominik Riemer <ri...@apache.org>  Please elaborate how the setup works
and how much effort it would be to switch to Docusaurus from your
perspective.

If this change implies a lot more effort then we just stay with the current
setup. At least we have then documented on the mailing list about this
option :-)

Cheers
Lukas

Am Mo., 16. Sept. 2024 um 16:35 Uhr schrieb Christofer Dutz <
christofer.dutz@c-ware.de>:

> Admittedly the thing I love about our setup, is that you can simply update
> the website for our stuff in the development environment we’ve already got
> open.
> Current everything is working fine, and I don’t actually see the need to
> change anything right now.
> The Maven folks will finish the site plugin 4.0.0 some day and then the
> asciidoctor folks will provide an updated plugin.
> I know we suck at updating our documentation … for that I just updated at
> least the updating of our driver options to run automatically.
>
> Would this still work with docsaurus?
>
> I’m definitely not blocking any change, if the team wants to … I just
> don’t really see a need to do so and I’m not going to invest more weekends
> in fixing stuff because of such a switch.
>
> Chris
>
>
>
> Von: Lukas Ott <ot...@gmail.com>
> Datum: Montag, 16. September 2024 um 14:56
> An: dev@plc4x.apache.org <de...@plc4x.apache.org>
> Betreff: Switching from asciidoctor to docusaurus for improving / changing
> our website setup
> Hi PLC4X developers,
>
> After Chris did a great job on cleaning up dependencies and trying to
> update a lot of POMs it ended up in this comment related to
> https://github.com/apache/plc4x/pull/1423 and
> https://github.com/apache/plc4x/pull/1419
>
> "Yeah ... updating asciidoctor and the site plugin is a HUGE mess ...
> especially with the update of the doxia tools ... This seems to break
> EVERYTHING. Unfortunately the asciidoctor folks are planning on updating
> and releasing the asciidoctor plugin as soon as the site plugin in version
> 4 is finally released.
> asciidoctor/asciidoctor-maven-plugin#685
> See also related PR for updating the site plugin: #1419" - cdutz
>
> IMHO Dominik Riemer from the https://streampipes.apache.org/ team have
> neat
> setup with:
> https://github.com/facebook/docusaurus
>
> As soon as they push things to https://github.com/apache/streampipes
> It updates documentation on the website:
> https://github.com/apache/streampipes-website which is then deployed:
> https://streampipes.apache.org/
>
> Dominik offered to support us with the initial setup and I would vote for
> it.
>
> If this mail gets no objections after 72 hours I would ask Dominik to spin
> up a PR request to get started migrating to the docusaurus approach.
>
> Please comment and give feedback! Thank you!
>
> Cheers
> Lukas
>

AW: Switching from asciidoctor to docusaurus for improving / changing our website setup

Posted by Christofer Dutz <ch...@c-ware.de>.
Admittedly the thing I love about our setup, is that you can simply update the website for our stuff in the development environment we’ve already got open.
Current everything is working fine, and I don’t actually see the need to change anything right now.
The Maven folks will finish the site plugin 4.0.0 some day and then the asciidoctor folks will provide an updated plugin.
I know we suck at updating our documentation … for that I just updated at least the updating of our driver options to run automatically.

Would this still work with docsaurus?

I’m definitely not blocking any change, if the team wants to … I just don’t really see a need to do so and I’m not going to invest more weekends in fixing stuff because of such a switch.

Chris



Von: Lukas Ott <ot...@gmail.com>
Datum: Montag, 16. September 2024 um 14:56
An: dev@plc4x.apache.org <de...@plc4x.apache.org>
Betreff: Switching from asciidoctor to docusaurus for improving / changing our website setup
Hi PLC4X developers,

After Chris did a great job on cleaning up dependencies and trying to
update a lot of POMs it ended up in this comment related to
https://github.com/apache/plc4x/pull/1423 and
https://github.com/apache/plc4x/pull/1419

"Yeah ... updating asciidoctor and the site plugin is a HUGE mess ...
especially with the update of the doxia tools ... This seems to break
EVERYTHING. Unfortunately the asciidoctor folks are planning on updating
and releasing the asciidoctor plugin as soon as the site plugin in version
4 is finally released.
asciidoctor/asciidoctor-maven-plugin#685
See also related PR for updating the site plugin: #1419" - cdutz

IMHO Dominik Riemer from the https://streampipes.apache.org/ team have neat
setup with:
https://github.com/facebook/docusaurus

As soon as they push things to https://github.com/apache/streampipes
It updates documentation on the website:
https://github.com/apache/streampipes-website which is then deployed:
https://streampipes.apache.org/

Dominik offered to support us with the initial setup and I would vote for
it.

If this mail gets no objections after 72 hours I would ask Dominik to spin
up a PR request to get started migrating to the docusaurus approach.

Please comment and give feedback! Thank you!

Cheers
Lukas