Browse Source

Documentation updates

Jonny Wenmoth 11 years ago
parent
commit
8dabaafbd3
2 changed files with 4 additions and 4 deletions
  1. 3 3
      doc/troubleshooting.rst
  2. 1 1
      doc/usage.rst

+ 3 - 3
doc/troubleshooting.rst

@@ -14,7 +14,7 @@ Troubleshooting
 -  `It's not saving my screenshots <#its-not-saving-my-screenshots>`__
 -  `Can I set the screenshot size? <#can-i-set-the-screenshot-size>`__
 -  `Can I set the viewport size? <#can-i-set-the-viewport-size>`__
--  `How to I debug a request? <#how-to-i-debug-a-request>`__
+-  `How do I debug a request? <#how-do-i-debug-a-request>`__
 -  `I am getting SyntaxError: Parse error in the debug
    log <#i-am-getting-syntaxerror-parse-error-in-the-debug-log>`__
 
@@ -318,7 +318,7 @@ requests:
     
         $client->send($request, $response);
 
-How to I debug a request?
+How do I debug a request?
 ~~~~~~~~~~~~~~~~~~~~~~~~~
 
 By setting the debug flag to ``true`` on the client, you can get a dump
@@ -365,7 +365,7 @@ I am getting ``SyntaxError: Parse error`` in the debug log
 You will only get this error if the script file that is being run by
 PhantomJS has a syntax error. If you are writing your own `custom
 scripts <https://github.com/jonnnnyw/php-phantomjs/blob/master/doc/advanced.rst#custom-phantomjs-scripts>`__
-then try setting the `debug flag <#how-to-i-debug-a-request>`__ which
+then try setting the `debug flag <#how-do-i-debug-a-request>`__ which
 *should* print some more detailed information in the debug log. Also
 check that you aren't setting any parameters to ``null`` in your request
 object as this could be causing a javascript error due to javascript

+ 1 - 1
doc/usage.rst

@@ -149,7 +149,7 @@ A standard response gives you access to the following interface:
 
 If the response contains a status code of 0, chances are the request
 failed. Check the request `debug
-log <https://github.com/jonnnnyw/php-phantomjs/blob/master/doc/troubleshooting.rst#how-to-i-debug-a-request>`__
+log <https://github.com/jonnnnyw/php-phantomjs/blob/master/doc/troubleshooting.rst#how-do-i-debug-a-request>`__
 for more detailed information about what may have gone wrong.
 
 Screen Captures