prettier-java icon indicating copy to clipboard operation
prettier-java copied to clipboard

Create Demos/Playground

Open bd82 opened this issue 5 years ago • 6 comments

Examples:

  • https://github.com/SAP/ui5-typescript/tree/master/demos/demo-js
  • https://github.com/bd82/toml-tools/tree/master/test-packages/test-prettier-plugin-toml

Note both these mini example packages include links to gitpod.io workspaces so no needs to clone and setup an env locally 😄

bd82 avatar May 07 '19 16:05 bd82

@bd82 Hello, I am working on a playground that I want to publish on github page. Here is a first version you can try https://shaolans.github.io/prettier-java-playground/ I think it still needs some tweaks but it is working, I was thinking whether we should add it to the Prettier-java project or keep it on a separate repository

Shaolans avatar Jul 31 '19 20:07 Shaolans

You could have changes that affect both the playground AND the source code, e.g adding new options so that is a reason pro using the same repo.

Also using the same repo (docs folder) as the basis for the GH pages makes automated dev ops processes easier.

So I would start with the same repo.

bd82 avatar Jul 31 '19 21:07 bd82

You may also want to have some default "hello world" sample source code on that page. 😄

bd82 avatar Jul 31 '19 22:07 bd82

Adding a bounty on this

pascalgrimaud avatar Nov 18 '19 20:11 pascalgrimaud

I created a POC here: https://clementdessoude.fr/ WDYT ?

The code can be found on the branch create-docs-site of my fork

clementdessoude avatar Mar 01 '20 19:03 clementdessoude

@clementdessoude really nice!

murdos avatar Mar 19 '20 15:03 murdos