Giter VIP home page Giter VIP logo

docs2's Introduction

Mina logo

Mina Docs

This Mina Docs website is docs.minaprotocol.com.

To contribute content

Thank you for your interest! See the docs CONTRIBUTING guidelines.

How to see your doc updates during development

The docs output is generated by a CI pipeline which means that we can update the docs site whenever we want, so the Mina Docs website always contains the most up-to-date content available.

During the documentation build process, each PR goes through Vercel CI to test the doc updates and build a preview of your changes. Vercel for GitHub automatically deploys and provides preview deployment URLs. After the PR status is ready, click Visit Preview and navigate to the changed page to see your doc updates.

Sometimes it is helpful to see local updates before you push changes to GitHub.

Local builds require node, version 16 precisely. One way to install NPM is to rely on nvm. Use the following commands to install nvm and npm:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install v16

After that, to run a local build:

git clone https://github.com/o1-labs/docs2.git
npm install
npm run dev

How to run in production

On the host:

  • Set environment variables: ALGOLIA_APP_ID and ALGOLIA_SEARCH_API_KEY to appropriate values
  • Set build command: npm run build
  • Set output directory: build
  • Set install command: npm ci

docs2's People

Contributors

martinminkov avatar iregina avatar jasongitmail avatar barriebyron avatar jackryanservia avatar ymekuria avatar es92 avatar mitschabaude avatar duncand0nuts avatar trivo25 avatar rjdellecese avatar bkase avatar dannywillems avatar omahs avatar sahilmahendrakar avatar damian-o1 avatar garethtdavies avatar keivinonline avatar calebcurry avatar xrd avatar cris-f avatar hm0429 avatar km1414 avatar legitmaxwu avatar nicc avatar nikbhintade avatar halsaphi avatar stefanalfbo avatar ejmina226 avatar hanselke avatar

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.