Giter Site home page Giter Site logo

jina-ai / docs Goto Github PK

View Code? Open in Web Editor NEW
35.0 31.0 17.0 269.28 MB

Jina V1 Official Documentation. For the latest one, please check out https://docs.jina.ai

Home Page: https://docs1.jina.ai

CSS 35.20% HTML 46.04% Shell 5.88% Makefile 1.23% Python 11.65%
jina neural-search jina-search docs sphinx-doc doc-star

docs's Introduction

Jina Documentation

CD Release

“Open source is this magical thing right? You release code, and the code gnomes come and make it better for you.

Not quite. There are lots of ways that open source is amazing, but it doesn’t exist outside the laws of physics. You have to put work in, to get work out.

You only get contributions after you have put in a lot of work. You only get contributions after you have users. You only get contributions after you have documentation.”

From @ericholscher guide to writing docs

Table of contents

Hierarchical structure

Jina documentation adheres to the following hierarchical structure. Each Jina product has its own section, containing three subsections below.

Overview A high level conceptual overview of the product. Introducing terms and broad architectural concepts. Content here should apply to all Jina users. For example, all users should understand what a Pod is, but only some users need to understand deployment on a GPU.
Developer Guides Are technical how-to guides/tutorials which describe product features or implementations. Assumes basic knowledge of the product and related terms.
API References Are detailed descriptions of the product API. Possibility auto-generated from docstrings or open API references. Describes how the methods work and which parameters can be used.

Missing content

If you find a gap in our documentation, please submit a GitHub issue here.

Documentation process

All documentation should follow the same process as any other PR:

  1. Every developer who wrote the code should also write the Documentation.
  2. Documentation engineer will review the PR.
  3. After the PR is approved by the Doc-engineer it will be reviewed/edited by a technical writer.
  4. It will be reviewed once more and approved by Doc-engineer.

How to add pages

For getting started pages and developer guides:

  1. Read Documentation Style Guide

  2. Using Git, clone the repo: git clone https://github.com/jina-ai/docs .

  3. Create a git new branch: git checkout -b fix_pods .

  4. Use a template from the page_templates folder. We want to have an uniform structure in all of our docs, so we provide two templates for you to use:

  5. Your commit messages should following the standard Jina format seen here.

  6. Add your file to the chapters folder.

  7. Add your file to a table of contents.

  8. Push your branch and create a pull request. Add at least two people as reviewers for your PR. One product manager and one documentation engineer.

You can use Markdown or reStructuredText format. To preview how the docs website will look with your changes, navigate to checks and click 'preview with netlify'. After the pull request is merged, the website will automatically update.

Extra guides

  • A guide to RST can be found here.
  • A guide to MD formatting can be found here [Note that MD is more limited in functionality then RST].

Updating Docstrings

See details here.

Jina style guide

All documentation should follow this style guide.

Build docs locally

#Clone the code.
git clone https://github.com/jina-ai/docs.git

#Install dependencies.
pip install -r requirements.txt

# Clean & build docs locally
make dirhtml

# Serve the docs website with Python 3
python -m http.server 8080 -d _build/dirhtml

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.