documentation

How can I create .chm files from C# code?

浪尽此生 提交于 2019-12-22 04:54:18
问题 I used doxygen to create HTML files, now I want to convert that documentation into .chm format. How can I do this? 回答1: NDoc is a dead project, it's successor is Sandcastle & Sandcastle Helpfile Builder. I've used both of the Sandcastle items. They're easy to setup, have decent documentation and chm file generation is native to the application. If you can switch, it would be a much better choice than doxygen. Otherwise check out this link for HTML to chm info: http://younsi.blogspot.com/2007

How to document a factory that returns a class in angular with ngdoc?

≯℡__Kan透↙ 提交于 2019-12-22 04:35:20
问题 Given an angular app with a factory that returns a class, as such: angular.module('fooApp').factory('User', function(){ function User(name){ this.name = name; } User.prototype.greet = function(){ return "Howdy, " + this.name; } return User; }); Using ngdoc (the special flavor of jsdoc angular uses), how do I document the initializer without defining it as a method? Right now, this is what I've tried: /** * @ngdoc service * @name fooApp.User * @description User factory. */ angular.module(

How do you change the code example font size in LaTeX PDF output with sphinx?

a 夏天 提交于 2019-12-22 04:32:34
问题 I find the default code example font in the PDF generated by sphinx to be far too large. I've tried getting my hands dirty in the generated .tex file inserting font size commands like \tiny above the code blocks, but it just makes the line above the code block tiny, not the code block itself. I'm not sure what else to do - I'm an absolute beginner with LaTeX. 回答1: I worked it out. Pygments uses a \begin{Verbatim} block to denote code snippets, which uses the fancyvrb package. The

No reference documentation in Android Studio

▼魔方 西西 提交于 2019-12-22 02:06:09
问题 A new problem just popped up yesterday. When I hover over a method or press Ctrl-Q, I used to get documentation info for that particular method. But now I just get (pressing Ctrl-Q on SharedPreferences.getLong() ): Following external urls were checked: http://developer.android.com/reference/android/content/SharedPreferences.html#getLong-java.lang.String-long- http://developer.android.com/reference/android/content/SharedPreferences.html#getLong(java.lang.String, long) The documentation for

What do the different symbols in the API section of the XCode Documentation mean?

吃可爱长大的小学妹 提交于 2019-12-22 00:27:55
问题 Looking at the API section on the left side of the XCode Documentation, I've always wondered what the symbols mean? For instance, there's a "K" in a green square, a "T" in an orange square, an "M" in a blue square, etc. Is there a key for these? Thanks! Rashiki 回答1: C: Class, like NSString M: Method, like -initWithString: : Define, like nil f: Function, like CFStringAppend() T: Typedef, usually enums like NSStringEncoding K: Constants, usually a member of an enum like NSUTF8StringEncoding G:

How do you document your database code to see dependencies between database objects? [closed]

拟墨画扇 提交于 2019-12-21 20:34:23
问题 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 last year . I want to write documentation on my pet project. I have 30 tables and almost 50 views and about 30 functions (stored procedures) in my PostgreSQL database. I would like to see where tables ( which views and which functions ) are used. I would like to see where views ( which views

How to set Sphinx's `exclude_patterns` from the command line?

僤鯓⒐⒋嵵緔 提交于 2019-12-21 18:36:11
问题 I'm using Sphinx on Windows. Most of my documentation is for regular users, but there are some sub-pages with content for administrators only. So I want to build two versions of my documentation: a complete version, and a second version with the "admin" pages excluded. I used the exclude_patterns in the build configuration for that. So far, it works. Every file in every subfolder whose name contains "admin" is ignored when I put this into the conf.py file: exclude_patterns = ['**/*admin*']

How to set Sphinx's `exclude_patterns` from the command line?

谁说我不能喝 提交于 2019-12-21 18:36:06
问题 I'm using Sphinx on Windows. Most of my documentation is for regular users, but there are some sub-pages with content for administrators only. So I want to build two versions of my documentation: a complete version, and a second version with the "admin" pages excluded. I used the exclude_patterns in the build configuration for that. So far, it works. Every file in every subfolder whose name contains "admin" is ignored when I put this into the conf.py file: exclude_patterns = ['**/*admin*']

Java TA-Lib Documentation [closed]

三世轮回 提交于 2019-12-21 17:02:25
问题 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 was looking for a documentation on TA-Lib in Java. I have found the page containing the list of available functions, and found this. I see TADOCS provided the algorithms on some of the functions. However I was not able to understand the required parameters for the function, it does seemed to be mentioned. Is

C# Class Library method summaries are not showing in intellisense

眉间皱痕 提交于 2019-12-21 12:03:31
问题 Fairly self-explanatory I feel 回答1: I'm guessing here, but if this is your class library, you have to make sure you actually build the XML documentation file, otherwise the method summaries will only be available from within the same assembly. Project Properties -> Build Tab -> Output section -> Check "XML documentation file" Obviously, as Mitchel points out, you have to import it too, but this is generally automatic when you add an assembly reference (as long as it exists). 回答2: When you