-
Notifications
You must be signed in to change notification settings - Fork 443
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
Docs do not accurately describe how to install plugin #797
Comments
Thanks for your report. This isn't ideal. I'm not that familiar with sphinx, but there should definitely be an option to use the full version. On the github page we do have the bintray version badge and the docs states |
The docs can reflect the current version by putting a variable into the documentation file IOW, put this variable into
I can do a PR, but I'm not sure what task handles generating the sphinx documentation. That task needs to include the preprocessing. If someone can tell me where that happens and what makes sense for including preprocessing, I can do this pretty easily. |
We migrated to readthedocs.org to support multiple documentation versions. What we haven't done yet is redirecting the scala-sbt.org address. This is due to the fact that the API documentation is still hosted on github. This leads to the following state:
Readthedocs builds the documentation from src/sphinx. Version numbers are fine here as readthedocs uses the tag to display the version. I guess setting the correct |
Thanks for the really clear explanation. Since I've always been starting at github, I've always been viewing scala-sbt.org/sbt-native-packager/ -- and so didn't realize that that sbt-native-packager.readthedocs.io site existed and was different. Right now, I just want to get the code example in Getting Started to display helpful info and the current version. Something like: Sbt-native-packager is an AutoPlugin. Add it to your plugins.sbt
The current version is 1.2.0 The version for the package (in build.sbt) is In doing some digging and testing, I learned that sphinx already has variables for EDIT: On second thought, if your build process for Read The Docs is standard, then Read The Docs is going to get values (like the version and copyright info) from the Let me know if there's an easy way to get the version without the qualifier (or not) and I'll do the PR. |
That's still a problem, yes. Not sure what's a good solution to this ( hadn't had the time to think about it).
You smelled right.
Currently read-the-docs does the right thing. So I'm not sure if we need to change anything there? |
This is still a problem. An easy fix would be to add a link to the releases page on Github so the user can easily find out about available versions. |
That's a good suggestion @ennru My idea was to add a simple sbt task that replaces the version in the |
Fixed in #1084 |
There is nothing helping on the internet for this kind of issue:
The correct line in the addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.9") |
read the docs is a mess I haven't been able to fix until now. There are doc pages for older versions that still contain the old description. |
Top hit in google: http://www.scala-sbt.org/sbt-native-packager/
Getting started says:
Version shown in the docs
1.1
Fail :(
[warn] :: com.typesafe.sbt#sbt-native-packager;1.1: not found
Root cause is the artifacts are being published under a different version string (
1.1.0-RC1
) to what the docs advertise.The text was updated successfully, but these errors were encountered: