documentation

Is there a definitive reference document for Ruby syntax? [closed]

孤者浪人 提交于 2019-12-04 16:41:01
问题 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'm searching for a definitive document on Ruby syntax. I know about the definitive documents for the core API and standard library, but what about the syntax itself? For instance, such a document should cover: reserved words, string literals syntax, naming rules for variables/classes/modules, all the conditional

Possible to view method / function docs in NetBeans?

廉价感情. 提交于 2019-12-04 16:19:55
NetBeans 6.5 with Python support provides the docstring documentation for a function/method in a popup when auto-completing, but is there another way to view docstrings? Perhaps achieved by mousing over a function/method name, or clicking somewhere? The best I can seem to do is "Go to source" in the right-click menu. I received the following answer from Tor Norbye at Sun: Hold the ctrl key (or Cmd on Mac) and then hover. Also, Ctrl-Shift-Space (e.g. code completion + shift) will display -just- the completion doc (which means it doesn't just look at the prefix of the caret, but the whole

reST: inline links with arbitrary titles?

旧时模样 提交于 2019-12-04 14:05:11
If I've defined an internal hyperlink target, how can I link to it using arbitrary text as the link title? For example: _`This is a very long internal link target`. ... A `short reference`_ to the very long link target. How could I make the “short reference” target the “very long internal target”? Edit : Another example: Widgets ======= ... Use a `widget`_. How can I make “widget” (singular) link to the “Widgets” (plural) heading? (of course, I realize that this could be done using `widget`_\s … But that doesn't solve the general problem) I haven't found a way to do this using "standard" reST.

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

我怕爱的太早我们不能终老 提交于 2019-12-04 14:01:52
Closed . This question needs to be more focused. It is not currently accepting answers. Learn more . 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 and which functions ) are used. I would like to see if a function is used by another

how do I document an R Reference Class?

橙三吉。 提交于 2019-12-04 12:17:33
问题 how do I document the use of member functions of a reference class? if I write a Rd file with a \usage block, how do I avoid the WARNING Functions/methods with usage in documentation object 'XmlDoc' but not in code: $ new I'd expect the \usage block to allow me write things like: obj <- ClassName$new(par1, par2, ...) obj$method1(oth1, ...) and then I'd document the parameters in the \arguments block. If I do this, R CMD check complains with Assignments in \usage in documentation object

Elixir — Module was not compiled with docs

为君一笑 提交于 2019-12-04 10:22:47
I just started learning elixir yesterday. I have a file User.exs. It looks like this: defmodule User do @moduledoc """ Defines the user struct and functions to handle users. """ # functions and stuff go here... end When I run iex , this is what happens when I try to see the docs: iex(1)> c "user.exs" [User] iex(2)> h User User was not compiled with docs Any ideas? c("user.exs") compiles the file in memory and does not write the bytecode (.beam file) to disk while h/1 currently requires (details below) the beam file to be present on disk to work. You can make c store the generated bytecode in

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

﹥>﹥吖頭↗ 提交于 2019-12-04 10:10: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*'] The problem is that I'd like to run the build once to get both versions. What I'm trying to do right now

How do I use the old javadoc style / theme with JDK 7?

笑着哭i 提交于 2019-12-04 09:59:56
问题 The new theme in JDK 7 for javadoc is hard for me to read. It may not be pretty but I really would prefer the old theme. Aside from installing the old JDK and switching between them, can I somehow use the old doclet? 回答1: Have to admit I haven't experienced this yet, but I've found that you can customize the CSS for the java doc. Here is the description. You might be interested in running this: C:> javadoc -stylesheetfile C:\user\exampleStylesheet.css com.examplePackage Its also stated there

Java TA-Lib Documentation [closed]

别来无恙 提交于 2019-12-04 09:46:01
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 there anywhere where I could find it ? Specifically, I was looking more for LINEARREG Linear Regression Eclipse specifies linear regression as : linearReg(startIdx, endIdx, inReal, optInTimePeriod, outBegIdx, outNBElement, outReal) Is there anywhere I could refer to ? EDITED The other

What tools are available for documenting jQuery plugins? [closed]

蹲街弑〆低调 提交于 2019-12-04 09:00:38
问题 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've recently started creating some jQuery plugins and I'm finding it difficult to document them with the documentation generating tools that I've found. I've tried: JSDoc, JSDoc-toolkit, JGrouse and a web-based tool also. My biggest headache is that my plug-ins are coded as one big anonymous function, and I'm