Re: Hello, all. I want to add documentation for the Aerospike extension
| From: | Peter Cowburn | Date: | Sat, 07 Feb 2015 17:29:40 +0000 |
| Subject: | Re: Hello, all. I want to add documentation for the Aerospike extension | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969385347@lists.php.net to get a copy of this message | ||
Hi Ronen,
That's great to hear! If you have any trouble with the online editor
workflow, then do feel free to give feedback either on the mailing list or
via bug reports.
And, as usual, if you have any other questions, don't hesitate to ask.
Cheers,
Peter
On 7 February 2015 at 16:14, Ronen Botzer <rbotzer@aerospike.com> wrote:
> Thanks Peter,
>
> André Bacci steered me in the direction of using SVN over the online
> editor for something the size of an extension.
>
> I used docgen to generate the skeleton. I'm writing a script of my own
> that will look at the 'proto' comments in the C code and use it to plug in
> the correct parameters to method XML files - docgen misses a lot of
> information due to the limitations of reflection.
>
> Thank you for the tip about the git repo. Running it locally is extremely
> useful. I didn't see that any mention of the git repo in wiki.php.net.
>
> Ronen
>
> On Sat, Feb 7, 2015 at 7:13 AM, Peter Cowburn <petercowburn@gmail.com>
> wrote:
>
>> Hi Ronen,
>>
>> We have a tutorial on the doc wiki (http://doc.php.net/tutorial/), which
>> should provide enough details to get you started. Checking out the sources
>> from SVN would be your best choice for documenting an extension from
>> scratch.
>>
>> The key take-home points from the tutorial, for yourself, would be:
>>
>> For writing the documentation:
>> - use the docgen.php script to generate the "skeleton" documentation
>> files based on reflection information
>> - look at existing documentation structure and files for guidance
>> - make sure everything builds by running configure.php (you'll do this
>> a lot)
>>
>> For previewing your changes:
>> - you will use our PHP DocBook Rendering System (PhD, for short) -
>> http://doc.php.net/phd.php
>> - along with a local copy of the php website code (git clone
>> https://git.php.net/repository/web/php.git) (Note: the
>> website can be
>> run with PHP's built-in cli web server)
>>
>> Do ask, if you have any questions.
>>
>> Cheers,
>>
>> Peter
>>
>>
>> On 3 February 2015 at 22:18, Ronen Botzer <rbotzer@aerospike.com> wrote:
>>
>>> Hello authors, translators, and associated folk.
>>>
>>> I'm the maintainer and one of the developers of the PHP client for
>>> Aerospike. Currently, the documentation is on the GitHub repository, as a
>>> set of markdown files.
>>>
>>>
>>>
>>> https://github.com/aerospike/aerospike-client-php/blob/master/doc/aerospike.md
>>>
>>> What is the preferable way to approach documenting an extension - should
>>> I use the online editor, or would it be better to work on an svn checkout?
>>>
>>> Thanks,
>>> Ronen
>>>
>>> https://github.com/rbotzer?tab=activity
>>>
>>>
>>>
>>>
>>
>