-
Notifications
You must be signed in to change notification settings - Fork 8
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
Simplify the setup of Play docs #104
Comments
With (1) I think it should move into the Play repo, so it can be assimilated and replaced with Paradox. With (2) I think the build relationship should be flipped and the documentation root project should be a project of the main build. With (3) and (4) I need to understand better what With (5) is the best we can do right now (AFAIK). |
I can explain play-docs and play-docs-sbt-plugin. Way, way back, there was the idea that when you ran Play, you could always get to the documentation by going to localhost:9000/@documentation and you could write code inside of a running Play app while looking at the documentation. This is what play-docs does in the DocumentationHandler, and play-docs-sbt-plugin is the sbt hook to get all the documentation in place around it. I've always found this to be lacking. If you have a compile error such that the application can't start, or you mess up build.sbt, you can't read the documentation. So I think most people go to playframework.com/documentation and aren't even aware that there's a built-in documentation sbt plugin. Frankly, I don't think anyone would miss it if it were gone or replaced by static PDF / zipped HTML pages etc. |
Ah, yes, makes sense. And play-docs-sbt-plugin (AutoPlugin |
NOTE: |
Antora seems the way to go 😉 |
These are the various "doc things" in Play:
So:
play-doc
is the Play's homegrown documentation rendering librarydocumentation
directory in the Play repo holds all the reference docs, which includes functioning code snippets, some of which are also tests, and is a separate sbt build that adds the main Play build into the build state.play-docs
project in the main build I don't know how it's usedplay-docs-sbt-plugin
project I also don't know, and contrary to my gut it isn't an sbt plugin shim aroundplay-docs
... it's something else.play-generated-docs
is a derivative git repo with the rendering of the docs.Do we need all this? Let's discuss how to simplify this.
The text was updated successfully, but these errors were encountered: