Coder Social home page Coder Social logo

Changing the "site" directory about sbt-site HOT 5 CLOSED

sbt avatar sbt commented on May 28, 2024
Changing the "site" directory

from sbt-site.

Comments (5)

jsuereth avatar jsuereth commented on May 28, 2024

Well, I cheated a bit. You want:

sourceDirectory in makeSite for the source and
target in makeSite for the target.

These are both task-scoped, not config scoped. I could probably fix that up a bit. Does that help?

Also, now that I've released, I almost want ot dogfood do generate a documentation site for the site pluign :)

from sbt-site.

etorreborre avatar etorreborre commented on May 28, 2024

I wrote this:

siteSourceDirectory := new java.io.File("target/specs2-reports")

and this works for me. But I suspect that this is not the right way to do because "target" is hard coded. How would you have written it, with sourceDirectory and target?

from sbt-site.

jsuereth avatar jsuereth commented on May 28, 2024

siteSourceDirectory <<= target apply (_ / "specs2-reports")

from sbt-site.

etorreborre avatar etorreborre commented on May 28, 2024

Thanks Josh.

from sbt-site.

pvlugter avatar pvlugter commented on May 28, 2024

Any reason for this issue to remain open? Closing it.

from sbt-site.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.