Git Product home page Git Product logo

Comments (10)

yanchengnv avatar yanchengnv commented on July 17, 2024 1

from monai.

IsaacYangSLA avatar IsaacYangSLA commented on July 17, 2024 1

I forked this repo and created the document of MONAI API here. It was built by Sphinix, and github.io automatically pulls master branch /docs folder into repository's github pages. I tried to avoid pollute this repo, so once that page looks OK, I will create a PR.

There are at least three sub-tasks in this tasks.

  1. Creating source RST files. Usually, they are tutorials, examples, and user guides.
  2. Running sphinx's document build process to generate API document from docstring, and build html files from the combination of API document and RST files.
  3. Publishing the html files to some document website (github.io, currently).

For current stage, we are doing most of them manually. In the future, we would like to automate them as part of CD.

from monai.

vfdev-5 avatar vfdev-5 commented on July 17, 2024 1

@IsaacYangSLA maybe it is possible to use pytorch CPU only to build the docs which takes < 100mb

from monai.

atbenmurray avatar atbenmurray commented on July 17, 2024

Copying in the initial email for complete issue history; hope that's ok.
Hi Ben,
This item was assigned to you and me. If you don’t mind, I can start and put together a proposal based on what we did before.

Let me know if this is okay with you.

Thanks,
Yan

from monai.

atbenmurray avatar atbenmurray commented on July 17, 2024

I don't have experience with python doc generation; do you have some go to tools for it?

from monai.

vfdev-5 avatar vfdev-5 commented on July 17, 2024

If I could put my 2 cents to this issue. In PyTorch, Torchvision (and Ignite) they are using Sphinx for docs generation. For example, for torchvision:

Documentation pages are written in reStructured Text formats. Docstrings are as mentioned in the first message are in Google style.

HTH

from monai.

yanchengnv avatar yanchengnv commented on July 17, 2024

from monai.

pdogra89 avatar pdogra89 commented on July 17, 2024

Isaac to investigate Readthedocs service.

from monai.

IsaacYangSLA avatar IsaacYangSLA commented on July 17, 2024

ReadTheDocs limits memory to 1GB. However, pytorch package is around 800MB, which exceeds the memory size. With some mocked packages, I managed to build all pages and pushed them to https://monai-readthedocstest.readthedocs.io/en/latest/. The process required manually creating mocked packages/classes/functions, and did not scale well. Please take a look at https://gitlab.com/project-monai/readthedocstest/-/tree/master for those mocked codes.

from monai.

wyli avatar wyli commented on July 17, 2024

fixed via #68.

from monai.

Related Issues (20)

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.