Git Product home page Git Product logo

sanctuary-site's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sanctuary-site's Issues

Dependabot Alert

I keep getting the an email with the following from GitHub. Seems like it should be a straightforward upgrade.
Screen Shot 2022-02-08 at 12 50 56 PM

Add sanctuary-def and sanctuary-type-classes

At the moment, it's a bit of a mishmash keeping tabs on the docs between sanctuary,sanctuary-def and sanctuary-type-classes. It would be nice if we could bring the docs for these projects into the site.

One way we could do this is by adding a new "button bar" element fixed to the top right that could be used to toggle between the library docs. We could also put other things like the search from #11 next to it to have it look sort of like:

new mockup 1

One thing to consider will be how to handle doclinks. We could build out each repo as it's own static page and just link them together like that, or we can be a bit fancy using javascript and have prefixs for url hashes so that you could link to Z.map with https://sanctuary.js.org/#Z.map.

Add logo as favicon

It would be nice if the docs used the logo as a favicon so I could find the tab after using chrome for little while.

Assuming this is all fine, I can make a PR for this.

What's Z?

Hi there,

Just came across sanctuary and while reading the doc, suddenly Z.toString then Z.equals starting popping up but there's no definition of what Z is.

What is Z? And could you introduce it in the docs?

Thanks!

Jun

improve discoverability of editable snippets

@foxdonut, on Gitter:

Wait, you can type into the code examples of https://sanctuary.js.org and see the results?! :mindblown:

Let's find an unobtrusive way to draw attention to this feature. One option is to display a dismissable banner to inform the reader about the feature. When the banner is dismissed we could save a cookie or add an entry to local storage so the reader will not see the banner again.

/cc @RomanValihura, @JAForbes, @laduke

Note about vite and checkTypes

I found a gotcha when using sanctuary and vite, that makes sanctuary about a hundred times slower ;)

According to vite - Env Variables and sanctuary - Type checking, it looks like you automatically disable type checking when you create a vite build using npm run build. But due to the way that vite substitute process.env.NODE_ENV with either development or production and how sanctuary is detecting process.env.NODE_ENV, you will not disable type checking!

The work-around is:

import sanctuary from 'sanctuary';
const S = sanctuary.create ({ checkTypes: import.meta.env.DEV, env: sanctuary.env });

You can not currently set process.env.NODE_ENV manually in vite. As of writing, vite is version 2.9.6.

I wanted to create a PR for this to update the type-checking or installation section but checking that it looks good is a little more involved than I have time for currently. So this is serve as a reminder :)

redirect from plaid.github.io to sanctuary.js.org

Since we don't control the server we can't perform 301 redirections, but we can at least use JavaScript to perform client-side redirections.

I plan to submit a pull request this evening for this change.

Table of Contents?

It's kind of hard to find functions. Should we add a real simple table of contents?

Add a sidebar with search and list of functions

Hello,

I am really enjoying sanctuary, but the documentation is being very hard to navigate.
The main reason is because I have to scroll up and down all the time. I have to go to the top of the page to see the index, look for what I'm looking for and then click on the reference. This happens hundreds of times on a single day, and it's being exhausting. Specially when you are just starting.
On this regard ramda (and lodash) has made a terrific job on making the functions accesible. It's very easy and pleasant to navigate the documentation. Could something like this be added to sanctuary docs ?

Thanks in advance and keep up the good work.

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.