GithubHelp home page GithubHelp logo

Generated lines are not commented about writer HOT 4 OPEN

mintlify avatar mintlify commented on August 24, 2024 2
Generated lines are not commented

from writer.

Comments (4)

mdavis199 avatar mdavis199 commented on August 24, 2024 2

I tried them all. The formats I focused on were "Auto" and "Doxygen" (which I think is the default for CPP files.). At no time were the generated lines commented. I also tried disabling clang-format to see if that was the problem; but it made no difference either way.

from writer.

therealiacobina avatar therealiacobina commented on August 24, 2024 2

I have exactly the same problem now, but it worked perfectly till last november. I have just tried reinstalling an old version of Mintlify but it does not fix the problem. Such a pity.

from writer.

handotdev avatar handotdev commented on August 24, 2024

@mdavis199 that's really weird because we do add comments to functions generated in C++. Do you know when docstring format you have selected?

from writer.

Adam-Al-Rahman avatar Adam-Al-Rahman commented on August 24, 2024

@therealiacobina I had the same issue when i install v2.1.* or v2.2.*; I reinstalled v2.0 it worked fine.

v2.1 and v2.2

The code `int add(int a, int b){ return a+b; }` is defining a function named `add` that takes two integer parameters `a` and `b`. Inside the function, it adds the values of `a` and `b` together and returns the result.
int add(int a, int b){
  return a+b;
}

v2.0

/**
 * The function "add" takes two integers as input and returns their sum.
 * 
 * @param a The first parameter is "a", which is an integer.
 * @param b The parameter "b" is an integer that represents the second number to be added.
 * 
 * @return the sum of the two input integers, `a` and `b`.
 */
int add(int a, int b){
  return a+b;
}

from writer.

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.