Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[WIP] Travis integration#3328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
d31268371a2ff4f3cb8b185b1b02c5156136cad008b1d9e62b6f693e8dec72937eb137File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -7,25 +7,26 @@ The Symfony2 documentation uses `reStructuredText`_ as its markup language and | ||
| reStructuredText | ||
| ---------------- | ||
| reStructuredText*"is an easy-to-read, what-you-see-is-what-you-get plaintext | ||
| markup syntax and parser system"*. | ||
| You can learn more about its syntax by reading existing Symfony2 `documents`_ | ||
| or by reading the `reStructuredText Primer`_ on the Sphinx website. | ||
| .. caution:: | ||
| If you are familiar with Markdown, be careful as things are sometimes very | ||
| similar but different: | ||
| * Lists starts at the beginning of a line (no indentation is allowed); | ||
| * Inline code blocks use double-ticks (````like this````). | ||
| Sphinx | ||
| ------ | ||
| Sphinx is a build system that adds some nice tools to create documentation | ||
| from reStructuredText documents. As such, it adds new directives and | ||
| interpreted text roles tothestandard reST `markup`_. | ||
| Syntax Highlighting | ||
| ~~~~~~~~~~~~~~~~~~~ | ||
| @@ -71,7 +72,7 @@ directive to show the configuration in all supported configuration formats | ||
| .. code-block:: xml | ||
| <!-- Configuration in XML --> | ||
| .. code-block:: php | ||
| @@ -87,35 +88,29 @@ The previous reST snippet renders as follow: | ||
| .. code-block:: xml | ||
| <!-- Configuration in XML --> | ||
| .. code-block:: php | ||
| // Configuration in PHP | ||
| The current list of supported formats are the following: | ||
| =============== ============== | ||
| Markup format Displayed | ||
| =============== ============== | ||
| html HTML | ||
| xml XML | ||
| php PHP | ||
| yaml YAML | ||
| jinja Twig | ||
| html+jinja Twig | ||
| html+php PHP | ||
| ini INI | ||
| php-annotations Annotations | ||
| php-standalone Standalone Use | ||
| php-symfony Framework Use | ||
MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. added php-standalone and php-symfony, since they were introduced infabpot/sphinx-php#3 | ||
| =============== ============== | ||
| Adding Links | ||
| ~~~~~~~~~~~~ | ||
| @@ -169,53 +164,14 @@ Testing Documentation | ||
| To test documentation before a commit: | ||
| * Install `Sphinx`_; | ||
| * Install the Sphinx extensions using git submodules: ``git submodule update --init``; | ||
| * (Optionally) Install the bundle docs and CMF docs: ``bash install.sh``; | ||
| * Run ``make html`` and view the generated HTML in the ``build`` directory. | ||
| .. _reStructuredText: http://docutils.sourceforge.net/rst.html | ||
| .. _Sphinx: http://sphinx-doc.org/ | ||
| .. _documents: https://github.com/symfony/symfony-docs | ||
| .. _reStructuredText Primer: http://sphinx-doc.org/rest.html | ||
| .. _markup: http://sphinx-doc.org/markup/ | ||
| .. _Pygments website: http://pygments.org/languages/ | ||
| .. _Sphinx quick setup: http://sphinx-doc.org/tutorial.html#setting-up-the-documentation-sources | ||