Giter Site home page Giter Site logo

tauri-docs's Introduction

Tauri Docs

This website is built using Docusaurus 2 with MeiliSearch for the docs indexation and is deployed by Netlify.

Deploys By Netlify

If you seek to change something from our guides, please refer to the docs folder from the Core repository.
When browsing the website, you will find edit links at the bottom of these docs.

The API docs are generated from our Rust and TypeScript source code.

In the end, as the guides and the API live in the Core repository, tauri-docs just holds the components and various pages that don't need to follow the Core repository version; this way, we don't pollute the Core repository with commits, PRs or issues related to the website only.

Installation

$ yarn

Local Development

$ yarn start

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

Note that only English language is supported during development phase in order to keep a small build time.

Build

$ LANGUAGE=${language} yarn build --out-dir ./build/${language}

This command generates static content for a given language (default is "en") into the build/${language} directory and can be served using any static contents hosting service.

To build for all enabled languages, use:

node build.js

supported-languages.js is the module containing the enabled/targeted languages for Tauri documentation site.

Uncomment a language when at least "Getting started" and most of "Usage" docs are translated.

Deployment

$ GIT_USER=<Your GitHub username> USE_SSH=true yarn 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.

Contributing

Writing/fixing docs

Feel free to open an issue/a PR if you find something weird in the docs.

Your PR once submitted to us, will automatically deploy to a temporary Netlify instance for us or you to review through GitHub's CI/CD checks: you will be able to click on a preview link once the build is ready.

Internationalization (i18n)

We're working with Crowdin to manage translations, if you feel like you want to lend a hand for translations, take a look at the documentation project: https://tauri.crowdin.com/documentation

To enable a language on the documentation website, we need to (at least) have the following items translated:

  • strings from en.json;
  • docs/about/intro.md and docs/about/security.md;
  • all files in docs/getting-started;
  • all files in docs/usage/development;

Please ignore the following items for now since breaking changes may happen frequently:

  • docs/api;
  • docs/tips;
  • all files in docs/usage/ci-cd;
  • docs/usage/contributor-guide.

License

MIT License

Copyright (c) 2020-2021 Tauri Programme within The Commons Conservancy

tauri-docs's People

Contributors

adunkman avatar alvelarsson avatar amrbashir avatar atinba avatar benoitranque avatar bobaekang avatar brettcannon avatar chippers avatar cktang88 avatar crapstone avatar dardin-dale avatar davidbeermann avatar dependabot[bot] avatar derpdays avatar grepme avatar jbolda avatar jwenjian avatar laegel avatar leesiongchan avatar lemarier avatar linden avatar lucasfernog avatar lukethacoder avatar nklayman avatar nothingismagick avatar probablykasper avatar rhysd avatar samirdjelal avatar tauri-bot avatar tensor-programming avatar

Watchers

 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.