Code Monkey home page Code Monkey logo

fluiddoc's Introduction

FluidDoc

English | 简体中文

Introduction

FluidDoc consolidates all the documentations related to Paddle. It supplies the contents to PaddlePaddle.org via CI.

Architecture

FluidDoc submodules Paddle, Book under external folder. All submodules should be put under external as standard practice.

FluidDoc then uses them as references to load up the documents. The FluidDoc constructs the whole doc-tree under the FluidDoc/doc/fluid folder. The entry point is FluidDoc/doc/fluid/index_cn.rst and FluidDoc/doc/fluid/index_en.rst

When a release branch is pushed to Github, Travis-CI will start automatically to compile documents and deploy documents to the server.

Note:

FluidDoc needs Paddle python module to compile API documents. Unfortunately, compiling Paddle python module takes longer time Travis CI permits. Usually Travis CI will fail due because of timeout. That's why there three jobs on Travis, two of them are to build libraries. Once the libraries are cached on the Travis, next build will be a lot faster.

Preview with PPO

To preview documents constructured by FluidDoc. Please follow the regular preview step, but replace the path to paddle with the path to FluidDoc ./runserver --paddle <path_to_FluidDoc_dir>

Publish New release

  1. Checkout a new release branch. The branch name should follow release/<version>
  2. Update the documentations on the submodules or within FluidDoc
  3. Make sure all the submodules are ready for release. Paddle, book should all have stable commits. Note: Paddle repo should update the API RST files accordinly if Paddle changes the included module/classes.
  4. Update the submodules under external folder and commit the changes.
  5. Git push the branch to Github, Travis CI will start several builds to publish the documents to the PaddlePaddle.org server
  6. Please notify the PaddlePaddle.org team that the release content is ready. PaddlePaddle.org team should enable the version and update the default version to the latest one. PaddlePaddle.org should also update the search index accordingly (Until the search server is up)

fluiddoc's People

Contributors

shanyi15 avatar tink2123 avatar reyoung avatar tcchenlong avatar jiabinyang avatar zhwesky2010 avatar jepsonwong avatar wangchaochaohu avatar chenwhql avatar haowang101779990 avatar zhupengyang avatar tianshuo78520a avatar sneaxiy avatar luotao1 avatar aurelius84 avatar hongyingg avatar xsrobin avatar cryoco avatar nhzlx avatar songyouwei avatar zhhsplendid avatar liym27 avatar zhangting2020 avatar wzzju avatar guru4elephant avatar zq19 avatar heavengate avatar zhiqiu avatar frostml avatar typhoonzero 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.