On Thu, 14 Jul 2022 at 15:00, Michael Bien <mbie...@gmail.com> wrote:
>
> On 14.07.22 15:51, Jean-Marc Borer wrote:
> >
> > Is there a possibility to preview the changed asciidoctor page without
> > saving (committing) it?
>
> you commit to your clone of the website. Then you can create a PR to the
> actual website. You can preview the markup on github which looks
> similar. Don't know if there is a way to preview it in its final form.

Sure.  You'll need JDK 8 or 11.

cd netbeans.apache.org
./gradlew clean buildSite
./gradlew run

Open localhost:8080 in browser.

If a change doesn't show up, usually just SASS, try ./gradlew clean
buildSite --rerun-tasks

> > When is the site regenerated with the latest content on github and
> > which branch is used for that?
>
> don't know how often it happens (last time I edited something it
> happened right away). I suppose its master.

Regenerated on commits to master and built by
https://ci-builds.apache.org/job/Netbeans/job/netbeans-website/

Built content is then pushed to
https://github.com/apache/netbeans-website/tree/asf-site

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to