Giter VIP home page Giter VIP logo

docs's People

Contributors

adamgfraser avatar afsalthaj avatar jczuchnowski avatar jdegoes avatar jorge-vasquez-2301 avatar justcoon avatar nicoburniske avatar vigoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Console docs section

complete console docs section

Original Nextra Layout

{
 "cli": {
    "title": "CLI"
  },
  "-- Console": {
    "type": "separator",
    "title": "Console"
  },
  "-- Troubleshooting": {
    "type": "separator",
    "title": "Troubleshooting"
  },
  "-- References": {
    "type": "separator",
    "title": "References"
  },
}

Troubleshooting docs section

complete troubleshooting docs section

Original Nextra Layout

{
 "cli": {
    "title": "CLI"
  },
  "-- Console": {
    "type": "separator",
    "title": "Console"
  },
  "-- Troubleshooting": {
    "type": "separator",
    "title": "Troubleshooting"
  },
  "-- References": {
    "type": "separator",
    "title": "References"
  },
}

Improve the guest language documentations

Currently we have the following documentation for supported guest languages:

"Building components"
=>  "Tier N"
=> => "Language"

For each the structure currently is basically:

  • Required tools
  • Very small mention of ability to use golem-cli new
  • Detailed description of how to do everything by hand from zero
  • For Rust there is a mention of golem-rust
  • For Rust and Go there is a section of how to do HTTP
  • For JS and TS there is a small section about how to use additional WIT dependencies but not much details

I propose the following changes:

  • Structure the page so that people arrive immediately to the list of Tier 1 languages, and keep the other few supported ones in somewhere deeper in the tree
  • For each Tier 1 language, have the following sections:
    • Prerequisites (what to install and how) - should be prepared to have docs for more than just OSX
    • Quickstart with golem-cli with a concrete example from 0 to having the WASM (we should have a default 'getting started' example in golem-examples for each tier 1 language)
    • Section about how to export interfaces, custom data types and resources (whether requires editing WIT and where to put it, and how it looks in code)
    • Section about importing interfaces
    • Section about using HTTP (in Rust and Go it should only mention the reqwest/go libraries)
    • Section about using the transaction API (in Rust refer to the golem-rust lib, for others now just build on the previous sections on how to import it - explanation of the API is on the separate top level page)
  • In other top level pages (Worker to Worker communication, Transactions, Promises) make sure to:
    • They describe the general concept and usability in a language-independent way
    • They link to the appropriate parts of the restructured guest language pages to learn how to use them in each language
    • There should be a golem-cli new ... example for each of these for each supported language that provides a good starting point and example people can look at
    • Maybe we could have per-language sub pages highlighting parts of these examples so it is also browsable as part of the webpage and not just if you generate it for yourself

Protoc install process

So, the golem docs mention that you need version 15+, then say "just use brew."

For those of us who aren't on Mac, we're sent to the protoc website, which has a helpful script to install it.

Unfortunately, it grabs version 3.14.

So, having a look at those scripts, then modifying them to grab a newer version, and having them in the docs would be enormously helpful.

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.