Open dongxuwang opened 10 months ago
@dongxuwang Do you want to provide a pull request to fix that?
@dongxuwang Actually you can run the documention locally by cloning this repository and then
cd documentation
sbt run
The docs can be found here: https://github.com/playframework/playframework/tree/main/documentation and the css is in the styles
folder in there.
@mkurz as per the latest main branch I cannot see the copy button when I executed sbt run
locally. Is that removed from source code?
No it's not removed. Maybe in dev mode locally it does not show up because of how things are configured or maybe CSP kicks in and blocks a js file.
@mkurz If you could guide me through how to enable those buttons locally I will try to fix this issue. I'm currently on mac m1.
Thank you
@mkurz added a PR for this kindly verify ~https://github.com/playframework/playframework/pull/12533~ https://github.com/playframework/playframework.com/pull/578
For example, in this page: https://www.playframework.com/documentation/3.0.x/ScalaActions
Right above the section "Controllers are action generators", you might see that COPY button in the right corner of the code box would move if scrollbar move