aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/rails_guides
Commit message (Collapse)AuthorAgeFilesLines
* let TIP and friends handle a multiline paragraphXavier Noria2011-07-252-18/+19
| | | | | | Normally I would have done this in master, but there was already a guide with wrapped content, so worked here. I am going to cross-merge now.
* Revert "Update the TIP formatter to handle multiline tips"Vijay Dev2011-07-251-2/+1
| | | | | | This reverts commit e3dbe66e196069fde7d3ff118bd25a03184915fa. Reason: Code changes are not allowed in docrails.
* Update the TIP formatter to handle multiline tipsMichael Lavrisha2011-07-241-1/+2
| | | | - includes 3 tests
* Revert "notextile tag has been placed with ascii quotes"Xavier Noria2011-07-232-6/+4
| | | | | | Reason: <notextile> is an internal tag This reverts commit 01040b5dc990e79052627451603feea0f149fe41.
* notextile tag has been placed with ascii quotesJudeArasu2011-07-192-4/+6
|
* specify image dimensions for pictures in the guides credits pageXavier Noria2011-06-041-1/+1
|
* [GUIDES] Changed the `LANGUAGE` variable to `GUIDES_LANGUAGE` to minimize ↵Karel Minarik2011-05-141-4/+5
| | | | conflicts with regular environment variables (eg. in Ubuntu)
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-131-2/+2
| | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-121-2/+2
| | | | suggestion!
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-2/+4
| | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
* [FIX] Renamed ENV['LANG'] for generating translated guides to ↵Karel Minarik2011-01-021-3/+3
| | | | ENV['LANGUAGE'] so there's no mixup with OS env vars
* Added support for generating translated guides (stored in `source/<LANG>`) ↵Karel Minarik2011-01-011-2/+7
| | | | via setting the LANG environment variable
* fixed comment - same as 592f600Vijay Dev2010-12-251-1/+1
|
* guides: gives clear instructions for feedback, removes links to the now ↵Xavier Noria2010-11-191-7/+2
| | | | archived LH project
* ensures that no browser shows a vertical scrollbar in the code blocks of ↵Xavier Noria2010-10-241-1/+1
| | | | guides, thanks to Marcelino Llano for a hint to fix this
* removes the toolbar from guides code blocksXavier Noria2010-10-241-1/+1
|
* switches guides code syntax highlighting to the better SyntaxHighlighter, I ↵Xavier Noria2010-10-241-3/+21
| | | | did my best with the theme, I swear
* solves everything in guides raised by WARNINGS=1 (except for one which is ↵Xavier Noria2010-08-271-1/+2
| | | | abandoned atm)
* - Fix non-ascii characters in headersAleksander Pohl2010-08-261-1/+2
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-7/+7
| | | | 's/[ \t]*$//' -i {} \;)
* guides: adds support in the indexer for custom header IDs, and some refactorsXavier Noria2010-04-062-22/+39
|
* guides: adds page title to home and credits, and revises it in the restXavier Noria2010-04-061-1/+1
|
* fixes duplicate element IDs in some guidesXavier Noria2010-04-041-1/+1
|
* guides assets are now centralized in the assets directory, with standard subdirsXavier Noria2010-04-041-2/+1
|
* sanity check arguments in guides generation collapsed into a single WARNINGS ↵Xavier Noria2010-04-041-24/+23
| | | | flag, EDGE_GUIDES renamed to EDGE to be coherent with the rest, preamble revised
* adds a preamble to the guides generator, documents what it does and the ↵Xavier Noria2010-04-031-0/+47
| | | | environment variables it supports
* guides: badge insertion was a quick hack, rewrites thatXavier Noria2010-04-021-13/+12
|
* insert the badge in a valid wayXavier Noria2010-04-011-1/+1
|
* Fixed chapter list generation on index section, an empty pair of <ul></ul> ↵Jaime Iniesta2010-04-011-1/+1
| | | | was being created when the chapters had no children.
* guides: rewrites index and credit pages as pure HTML to avoid textilizing ↵Xavier Noria2010-03-311-17/+8
| | | | the rendered view, in particular we can now put a DOCTYPE in the layout
* <%=izes and adds doctype to guidesXavier Noria2010-03-302-2/+13
|
* guides generator skips untouched guides by default, override with ALL=1Xavier Noria2010-03-171-7/+15
|
* guides generation: undoes output buffer workaround, more refactorsXavier Noria2010-03-151-1/+8
|
* refactors some bits of the guides generator, ONLY selection accepts ↵Xavier Noria2010-03-151-39/+51
| | | | prefixes, guides generation fixed for 1.9, revised string safety in a few spots
* the guides generator needs fileutilsXavier Noria2010-03-041-0/+1
|
* adds support for an edge badge in guidesXavier Noria2010-02-171-2/+9
|
* Use mkdir_p so that the output directory is always created.Ryan Bigg2010-02-081-1/+1
|
* simplify a couple of regexpsXavier Noria2010-02-081-2/+2
|
* guides textile extensions: now recognizes also TIP.Xavier Noria2010-02-081-2/+2
|
* update html_safe calls in guides generationXavier Noria2010-02-021-10/+4
|
* Merge remote branch 'mainstream/master'Pratik Naik2010-01-172-3/+3
|\ | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/flash.rb
| * Make guides generation work for Ruby 1.9.xRyan Bigg2010-01-162-3/+3
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Mark title and headers as html_safe! for guides [#3702 state:resolved]Ryan Bigg2010-01-161-3/+3
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Merge docrailslifo2009-04-172-24/+26
| |
| * Merge docrailsPratik Naik2009-03-242-0/+63
| |
* | trust generated HTML, and define html_safe! for gem >= 2.3 just in case by nowXavier Noria2009-10-101-4/+10
| |
* | removes a no longer needed workaround in the guides generatorXavier Noria2009-10-101-1/+1
| |
* | fixes generation of index and credits pageXavier Noria2009-09-021-3/+3
| |
* | fixes undefined method keys for nil:NilClass error while generating guidesXavier Noria2009-09-021-1/+1
| |
* | Supply fullfile name to the generatorPratik Naik2009-04-051-1/+1
| |