Jonny Wenmoth 11 лет назад
Родитель
Сommit
8dabaafbd3
2 измененных файлов с 4 добавлено и 4 удалено
  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>`__
 -  `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 screenshot size? <#can-i-set-the-screenshot-size>`__
 -  `Can I set the viewport size? <#can-i-set-the-viewport-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
 -  `I am getting SyntaxError: Parse error in the debug
    log <#i-am-getting-syntaxerror-parse-error-in-the-debug-log>`__
    log <#i-am-getting-syntaxerror-parse-error-in-the-debug-log>`__
 
 
@@ -318,7 +318,7 @@ requests:
     
     
         $client->send($request, $response);
         $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
 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
 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
 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>`__
 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
 *should* print some more detailed information in the debug log. Also
 check that you aren't setting any parameters to ``null`` in your request
 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
 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
 If the response contains a status code of 0, chances are the request
 failed. Check the request `debug
 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.
 for more detailed information about what may have gone wrong.
 
 
 Screen Captures
 Screen Captures