Code Monkey home page Code Monkey logo

Comments (3)

ParthS007 avatar ParthS007 commented on September 22, 2024

@tiborsimko Can you please explain a bit more about the expected result from this issue?

What I have understood is we have to generate the CLI docs with help of sphinx-click.

from cernopendata-client.

tiborsimko avatar tiborsimko commented on September 22, 2024

The higher goal is to have an up-to-date info about CLI commands and options on ReadTheDocs here: https://cernopendata-client.readthedocs.io/en/latest/cliapi.html

However, we cannot install project on ReadTheDocs due to pycurl dependency troubles.

Two solutions:

  1. Make pycurl optional, see #78. This will make the package installable also on ReadTheDocs, solving the main goal that way.
  2. Generate cliapi.md content locally on our laptops while developing, with each feature branch, so that ReadTheDocs wouldn't have to. This is a bit similar to REANA and how docs/openapi.json is generated. See e.g. reana-workflow-controller and its run-tests.sh and scripts/generate_openapi_spec.py. We'd have to develop something similar for click-generated docs.

from cernopendata-client.

ParthS007 avatar ParthS007 commented on September 22, 2024

@tiborsimko

I have made PR for #78 going for first option. We can turn on the project installation on RTD to check if cli docs are building on their own.

from cernopendata-client.

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.