documentation

Sphinx and argparse - autodocumenting command line scripts?

青春壹個敷衍的年華 提交于 2019-12-17 18:48:19
问题 I'm building a Python package, and using Sphinx to create the docs. Aside from my package code, I also include a lot of command line Python scripts, which use argparse. I was wondering if there is a way to get Sphinx to autodocument these scripts? The end goal would be a pretty-printed list of scripts, with the associated help print, arguments and options. And to be clear, I'm looking for a pre-existing way to do this, not a way to implement this myself. This isn't as specific of a question

Are there any PHP DocBlock parser tools available? [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-17 18:37:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I would like to build some smaller scale but hightly customized documentation sites for a few projects. PhpDocumentor is pretty great but it is very heavy. I thought about trying to tweak the templates for that but after spending only a couple of minutes looking into it I decided that it would be too much work.

How do you document your database structure? [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-17 18:06:35
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . Many database systems don't allow comments or descriptions of tables and fields, so how do you go about documenting the purpose of a table/field apart from the obvious of having good naming conventions? (Let's assume for now that "excellent" table and field names are not enough to

Are there some good and modern alternatives to Javadoc? [closed]

为君一笑 提交于 2019-12-17 17:33:59
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Let's face it: You don't need to be a designer to see that default Javadoc looks ugly . There are some resources on the web which offer re-styled Javadoc. But the default behaviour represents the product and should be as reasonably good-looking. Another problem is the fact that the usability of Javadoc is not up

How to specify an array of objects as a parameter or return value in JSDoc?

◇◆丶佛笑我妖孽 提交于 2019-12-17 17:32:19
问题 In JSDoc, the best documentation I can find shows to use the following if you have an array of a specific type (such as an array of strings) as: /** * @param {Array.<string>} myStrings All my awesome strings */ function blah(myStrings){ //stuff here... } How would you replace the below question marks specify an array of objects? /** * @param {???????} myObjects All of my equally awesome objects */ function blah(myObjects){ //stuff here... } 回答1: You should be more specific what you mean by

Automatic PHP Documentation Generation? [closed]

点点圈 提交于 2019-12-17 17:28:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . For ActionScript 2, I've used NaturalDocs. However it has pretty poor support for PHP. I've looked so far at doxygen and phpDocumentor, but their output is pretty ugly in my opinion. Does anyone have any experience with automatic documentation generation for PHP? I'd prefer to be able to use javadoc-style tags,

Where to document functions in C or C++? [closed]

為{幸葍}努か 提交于 2019-12-17 15:38:27
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . I have a C program with multiple files, so I have, for example, stuff.c which implements a few functions, and stuff.h with the function prototypes. How should I go about documenting the functions in comments? Should I have all the docs in the header file, all the docs in the .c

Documentation-generator for Objective-C? [closed]

别说谁变了你拦得住时间么 提交于 2019-12-17 15:16:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Is there a generally-accepted documentation generator for Objective-C (similar to RDoc for Ruby)? I've seen Doxygen and ObjcDoc, and am wondering which is most widely used. 回答1: Doxygen is probably the most widely used option. Because it's not just for ObjC (doxygen supports many other languages), the

RESTful API Documentation [closed]

放肆的年华 提交于 2019-12-17 14:59:08
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I'm going to design a RESTful API soon, thus I need to describe it in order to enable other people to start implementing clients using

Why are methods in Ruby documentation preceded by a hash sign?

限于喜欢 提交于 2019-12-17 08:18:13
问题 When I see any Ruby method printed in text, it usually appears as: Class#method or #method Now, I would use: Class.method Why are all Ruby methods preceded by a pound sign? Is there any reason for it? 回答1: From the rdoc docs (emphasis mine): Names of classes, source files, and any method names containing an underscore or preceded by a hash character are automatically hyperlinked from comment text to their description. 回答2: Note that the convention is: Class#method rather than object#method In