Giter VIP home page Giter VIP logo

docs's Introduction

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

Install just and node. Running just will list all recipes:

$ just
Available recipes:
    clean
    run *args
    spellcheck
    start      # Start the development server. Automatically installs dependencies.
    test

Local Development

$ just start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

You can check your changes using just test.

Build

$ just run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true just run deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> just run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

docs's People

Contributors

bhelx avatar nilslice avatar zshipko avatar mhmd-azeez avatar neuronicnobody avatar dependabot[bot] avatar g4vi avatar chrisdickinson avatar wikiwong avatar gamote avatar olliephillips avatar

Watchers

Spiro Floropoulos avatar  avatar  avatar  avatar

docs's Issues

CLI manifest flags undocumented and not part of the --help output

Suggested minor improvement for docs and CLI help output. The manifest flags available on the CLI application are largely undocumented and not output on --help either.

For instance --allowedHosts

Perhaps I can submit a PR for the documentation if you agree there is a gap here? Possibly the CLI help output also.

Move SDK and PDK Docs closer to the code

Create Quickstart guides for SDKs and PDKs

  • All docs should be written to start with the simplest copy-pasteable example of getting things running. The quickstart approach.

    • This should be flawless and work every time.
    • After that section there should be sections about variables, configs, http, etc.
    • There should be a section focused on Host Functions as well.
    • There should be a concise example showing how to get strings in and out of a wasm plugin.
    • (4 hours)
  • Should show simplest way to use a Host SDK

  • At the end of the guide we should link to the actual repos / docs for the SDKs you are using to learn more. The goal should be to show the flexibility of choosing a host and guest language as well as get someone to that “success” point as quick as possible.

  • Should show the simplest way to write a plugin (or download one)

  • You should be able to click a tab to switch languages.

  • The examples will be loaded directly from Github using docusaurus plugin

  • Examples will be integration tested in the repos

  • (16 hours)

Document `EXTISM_ENABLE_WASI_OUTPUT`

EXTISM_ENABLE_WASI_OUTPUT=1 will enable any write to stdout or stderr from the plugin (using WASI) proxy to the host's stdout or stderr.

cc/ @chrisdickinson (once this is done in JS, we should put it in the docs. if we don't get it into the JS SDK, we can document it as such)

Errors / FAQ Page

  • Errors / FAQ Page
    • Mostly a traditional FAQ page but would contain common errors as well
      • We should look through Discord and Issue tracker for sourcing these
    • easily searchable
    • We’d be able to easily link to these with a header from exceptions. For example, the common WASI error message could link to: https://extism.org/faq/#err-42-wasi-functions-not-present
    • (8 hours)

Update main docs / marketing site

  • This is the “main” marketing site too, so we should have some nice graphics/assets to dress it up with.
  • Positioning: the WebAssembly Framework vs. Universal Plug-in System
    • Use cases:
      • Plug-in System
      • Serverless / FaaS
      • Web Applicationsd
      • Web hook replacement (run customer code, don’t send events)
    • Demos of each use case would be great to showcase

Revamp: https://extism.org/docs/overview

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.