Git Product home page Git Product logo

documentation's People

Contributors

dependabot[bot] avatar greenimp avatar maiki avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

harpygg mcajben

documentation's Issues

UMD still using full path

The UMD example in the number generator example is still using the full path, whereas that's not necessary anymore.

This should be changed to just the package name.

Also check other pages to see if it's like that elsewhere.

Auto generating API docs

See if we can generate the API section directly from the code, and merge it with vuepress.

It would be good if we could get this in a git hook within the library repo, that compiles and pushes to this repo .

Add info on exporting and importing dice rolls

There's currently no information on how to export and import dice rolls on the DiceRoller and DiceRoll objects, other then briefly in the API section.

There should be examples, and proper descriptions in the usage section.
Also links in the features list.

Algolia search not working

After upgrading to Vuepress v2, the DocSearch / Alogolia search is no longer working. I'm currently in discussion with Algolia to get it running again, but wanted to raise it here in case anyone else wondered what was going on.

Update setup instructions for CommonJS on Node

Currently, the CommonJS instructions have examples for both Node 12+ and Node < 12.

The library doesn't support Node < 12, however the browser support section notes that it should work on Node 11 as well.

We either need to;

  • Remove all references to Node < 12 in the setup instructions, and change the browser support notice to state that we only support 12+
  • Or, add a note on the setup guide to check the browser support section

Add API docs for Dice

The die objects aren't described in the API section. It would be sensible to add a page for dice which explains the basic interface for the StandardDice, explains that they're all the same interface, but with some slight difference it return values.

Example of average roll uses `minTotal`

In the examples, the "average total" example uses the minTotal property, rather than averageTotal:

// get the average total:
console.log(`Average total: ${roll.minTotal}`);
// Average total: 66

Should be:

// get the average total:
console.log(`Average total: ${roll.averageTotal}`);
// Average total: 66

Document upgrade steps

It could be beneficial to have an upgrade section, detailing how to upgrade from v4 to v5.

Missing favicon

The documentation website is missing the favicon. We should look at getting this added in.

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.