documentation

Howto add documentation to TYPO3 Extension

别来无恙 提交于 2019-12-13 12:05:43
问题 Is there a step by step manual how to add documentation to a TYPO3 extension? I added two extensions to the repository but I would like to add some documentation, too. In earlier times of the TYPO3 repository this was quite easy - as far as I can remember a OpenOffice document had to be added to the extension... I found this "howto" I'm using macOS Sierra and I installed a lot of stuff: Xcode, MacPorts, Sphinx,... I did all these pip installs But calling make in the _make directory of the

Retaining inline code inside references in Sphinx

风流意气都作罢 提交于 2019-12-13 11:51:55
问题 In Sphinx, if I have the following heading declaration: .. _somestuff: ``this is code``, this is not! ============================== It renders, like this: this is code , this is not! Which is good, but, if I use the reference, e.g: Have a look at :ref:`somestuff` It loses the code formatting and renders like: Have a look at this is code, this is not! instead of: Have a look at this is code, this is not! Is it possible to retain the code formatting in the reference? And how would I go about

Pseudo-WYSIWYG Emacs

喜夏-厌秋 提交于 2019-12-13 07:25:18
问题 With just the few lines in a file file.adoc //// -*-iimage-mode-*- //// .A PNG smiley image::smiley.png[] I can generate HTML using asciidoctor and MS-word .doc using pandoc . This toolchain doesn't handle SVG, and so it's not perfect, but it works well, and it's free. file.html There is a snag though: I'd like iimage-mode to be enabled when I load file.adoc . My attempt (the first three lines in the source above) doesn't work. Can you think of a way that will? .emacs (set-foreground-color

Tool to write and maintain printed documentation [closed]

我是研究僧i 提交于 2019-12-13 06:30:44
问题 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 . Some of our customers ask for end-user documentation in a format that’s suitable for printing. Currently, I use Microsoft Word 2002 to write the documents and a non-free PDF printer to generate a PDF file with searchable bookmarks. Then I store both files in the Subversion repositoryT. While it does the job, it

How to display full docblocks for inherited methods in PhpDocumentor?

只愿长相守 提交于 2019-12-13 06:21:21
问题 I currently have code where there is an abstract parent class that defines some concrete methods, and the children classes extend this parent class, and will use the concrete methods. For example: <?php abstract class abstract_class { /** * I document foo. */ public function foo() { echo "I am the foo function!"; } } class child_class { /** * I document bar. */ public function bar() { echo "I am the bar function!"; } } ?> In my documentation for child_class, I see my bar() function well

phpDoc @var for compound statement isn't displayed correctly

匆匆过客 提交于 2019-12-13 05:14:54
问题 I have a compound statement in one of my classes and as far as I know I'm following the phpDoc docs here. This is just the relevant part of the file. The file itself and the class do have docblocks. class contact { /** * @var PDO $pdo The PDO class for database communication * @var int $id The id of the contact * @var int $clientId The id of the client the contact is linked to * @var string $name The name of the contact * @var string $address The first address line (normally street and house

With Doxygen, how to generate a page that contains subpage links to all the .dox files in my project?

懵懂的女人 提交于 2019-12-13 04:29:10
问题 I have a \mainpage that contains only the main page links. However, I'd like to have a page in the final output documentation that contains all the page links to the .dox files. I know this can be done using external scripts to parse the .dox files and aggregate all the page variable names. But is there a configuration field that does this for me? 回答1: You can use xrefitem + aliases to do something that might accomplish what you're looking for. If you are not familiar with xrefitem and the

What's the difference between @tag and @!tag in Yard documentation tool?

最后都变了- 提交于 2019-12-13 02:18:24
问题 While looking at Yard documentation and examples sI found some tags prefixed by an exclamation mark. I found working examples with and without exclamation marks and I wasn't able to spot the difference, so what changes when @!some-tag is used instead of @some-tag ? For instance this code generate the same documentation for both attr and attr2 class Anything # @!attribute [rw] attr # @attribute [rw] attr2 end On the other side, in some examples the importance of exclamation mark is underlined,

Any way to generate multiple different pdfs from single sphinx configuration

谁都会走 提交于 2019-12-12 19:16:44
问题 I have a nice sphinx documentation concerning a projects, and I would like to extend it to generate documents such as specs, and other. I would like to have spec-for-foo.rst that generates spec-for-foo.pdf 回答1: The solution is to edit latex_documents entry in your sphinx conf.py file, this entry contains descriptors for all the files produced by latex . This config entry contains a list of touples, that contains: (source file, target tex file, document title, author, and document class: latex

Generating RDOCs for locally installed gems

旧巷老猫 提交于 2019-12-12 18:09:21
问题 I am trying to contribute to a gem I recently took interest in - Nesta. The developer has done a great job in creating one of the lightest, thinest CMSs you can find and I want to document it. I have read through the code and commented on a few methods to the best of my knowledge. However, I seek to test this out locally by calling gem server and seeing the changes on my machine before pushing it online. Things I have tried: Manual edit. Documented the file. Fired up gem server . Using the