Skip to content
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

Document sbt-site with Paradox #84

Merged
merged 1 commit into from
Dec 13, 2016
Merged

Document sbt-site with Paradox #84

merged 1 commit into from
Dec 13, 2016

Conversation

jonas
Copy link
Member

@jonas jonas commented Dec 12, 2016

Splits the heavy README file into a Paradox site with one page per
generator. The main content (setup, scaladoc, preview and publish) was
moved to a "Getting Started" page.

Many code snippets are now derived from the scripted tests which
uncovered several issues. One problem that has not been fixed in this
commit is use of requiredGems which conflicts because it is defined in
both the nanoc and the jekyll auto plugins.


It can be seen here: https://jonas.github.io/sbt-site/index.html

Splits the heavy README file into a Paradox site with one page per
generator. The main content (setup, scaladoc, preview and publish) was
moved to a "Getting Started" page.

Many code snippets are now derived from the scripted tests which
uncovered several issues. One problem that has not been fixed in this
commit is use of `requiredGems` which conflicts because it is defined in
both the nanoc and the jekyll auto plugins.

Each of the other generators follow a similar pattern (e.g. `JekyllPlugin.jekyllSettings(config("foo"))`).
The documentation is available at <https://sbt.github.io/sbt-site/>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it would be possible to somehow (e.g. from Travis) publish it under http://www.scala-sbt.org/sbt-site/ similar to http://www.scala-sbt.org/sbt-native-packager/ ?

/cc @dwijnand @eed3si9n

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

http://www.scala-sbt.org/sbt-pgp/ also does it.

I'm not sure how, but I don't think it would be difficult to do on Travis CI.

@muuki88 Do you know how you publish your docs to http://www.scala-sbt.org/sbt-native-packager/ ?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't configured it, but I'm sure it's done with Github pages custom domains.

@jsuereth is the single source of truth I guess 😎

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, then it must be the CNAME file in the sbt.github.com repo which does the magic and the sbt-site repo just needs to add/enable the gh-pages branch similar to sbt-native-packager.

siteSubdirName in Jekyll := "notJekyllButHyde"
//#siteSubdirName

/* FIXME: This currently fails
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created #85 to track this

@metasim metasim merged commit e9dc03a into sbt:develop Dec 13, 2016
@jonas jonas deleted the paradox-site branch December 14, 2016 00:51
@jonas jonas modified the milestone: 1.2.0 Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants