aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/rails_guides/generator.rb
Commit message (Collapse)AuthorAgeFilesLines
* make the ONLY env variable used in guides generation work with kindle guidesVijay Dev2012-02-041-1/+1
|
* Some fixes in rails guides generationVijay Dev2011-12-251-3/+3
| | | | | | | | * Passing edge information to the views fixes the lack of the edge badge and sets the appropriate welcome page on edgeguides.rubyonrails.org. * Changes in the welcome message to hyper link the rails tree based on the version. * Mention the Amazon url from where kindlegen can be downloaded.
* download guides for the Kindle and Kindle apps from the home pageXavier Noria2011-12-251-4/+7
|
* guides generation for the Kindle looking good now [Mip Earson & Xavier Noria]Xavier Noria2011-12-251-9/+15
|
* (draft) guides for the Kindle and Kindle apps [Mip Earson & Xavier Noria]Xavier Noria2011-12-241-20/+78
|
* A few doc changesVijay Dev2011-12-241-1/+1
|
* Fixes deprecation warning about passing a template handlerVijay Dev2011-11-101-1/+2
| | | | | in the template name while generating guide related pages like index, layout and credits
* guides generation: apparently this workaround for RedCloth is not needed anymoreXavier Noria2011-08-071-44/+4
|
* let TIP and friends handle a multiline paragraphXavier Noria2011-07-251-1/+1
| | | | | | 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 "notextile tag has been placed with ascii quotes"Xavier Noria2011-07-231-3/+2
| | | | | | Reason: <notextile> is an internal tag This reverts commit 01040b5dc990e79052627451603feea0f149fe41.
* notextile tag has been placed with ascii quotesJudeArasu2011-07-191-2/+3
|
* [GUIDES] Changed the `LANGUAGE` variable to `GUIDES_LANGUAGE` to minimize ↵Karel Minarik2011-05-141-4/+5
| | | | conflicts with regular environment variables (eg. in Ubuntu)
* [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
|
* 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)
* 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-061-11/+15
|
* 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-301-0/+11
|
* 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
|
* update html_safe calls in guides generationXavier Noria2010-02-021-10/+4
|
* Merge remote branch 'mainstream/master'Pratik Naik2010-01-171-1/+1
|\ | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/flash.rb
| * Make guides generation work for Ruby 1.9.xRyan Bigg2010-01-161-1/+1
| | | | | | | | 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-171-1/+1
| |
| * Merge docrailsPratik Naik2009-03-241-0/+34
| |
* | 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
| |
* | Merge commit 'mainstream/master'Pratik Naik2009-03-241-2/+2
|\| | | | | | | | | | | Conflicts: railties/guides/images/fxn.jpg railties/guides/rails_guides/generator.rb
| * Try to use actionpack gem to generate guide when Rails is not vendoredPratik Naik2009-03-171-34/+0
| |