Comments (14)
Yes! 💯
from cats.
👍 We had very good experience with sbt-doctest in scalaz-stream.
from cats.
So I have to confess that my experience with Scala libraries is that I find markdown guides/docs to be a lot easier to read/use than ScalaDocs. Am I alone here?
I think we probably want to use sbt-doctest
for ScalaDoc, but I also want to try to have some kind of narrative user guide document that is verified using tut
as well.
from cats.
I guess we should also set up a gh-pages branch to publish all this fantastic typechecked documentation. Should that be a distinct issue?
from cats.
Yeah, let's open another issue for gh-pages.
from cats.
sbt-pamflet is the thing that @tpolecat said was "like tut but Eugene knew what he was doing". It looks promising.
If I recall correctly, tut has some features missing in sbt-pamflet like imports that carry through the whole page and the ability to show examples that intentionally don't compile. I think the main problem with tut right now is that it puts scalaz 7.1 onto the user's classpath which causes issues for users on previous versions of scalaz. @tpolecat do you envision your tut work being incorporated into sbt-pamflet, or do you think these will remain separate projects?
from cats.
@ceedubs why is scalaz 7.1 a problem here?
from cats.
@stew I suppose that wouldn't be a problem for cats.
from cats.
@ceedubs I haven't really given it any thought. tut
does have some features Eugene's thing doesn't have, and as @stew noted the scalaz dep doesn't matter for us. I'm not really a fan of pamflet output; it's great for linear storytelling but I don't think it is as effective for technical doc. I also click on the enormous margins ALL THE TIME and spend most of my time trying to figure out what just happened. But that's just me.
tut
has the benefit of being very very simple, and we can change it freely to suit our selfish needs. We would need to set up the gh-pages (#44) to use jekyll to render markdown since tut
doesn't do that.
I'm happy to set this up but I won't have time for a few days.
from cats.
👍 to tut, I think the fact that we clearly have the tut authors attention will come in handy.
I have taken ownership of #44 and I'll submit a PR this evening which sets up gh-pages with jekyll, I have a start on this, I just need to move it along a little farther
from cats.
It sounds like there's a consensus on tut. Let's make it happen!
from cats.
@tpolecat we have some gh-pages now as #44 is closed, I heard you might have some experience with tut. Can you get us started?
from cats.
Yeah I'll ping you after the sun comes up to get the story on gh-pages.
from cats.
This was finished a while ago! http://non.github.io/cats/
from cats.
Related Issues (20)
- `Apply` syntax is allocating HOT 2
- add `sizeIs` method like std-lib to `cats.Reducible` and/or NonEmpty collections HOT 1
- Maybe you are looking for `as`? :) HOT 2
- Fix documentation (or design) of Free Monad
- Type-classes for Prepend (Cons) and Append (Snoc) operations HOT 5
- Scala 3: No given instance of type cats.Applicative[[_] =>> Any] was found for parameter F of method apply in class PurePartiallyApplied
- Unusual EqLaws definition HOT 4
- Outdated Link in Docs - Seeking Guidance for Fix HOT 1
- algebra-core/src HOT 1
- Option size method implicitly selected from UnorderedFoldable HOT 2
- IndexedStateT has superfluous parts HOT 4
- .splitWhen
- Difference in the Applicative inferred for Seq[Seq[?]]#sequence between Scala 2 and 3
- Inconsistent behaviour when using Eval as Applicative
- `Tuple1SemigroupalOps` methods have different names from other `TupleNSemigroupalOps` classes HOT 3
- Instances for Currency HOT 7
- EitherT[Option, ?, ?]] can't be used as a bifunctor HOT 5
- trait EuclidianRing should not be a Ring HOT 4
- OutOfMemoryError when IO.uncancelable is used in recursive function HOT 1
- ambiguous implicit resolution of `Show.ContravariantShow[immutable.SortedMap[K, V]]` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cats.