Yii Framework Forum: Yii documentation txt->html - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii documentation txt->html How is this done? Rate Topic: -----

#1 User is offline   basva 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 23
  • Joined: 19-August 09

Posted 12 February 2010 - 01:39 AM

Hi,

Source code for yii has documentation inside txt files.

Things like this:
Application
===========

Application represents the execution context of request processing. Its
main task is to resolve the user request and dispatch it to an appropriate
controller for further processing. It also serves as the central place for
keeping application-level configurations. For this reason, application is
also called `front-controller`.

Application is created as a singleton by the [entry script](/doc/guide/basics.entry).
The application singleton can be accessed at any place via [Yii::app()|YiiBase::app].


Application Configuration
-------------------------

By default, application is an instance of [CWebApplication]. To customize ...


What technique is used to get this into html? I would like to write my documentation in the same way....

Thanks,
Bas
0

#2 User is offline   Y!! 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 978
  • Joined: 18-June 09

Posted 12 February 2010 - 02:24 AM

It's Markdown syntax, see here.
0

#3 User is offline   basva 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 23
  • Joined: 19-August 09

Posted 12 February 2010 - 02:45 AM

Great! Thanks
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users