documentation

Is there a way to report errors in Apple documentation? [closed]

自闭症网瘾萝莉.ら 提交于 2020-01-03 20:45:41
问题 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 . Not a strictly programming question, but surely related. Is there something like bugreporter.apple.com‎ for reporting errors in the official documentation? I searched a bit but I didn't find anything, neither official nor unofficial. 回答1: Bugreporter has a documentation specific category Most of the Apple

Is 3-space indentation required in reST?

房东的猫 提交于 2020-01-03 08:47:09
问题 I'm documenting my Python code using Sphinx, and read in the Python developer's guide (and I think elsewhere as well) that reST files use an indentation of 3 spaces: All reST files use an indentation of 3 spaces; no tabs are allowed. This is the case for the example I copied for my index file, and some other files where my IDE picked up the 3-space indentation and used it for the whole page. The sphinx-apidoc extension also uses 3 spaces for the modules.rst file it builds. On the other hand,

How to document a duck type?

為{幸葍}努か 提交于 2020-01-03 07:00:27
问题 I'm having documentation bloat on me, as anytime I encounter a complex duck-type, I need some way to say "this duck type" but instead get caught in an endless cycle of "your function requires this of this input, but doesn't document it", and then documenting it. This results in bloated, repetitive documentation, such as the following: def Foo(arg): """ Args: arg: An object that supports X functionality, and Y functionality, and can be passed to Z other functionality. """ # Insert code here.

Visual Studio add-in to support images inline with source? [closed]

我的未来我决定 提交于 2020-01-03 05:01:07
问题 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 . We use Visual Studio 2005 here, and in an attempt to improve the documentation of our source, we're looking for a Visual Studio add-in that will allow images to be viewed in line with source from within the IDE. For example, the use case I'd like to fit is the following: In the directory in which my source lives,

How can I generate comments from xs:documentation tags in a wsdl?

人盡茶涼 提交于 2020-01-03 01:47:29
问题 Aloha I received a nice wsdl with xs: documentation tags like: <xs:complexType name="Supplier"> <xs:annotation> <xs:documentation> The supplier of the product </xs:documentation> </xs:annotation> Is there any way to generate ///<summary> tags from this? I'm using visual studio 2008 回答1: Try the WSDL tool from Microsoft and see if that helps 回答2: I have found the tool xsd2code that includes this functionality. -Edoode 来源: https://stackoverflow.com/questions/374086/how-can-i-generate-comments

Reloading docset without restarting Xcode

被刻印的时光 ゝ 提交于 2020-01-02 21:25:26
问题 I am using appledoc for generating docsets. Everything is good, except everytime I rebuild it(with using my plist and run shell script) I must restart xcode to see changes. Is there a way for force xcode to reload docset ? 回答1: Not really what you're after and a shameless pitch of one of my apps, but you might want to use Dash for documentation browsing/searching, where you won't have that problem :) 来源: https://stackoverflow.com/questions/10432780/reloading-docset-without-restarting-xcode

Non-TOC headings within a Restructuredtext page

不羁的心 提交于 2020-01-02 04:54:11
问题 I'm writing some documentation using Sphinx. Is there a way to format headings within a page which do not become part of the TOC? Ideally with some hierarchy that is reflected in formatting? E.g. I want to do My page TOC heading =================== Subheading (not in TOC, and should be formatted e.g. smaller than the heading) +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Sub-subheading (not in TOC, and formatted e.g. smaller than the subheading) ###############################

Elixir — Module was not compiled with docs

余生颓废 提交于 2020-01-01 12:05:32
问题 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? 回答1: c("user.exs") compiles the file in memory and does not write the bytecode (.beam file) to disk while h/1 currently requires

Jazzy is not working as expected for generating swift documentation

非 Y 不嫁゛ 提交于 2020-01-01 08:26:10
问题 After doing some research on the best way to document swift code. I came across Jazzy and how simple it was to implement. So I follow the installation section of the Jazzy Documentation. I run sudo gem install jazzy Then I navigate to the root of my project, in the terminal, and run jazzy which creates a folder called "docs" with a website that displays documentation for 1 class. I have 87 classes which I can visibly see jazzy looping through in the terminal output. I've read the NSHipster

Combining Sphinx documentation from multiple subprojects: Handling indices, syncing configuration, etc

做~自己de王妃 提交于 2019-12-31 09:18:20
问题 We have a multi-module project documented with the (excellent) Sphinx. Our setup is not unlike one described on the mailing list. Overall this works great! But we have a few questions about doing so: The submodule tables of contents will include index links. At best these will link to the wrong indices. (At worst this seems to trigger a bug in Sphinx, but I'm using the devel version so that's reasonable). Is there a way of generating the index links only for the topmost toctree? Are there