Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Documentation fixes

  • Loading branch information...
commit e9f20cf9f38364fd19230230dde192550f700a0f 1 parent cc0f62c
@chillu chillu authored
View
2  docs/en/index.md
@@ -48,7 +48,7 @@ Please read our [guide to contributing documentation](misc/contributing#writing-
* [RSS Feeds](reference/rssfeed)
* [Debugging](topics/debugging)
* [Errorhandling](topics/error-handling)
-* [Testing Guide](topics/testing/testing-guide): Framework for automated testing like Unittests
+* [Testing Guide](topics/testing/): Framework for automated testing like Unittests
* [Built-in Page Controls](reference/built-in-page-controls)
* [Execution Pipeline](reference/execution-pipeline): Tracking a request from director to template-rendering
* [Recipes/Howtos](howto/)
View
2  docs/en/installation/from-source.md
@@ -10,7 +10,7 @@ is not already fixed.
For getting a project up and running quickly with a release, you are typically best off
with the official [silverstripe.org/download](http://silverstripe.org/download).
If you want to get the "latest and greatest" pre-release code (either
-on a release brank, or on "trunk"), you need to use our version control.
+on a release branch, or on "trunk"), you need to use our version control.
<div class="warning" markdown="1">
**Warning**: These instructions are for intermediate to advanced users only,
2  docs/en/topics/debugging.md

Debugging methods

The Debug class contains a number of static methods

  • Debug::show($myVariable): performs a kind of print_r($myVariable), but shows it in a more useful format.
  • Debug::message("Wow, that's great"): prints a short debugging message.
  • SS_Backtrace::backtrace() (2.3: Debug::backtrace()): prints a calls-stack
  • Debug::sendLiveErrorsTosend_errors_to("sam@silverstripe.com"): On the live site, aAll errors will get sent to this address.

Error handling

On development sites, we deal harshly with any warnings or errors: a full call-stack is shown and execution stops. This is basically so that we deal with them promptly, since most warnings are indication that something is broken.

@@ -106,7 +106,7 @@ The Debug class contains a number of static methods
* *Debug::show($myVariable)*: performs a kind of *print_r($myVariable)*, but shows it in a more useful format.
* *Debug::message("Wow, that's great")*: prints a short debugging message.
* *SS_Backtrace::backtrace()* (2.3: *Debug::backtrace()*): prints a calls-stack
-* *Debug::sendLiveErrorsTo("sam@silverstripe.com")*: On the live site, all errors will get sent to this address.
+* *Debug::send_errors_to("sam@silverstripe.com")*: All errors will get sent to this address.
### Error handling
Please sign in to comment.
Something went wrong with that request. Please try again.