Re: rst for library doc

Chris Green <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <20160216105703.GC24227@esprimo>
On Tue, Feb 16, 2016 at 09:30:06AM +0000, Renato Pontefice wrote:
>    Hi, I'm little bit confused...I thought that I can use the normal wiki
>    function, and finaly export varrious page as .rst (then use the .rst to
>    create .pdf or HTML by rst2pdf or rst2html macro).IT seems that it is
>    not the way. I need to create a new link as a .rst page.
>    Is this the way? Or do I made some mistake?

You just create pages in the Wiki and access them as a Wiki, there's
no explicit exporting involved the pages are generated dynamically by
the Dokuwiki 'engine'.

So, if it's an ordinary Dokuwiki syntax page the Dokuwiki engine
converts it from Dokuwiki syntax to HTML for the web server to send.
If it's some RST then the Dokuwiki engine passes it to my RST plugin
which converts it to HTML for the web server.

You can either embed RST in a normal Dokuwiki page using the <rst> and
</rst> directives or you can create pages with .rst as a suffix and
the whole page will be treated as RST.

So my RST plugin just provides a way to write your wiki pages in a
different mark-up language from the default Dokuwiki markup, they are
still Wiki pages just liek the rest of your wiki.


-- 
Chris Green

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.