GithubHelp home page GithubHelp logo

zeppelinos / zos-docs Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 8.0 2.22 MB

:warning: Deprecated repo in favour of https://github.com/zeppelinos/zos

Home Page: https://docs.zeppelinos.org/

JavaScript 100.00%

zos-docs's People

Contributors

come-maiz avatar deadpine avatar facuspagnuolo avatar fiiiu avatar frangio avatar maraoz avatar martriay avatar nventuro avatar raucao avatar spalladino avatar theethernaut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

zos-docs's Issues

Add versioning to the reference section

Docusaurus is able to handle different versions of a project, but we are not currently using this feature. Once we have more releases, it would be useful to have the reference section documentation reflect the different versions. The main hurdle with versioning is the syncing of the two repos: zos-lib and zos-cli.

Before tackling this, we probably want to have fully automated the reference section generation (#77).

Crafting Game Demo Documentation

Markdown file with an explanation of the Crafting Game from the perspective of ZeppelinOS.

Placeholder file in zos-docs/docs/docs/crafting.md. Keep current header:

---
id: crafting
title: Crafting
---

and don't add a top level (#) title.

Review styling on docs

Once we release 2.x on docs, we should review everything from a design perspective to make sure this sort of thing doesn't happen:

screenshot from 2018-10-10 11-32-48

Basil Demo Documentation

Markdown file with an explanation of Basil from the perspective of ZeppelinOS.

Placeholder file in zos-docs/docs/docs/basil.md. Keep current header:

---
id: basil
title: Basil
---

Fully automate the generation of the reference section

Right now, the reference section is generated in a partially automated form, using gen-docs for zos-cli, and solidity-docgen for zos-lib, and then pruning the corresponding outcomes and merging them manually.

We need to provide a script to do all of this, plus maybe the deployment, in a fully automated way. This will likely be most easily achieved by tweaking gen-docs (zeppelinos/zos-cli#143) and solidity-docgen to conform to the required pattern, and then simply merge with a script.

This pertains the generation of the .md files in the docs/docs/ folder, as well as the sidebars.json file. Finally, this is the first step towards having automated versioning for the docs (#78).

Documentation of zos-lib for central docsite

Also known as README refactor, keep a minimal README.md in zeppelinos/zos-lib/, and refactor the rest of the contents to be hosted in zeppelinos/zos-docs/.

The contents of zeppelinos/zos-lib/README.md should be replicated in zeppelinos/zos-docs/docs/docs/libfront.md. There is a placeholder file there already, please keep the following header:

---
id: libfront
title: ZeppelinOS LIB API
sidebar_label: Library
---

This file should contain links to other .md files to be stored in zeppelinos/zos-docs/docs/docs/. A sidebar with these contents will be created for the Library, keep in mind that it doesn't allow nesting.

Update README

README is updated, modify with info on how to setup Docusaurus, and generate the CLI API and the Lib API. Still some manual tweaking required for integration.

End-To-End Building Guide for Basil Demo

Produce a guide explaining the end-to-end process of developing smart contracts using ZeppelinOS in Markdown format.

Placeholder file at zos-docs/docs/docs/building.md. Please keep the header:

---
id: building
title: Building
---

[Moved to zos-docs/docs/docs/basil.md as Basil Demo].

Redesign doc site architecture

We should consider the new content we are planning to add to the docs site and think about how it could be re-designed to arrange it in the most proper way to ensure a good experience for users.

Topics that will be added/updated:

Add zos-lib/encodeCall documentation in advanced guide

Truffle does not know how to resolve functions with matching name but different arity, so contracts that inherit from certain openzeppelin-zos contracts, such as the mintable ones (which have both Ownable and DetailedToken initializers) will throw when their initialize function is called from truffle. zos create handles this fine, since it encodes the parameters on its own, but users will want to call initialize manually on their tests.

The current solution to this issue is to install zos-lib and use the same helper function zos create uses, encodeCall, which receives the signature of the function (including argument types) and the arguments, and crafts the call data, which can then be sent in a raw call. Example.

We should document this, at least in the advanced guide.

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.